Spaces:
Sleeping
Sleeping
farhananis005
commited on
Commit
•
9cb3645
1
Parent(s):
4a37943
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def formatted_response(docs, question, response, state):
|
|
42 |
return state, state
|
43 |
|
44 |
|
45 |
-
def search_docs(prompt, question, state,k):
|
46 |
|
47 |
from langchain_openai import OpenAIEmbeddings
|
48 |
from langchain.vectorstores import FAISS
|
|
|
42 |
return state, state
|
43 |
|
44 |
|
45 |
+
def search_docs(prompt, question, state,k=4):
|
46 |
|
47 |
from langchain_openai import OpenAIEmbeddings
|
48 |
from langchain.vectorstores import FAISS
|