awinml commited on
Commit
8046e72
1 Parent(s): bd1cd80

Upload 16 files

Browse files
Files changed (1) hide show
  1. utils/retriever.py +0 -5
utils/retriever.py CHANGED
@@ -26,9 +26,6 @@ def query_pinecone(
26
  else:
27
  participant = "Question"
28
 
29
- # Create filter dictionary based on keywords
30
- filter_dict = [{"Keywords": word} for word in keywords]
31
-
32
  if year == "All":
33
  if quarter == "All":
34
  if indices != None:
@@ -287,8 +284,6 @@ def query_pinecone_sparse(
287
  else:
288
  participant = "Question"
289
 
290
- # Create filter dictionary based on keywords
291
- filter_dict = [{"Keywords": word} for word in keywords]
292
 
293
  if year == "All":
294
  if quarter == "All":
 
26
  else:
27
  participant = "Question"
28
 
 
 
 
29
  if year == "All":
30
  if quarter == "All":
31
  if indices != None:
 
284
  else:
285
  participant = "Question"
286
 
 
 
287
 
288
  if year == "All":
289
  if quarter == "All":