Skip to content

Commit b1207f9

Browse files
committed
feat: improved synthesis format
- New sections: Bottom Line, Key Insight, The Answer, Important Caveats - Quality requirements for direct, memorable, actionable answers - Sample scripts for communication/negotiation questions
1 parent 81fc05f commit b1207f9

2 files changed

Lines changed: 37 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818
- Now uses local-first priority: local `.env` if present, otherwise global `~/.quorum/.env`
1919
- Prevents confusing merged model lists when running from different project directories
2020

21+
- **Improved Synthesis Format** - More actionable and structured output
22+
- New sections: Bottom Line, Key Insight, The Answer, Important Caveats
23+
- Quality requirements ensure direct, memorable, and specific answers
24+
- For communication questions, includes sample scripts to adapt
25+
2126
### Fixed
2227

2328
- **Phase 4 Insight Preservation** - Final positions now include full discussion context

src/quorum/agents.py

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -743,34 +743,50 @@ def get_standard_discussion_prompt(
743743
# =============================================================================
744744
SYNTHESIS_PROMPT = """{language_instruction}
745745
746-
You are synthesizing the results of an AI-to-AI discussion.
746+
You are synthesizing an AI-to-AI discussion into a clear, actionable answer.
747747
748748
THE ORIGINAL QUESTION:
749749
{original_question}
750750
751751
FINAL POSITIONS FROM ALL {num_participants} MODELS:
752752
{all_positions}
753753
754-
Your task:
755-
1. Determine if there is consensus among the models
756-
2. Write a comprehensive synthesized answer using proper markdown formatting
757-
3. Note any significant differences between positions
754+
Your goal: Create a synthesis MORE USEFUL than any single answer.
758755
759756
Format your response EXACTLY as:
757+
760758
CONSENSUS: [YES/PARTIAL/NO]
761-
SYNTHESIS: [Write a well-structured answer using markdown:
762-
- Use ## headers for main sections
763-
- Use **bold** for key points
764-
- Use bullet points for lists
765-
- Be thorough but concise]
766-
DIFFERENCES: [Any notable disagreements or nuance differences, or "None" if full consensus]
767759
768-
Guidelines:
769-
- YES = All models fundamentally agree on the core answer
770-
- PARTIAL = Models agree on main points but differ on details or emphasis
771-
- NO = Models have substantially different positions
760+
SYNTHESIS:
761+
762+
## Bottom Line
763+
[1-2 sentences. Directly answer: what should they do/know/conclude?]
764+
765+
## Key Insight
766+
[The single most valuable idea from the discussion. Make it quotable and memorable.]
767+
768+
## The Answer
769+
[Structured response with specifics:
770+
- For decisions: numbered action steps with thresholds/conditions
771+
- For explanations: key concepts in logical order
772+
- For comparisons: clear recommendation with reasoning
773+
Include concrete numbers, examples, or criteria where relevant]
774+
775+
## Important Caveats
776+
[When this doesn't apply, edge cases, or critical nuances. Keep brief.]
777+
778+
DIFFERENCES: [Notable disagreements, or "None - strong consensus"]
779+
780+
QUALITY REQUIREMENTS:
781+
- Bottom Line: Direct and decisive, not wishy-washy
782+
- Key Insight: Something they'll remember and quote
783+
- The Answer: Specific and actionable, not generic advice
784+
- If the question involves communication/negotiation, include a sample script or response they can adapt
772785
773-
Be objective and accurate in your assessment."""
786+
Consensus guidelines:
787+
- YES = Fundamental agreement on core answer
788+
- PARTIAL = Agree on main points, differ on details
789+
- NO = Substantially different positions"""
774790

775791

776792

0 commit comments

Comments
 (0)