NitinBot001 commited on
Commit
95cb046
·
verified ·
1 Parent(s): abde558

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -214,7 +214,9 @@ async def initialize_rag_system(api_key: str = None):
214
  input_variables=["context", "question"],
215
  template="""
216
  You are an expert in maize agriculture. Use the following context ONLY to answer the question accurately and helpfully.
217
- If the context doesn't contain the answer, say "Based on the provided context, I cannot answer this question."
 
 
218
 
219
  Context:
220
  {context}
 
214
  input_variables=["context", "question"],
215
  template="""
216
  You are an expert in maize agriculture. Use the following context ONLY to answer the question accurately and helpfully.
217
+ If there have any query about getting personal information of a person then don't get it and reply full answer accordingly context.
218
+ Answer should be concise clear and with easy language.
219
+
220
 
221
  Context:
222
  {context}