Skip to content

Commit

Permalink
updated integration test
Browse files Browse the repository at this point in the history
mfaizanse committed Jan 16, 2025
1 parent 51ecf1c commit bab138a
Showing 3 changed files with 92 additions and 63 deletions.
20 changes: 12 additions & 8 deletions src/agents/summarization/prompts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
MESSAGES_SUMMARIZATION_PROMPT = """
MESSAGES_SUMMARIZATION_INSTRUCTIONS = """
- Do not hallucinate or add any extra information, troubleshooting steps and recommendations not present in the original conversation.
- Ensure all important information is included.
- Use bullet points to list different points discussed.
- Each bullet point should start with a hyphen (-).
- Prioritize the latest messages.
- Remove duplicate summaries and only keep the latest 10 summaries.
- Be concise and relevant to the original content.
"""

MESSAGES_SUMMARIZATION_PROMPT = f"""
Your task is to summarize the main issues, points or topics discussed in the given chat history.
Your output will be used as context for other LLM agents to respond to user queries.
Therefore, summarize in such a way that is most useful for other agents to understand the chat.
@@ -10,11 +20,5 @@
Step 3: Append the summaries to final output.
Important Instructions:
- Do not hallucinate or add any extra information, troubleshooting steps and recommendations not present in the original conversation.
- Ensure all important information is included.
- You must use bullet points to list different points discussed.
- Each bullet point should start with a hyphen (-).
- Prioritize the latest messages.
- Remove duplicate summaries and only keep the latest 10 summaries.
- Be concise and relevant to the original content.
{MESSAGES_SUMMARIZATION_INSTRUCTIONS}
"""
Loading

0 comments on commit bab138a

Please sign in to comment.