Skip to content

Commit 493303e

Browse files
authored
Merge pull request #1886 from arc53/copilot/fix-1878
🐛 Fix conversation summary prompt to use user query language
2 parents ae1a6ef + 2a4ec0c commit 493303e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

application/api/answer/routes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,13 @@ def save_conversation(
213213
"role": "assistant",
214214
"content": "Summarise following conversation in no more than 3 "
215215
"words, respond ONLY with the summary, use the same "
216-
"language as the system",
216+
"language as the user query",
217217
},
218218
{
219219
"role": "user",
220220
"content": "Summarise following conversation in no more than 3 words, "
221221
"respond ONLY with the summary, use the same language as the "
222-
"system \n\nUser: " + question + "\n\n" + "AI: " + response,
222+
"user query \n\nUser: " + question + "\n\n" + "AI: " + response,
223223
},
224224
]
225225

0 commit comments

Comments
 (0)