Spaces:
Sleeping
Sleeping
Commit ·
3f41f4e
1
Parent(s): 71a5161
Change kwargs
Browse files
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=
|
| 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 |
|