Spaces:
Sleeping
Sleeping
File size: 646 Bytes
28dae0c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
def reconcile_documents(text1: str, text2: str) -> str:
"""Compares two text documents and identifies differences using LLM analysis.
Args:
text1: First document text
text2: Second document text
"""
prompt = f"""Perform detailed comparison of these two documents:
Document 1:
{text1}
Document 2:
{text2}
Identify and list:
1. Numerical discrepancies
2. Missing information
3. Formatting differences
4. Semantic contradictions
Final verdict: Are these documents substantially equivalent?"""
return f"Comparison request queued: {prompt[:200]}..." |