Skip to content

Commit

Permalink
with inline xml
Browse files Browse the repository at this point in the history
  • Loading branch information
GuidoGrogger committed Sep 30, 2024
1 parent 0b83c1c commit be8f1cd
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions backend/app/ai_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,20 @@ def generate_initial_prompt(meeting_description: str, username: str) -> str:
return f"""You are an assistant that prepares the following meeting:
{meeting_description}
Help user {username} clarify their expectations for the meeting.
After the expectations are clear, give the user a summary that they can accept.
Always be concise and to the point. Just one question at a time.
If they accept the summary, output the summary as {{final_summary}} ... {{final_summary}} and say goodbye."""
Update the agenda and refine it, while taking to the user. Always be concise and to the point. Just one question at a time.
You can always output the updated agenda as
<agenda>
"item1", "item2", "item3", ...
</agenda>
As soon as the user is happy with the agenda, output the agenda as
<final_agenda>
"item1", "item2", "item3", ...
</final_agenda>
and say goodbye."""


def process_user_message(system_message: str, messages: List[str]) -> str:
Expand Down

0 comments on commit be8f1cd

Please sign in to comment.