VyLala commited on
Commit
408a8e3
·
verified ·
1 Parent(s): 45442c6

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -1245,7 +1245,7 @@ def query_document_info(query_word, alternative_query_word, metadata, master_str
1245
  f"If the text does not specify ancient or archaeological context, assume 'modern'. "
1246
  f"Provide only {output_format_str}. "
1247
  f"If any information is not explicitly present, use the fallback rules above before defaulting to 'unknown'. "
1248
- f"If the {explain_list} is not 'unknown', write 1 sentence after the output explaining how you inferred it from the text (one sentence for each)."
1249
  f"\n\nText Snippets:\n{context_for_llm}\n\n"
1250
  f"Output Format: {output_format_str}"
1251
  )
 
1245
  f"If the text does not specify ancient or archaeological context, assume 'modern'. "
1246
  f"Provide only {output_format_str}. "
1247
  f"If any information is not explicitly present, use the fallback rules above before defaulting to 'unknown'. "
1248
+ f"For each non-'unknown' field in {explain_list}, write one sentence explaining how it was inferred from the text (one sentence for each)."
1249
  f"\n\nText Snippets:\n{context_for_llm}\n\n"
1250
  f"Output Format: {output_format_str}"
1251
  )