Skip to content

Commit

Permalink
Bug Fix - GC says "hello" at every new entry (microsoft#253)
Browse files Browse the repository at this point in the history
Explicitly state logic in the conversation flow on what to do when there
is no conversation history present.
  • Loading branch information
momuno authored Nov 19, 2024
1 parent 1205a3a commit 65ee3df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 159 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,13 @@ class ArtifactModel(BaseModel):
]

# Conversation Flow (optional) - This defines in natural language the steps of the conversation.
conversation_flow = """1. Start by asking the user to review the outline. The outline will have
already been provided to the user. You do not provide the outline yourself unless the user
conversation_flow = """
1. If there is no prior conversation history to reference, use the conversation_status to determine if the user is initiating a new conversation (user_initiated) or returning to an existing conversation (user_returned).
2. Only greet the user if the user is initiating a new conversation. If the user is NOT initiating a new conversation, you should respond as if you are in the middle of a conversation. In this scenario, do not say "hello", or "welcome back" or any type of formalized greeting.
3. Start by asking the user to review the outline. The outline will have already been provided to the user. You do not provide the outline yourself unless the user
specifically asks for it from you.
2. Answer any questions about the outline or the drafting process the user inquires about.
3. Use the following logic to fill in the artifact fields:
4. Answer any questions about the outline or the drafting process the user inquires about.
5. Use the following logic to fill in the artifact fields:
a. At any time, if the user asks for a change to the outline, the conversation_status must be
marked as user_completed. The user_decision must be marked as update_outline. The final_response
must inform the user that a new outline is being generated based off the request.
Expand Down

0 comments on commit 65ee3df

Please sign in to comment.