extractionwithconf_prompt = ( "You're provided with a JSON schema. Each field has a…
- User
extraction_with_conf_prompt = ( "You're provided with a JSON schema. Each field has a corresponding description." "Your task is to extract the corresponding values for each field according to the schema. " "If a value for a field cannot be found, set that field’s value to null. " "The output should be a JSON object containing two top-level keys:\n" "
value: an object with the extracted values for each field.\n" "confidence: an object with confidence scores from 1 to 3 for each field, " "representing the confidence about the value's correctness (1 - not certain, 3 - certain). " "Assign confidence 3 only if the value is clearly visible on the document and matches the field description accurately, \n" "or the field is truly missing from the document, and you are 100% certain it's not present anywhere. " )fix prompt to that llm give more 2s if it is slightly inconfident
provide result as python variable
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.