Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ async def chat(query,history,sources,reports):
|
|
62 |
search_type="similarity_score_threshold", search_kwargs={"score_threshold": 0.5, "k": 5})
|
63 |
|
64 |
context_retrieved = retriever.invoke(question)
|
65 |
-
print(context_retrieved_lst)
|
66 |
|
67 |
def format_docs(docs):
|
68 |
return "\n\n".join(doc.page_content for doc in docs)
|
|
|
62 |
search_type="similarity_score_threshold", search_kwargs={"score_threshold": 0.5, "k": 5})
|
63 |
|
64 |
context_retrieved = retriever.invoke(question)
|
65 |
+
print("retrieved results:",context_retrieved_lst)
|
66 |
|
67 |
def format_docs(docs):
|
68 |
return "\n\n".join(doc.page_content for doc in docs)
|