ppsingh commited on
Commit
0103587
1 Parent(s): 389ccff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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