Abdulrahman1407 commited on
Commit
3f41f4e
·
1 Parent(s): 71a5161

Change kwargs

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ def answer(user_input: str):
130
  prompt = PIPELINE["prompt"]
131
 
132
  try:
133
- docs = vectorstore.similarity_search(question, k=50, namespace="qanon")
134
  except Exception as e:
135
  return f"⚠️ خطأ أثناء الاسترجاع من Pinecone: {e}"
136
 
 
130
  prompt = PIPELINE["prompt"]
131
 
132
  try:
133
+ docs = vectorstore.similarity_search(question, k=10, namespace="qanon")
134
  except Exception as e:
135
  return f"⚠️ خطأ أثناء الاسترجاع من Pinecone: {e}"
136