Spaces:
Sleeping
Sleeping
carlosgonzalezmartinez
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -144,8 +144,8 @@ Here are some documents that are relevant to the question.
|
|
144 |
|
145 |
def predict(user_input,company):
|
146 |
|
147 |
-
filter = "Dataset-10k/"+company+"-10-k-2023.pdf"
|
148 |
-
relevant_document_chunks = vectorstore_persisted.similarity_search(user_input, k=5
|
149 |
|
150 |
# Create context_for_query
|
151 |
|
|
|
144 |
|
145 |
def predict(user_input,company):
|
146 |
|
147 |
+
#filter = "Dataset-10k/"+company+"-10-k-2023.pdf"
|
148 |
+
relevant_document_chunks = vectorstore_persisted.similarity_search(user_input, k=5)
|
149 |
|
150 |
# Create context_for_query
|
151 |
|