bupa1018 commited on
Commit
fe6b0d2
·
1 Parent(s): 8f5d5d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -202,9 +202,9 @@ def rag_workflow(query):
202
  print(f"Context for the query:\n{context}\n")
203
  print(f"References for the query:\n{references}\n")
204
 
205
- prompt = f"""You are an expert python developer. Provide a clear and consice answer based on the information in the retrieved context.
206
  The retrieved context contains source code and documenation of an api library.
207
- If no related Information is found from the context, reply that you do not know.
208
 
209
  Context:
210
  {context}
 
202
  print(f"Context for the query:\n{context}\n")
203
  print(f"References for the query:\n{references}\n")
204
 
205
+ prompt = f"""You are an expert python developer. Provide a clear and consice answer based only on the information in the retrieved context.
206
  The retrieved context contains source code and documenation of an api library.
207
+ If no related Information is found from the context to answer the query, reply that you do not know.
208
 
209
  Context:
210
  {context}