diff --git a/src/extensions/vectorstores/QueryQdrant.py b/src/extensions/vectorstores/QueryQdrant.py index a7a63e3..b064284 100644 --- a/src/extensions/vectorstores/QueryQdrant.py +++ b/src/extensions/vectorstores/QueryQdrant.py @@ -132,7 +132,7 @@ def transform(self, context, flowfile): results = vector_store.similarity_search_with_score( query=query, k=num_results, - filter=None if filter is None else json.loads(filter_definition), + filter=None if filter_definition is None else json.loads(filter_definition), ) documents = []