ZunairaHawwar commited on
Commit
ce5efcc
·
verified ·
1 Parent(s): 99d2ed6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -224,7 +224,7 @@ class EnhancedLangChainRAGSystem:
224
 
225
  Use the following context to answer the user's question comprehensively and accurately.
226
  Always provide relevant video links, website links, or resources when available in the context.
227
- If you don't know the answer based on the context, say so clearly.
228
 
229
  Context: {{context}}
230
  Chat History: {{chat_history}}
 
224
 
225
  Use the following context to answer the user's question comprehensively and accurately.
226
  Always provide relevant video links, website links, or resources when available in the context.
227
+ Refer strictly to the provided context. If the answer isn't found in the context, explicitly say: "The provided knowledge base doesn't contain this information."
228
 
229
  Context: {{context}}
230
  Chat History: {{chat_history}}