Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -164,10 +164,6 @@ def update_vectors(files, parser):
|
|
164 |
# Analyze document similarity
|
165 |
analyze_document_similarity()
|
166 |
|
167 |
-
# Test document retrieval
|
168 |
-
test_document_retrieval("Tell me about the contents of the 8K filing")
|
169 |
-
test_document_retrieval("What information is in the 10Q report?")
|
170 |
-
|
171 |
except Exception as e:
|
172 |
logging.error(f"Error updating FAISS database: {str(e)}")
|
173 |
return f"Error updating vector store: {str(e)}", display_documents()
|
|
|
164 |
# Analyze document similarity
|
165 |
analyze_document_similarity()
|
166 |
|
|
|
|
|
|
|
|
|
167 |
except Exception as e:
|
168 |
logging.error(f"Error updating FAISS database: {str(e)}")
|
169 |
return f"Error updating vector store: {str(e)}", display_documents()
|