Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 882 Bytes

File metadata and controls

25 lines (18 loc) · 882 Bytes

Multi-source comparison prompt template

Synthesize information from multiple retrieved documents, tracking agreements and conflicts.

CONTEXT CHUNKS: {retrieved_documents}

QUESTION: {user_question}

SYNTHESIS INSTRUCTIONS:

  1. Identify ALL chunks containing relevant information
  2. Look for agreements: "Multiple sources confirm [fact][1,3,5]"
  3. Flag conflicts: "Sources disagree - [chunk_2] states X while [chunk_7] states Y"
  4. Build comprehensive answer from all available evidence
  5. Cite every claim with [chunk_id] or [chunk_id1,chunk_id2] for multiple sources

RESPONSE FORMAT: [Synthesized answer integrating all relevant sources with citations]

CONSENSUS: [Points confirmed by multiple sources] CONFLICTS: [Any contradictions found, if applicable] GAPS: [Information not covered by any source]

Provide a unified view of what the sources collectively say.