Skip to content

Commit 7a4c775

Browse files
Updated prompt
1 parent 131a9e4 commit 7a4c775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/QA_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def QA_RAG(uri,model,userName,password,question,session_id):
250250
- Prioritize directly answering the User Input: {question}.
251251
- Use the Chat History Summary: {chat_summary} to provide context-aware responses.
252252
- Refer to Additional Unstructured Information: {vector_res.get('result', '')} only if it directly relates to the query.
253-
- Cite sources clearly when using unstructured data in your response [Sources: {vector_res.get('source', '')}]. The SOurce must be printed at the last in the format [Source: source1,source2]
253+
- Cite sources clearly when using unstructured data in your response [Sources: {vector_res.get('source', '')}]. The Source must be printed only at the last in the format [Source: source1,source2]
254254
Ensure that answers are straightforward and context-aware, focusing on being relevant and concise.
255255
"""
256256

0 commit comments

Comments
 (0)