carlosgonzalezmartinez commited on
Commit
2952d0a
·
verified ·
1 Parent(s): 36c80d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, filter={"source":filter})
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