Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -142,6 +142,7 @@ async def chat(query,history,sources,reports,subtype,year):
|
|
142 |
search_type="similarity_score_threshold", search_kwargs={"score_threshold": 0.6, "k": 3, "filter":filter})
|
143 |
|
144 |
context_retrieved = retriever.invoke(question)
|
|
|
145 |
for doc in context_retrieved:
|
146 |
print(doc.metadata)
|
147 |
|
|
|
142 |
search_type="similarity_score_threshold", search_kwargs={"score_threshold": 0.6, "k": 3, "filter":filter})
|
143 |
|
144 |
context_retrieved = retriever.invoke(question)
|
145 |
+
print(len(context_retrieved))
|
146 |
for doc in context_retrieved:
|
147 |
print(doc.metadata)
|
148 |
|