Skip to content

Commit

Permalink
Fix system prompt associated to condense_question_prompt for English and
Browse files Browse the repository at this point in the history
French
  • Loading branch information
michel-heon committed Oct 29, 2024
1 parent 2f9ef99 commit 6369e8d
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ class Language(Enum):
),
# Prompt for rephrasing a follow-up question to be a standalone question
"condense_question_prompt": (
"Given the conversation inside the tags <conv></conv>, rephrase the follow "
"up question inside <followup></followup> to be a standalone question."
"Given the following conversation and a follow up"
" question, rephrase the follow up question to be a standalone question."
),
"current_conversation_word": "Current conversation",
"question_word": "Question",
Expand Down Expand Up @@ -74,9 +74,8 @@ class Language(Enum):
# Prompt for rephrasing a follow-up question to be a
# standalone question (French-Canadian)
"condense_question_prompt": (
"En vous basant sur la conversation à l'intérieur des balises "
"<conv></conv>, reformulez la question de suivi trouvée à l'intérieur de "
"<followup></followup> pour qu'elle soit une question autonome."
"Avec la conversation ci-dessous et la question de suivi, "
"reformulez la question de suivi de manière à ce qu'elle soit une question autonome."
),
"current_conversation_word": "Conversation en cours",
"question_word": "Question",
Expand Down

0 comments on commit 6369e8d

Please sign in to comment.