ppsingh commited on
Commit
ab2a807
·
1 Parent(s): 7512809
Files changed (1) hide show
  1. utils/retriever.py +1 -1
utils/retriever.py CHANGED
@@ -203,7 +203,7 @@ def get_context(
203
  # limit=top_k,
204
  # with_payload=True)
205
  # filter support for QdrantVectorStore
206
- #if isinstance(vectorstore, QdrantVectorStore):
207
  filter_obj = create_filter(filter_metadata)
208
  if filter_obj:
209
  search_kwargs["filter"] = filter_obj
 
203
  # limit=top_k,
204
  # with_payload=True)
205
  # filter support for QdrantVectorStore
206
+ if isinstance(vectorstore, QdrantVectorStore):
207
  filter_obj = create_filter(filter_metadata)
208
  if filter_obj:
209
  search_kwargs["filter"] = filter_obj