Spaces:
Running
Running
Update model.py
Browse files
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"
|
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 |
)
|