Find answers from the community

Updated last year

Metadata

Hey @Logan M! I was trying to add a metadata filter
service_context = ServiceContext.from_defaults(llm_predictor=llm_predictor,embed_model=embeddings) vector_store = QdrantVectorStore(client=client, collection_name="check") index = VectorStoreIndex.from_vector_store(vector_store=vector_store,service_context=service_context) filters = MetadataFilters(filters=[ExactMatchFilter(key="filename", value=f'{file_name.split("/")[-response_synthesizer = get_response_synthesizer(response_mode=mode,use_async=async_mode,service_context=service_context) query_engine = index.as_query_engine(response_synthesizer=response_synthesizer,similarity_top_k=count,filters=filters) response = query_engine.query(question)


Using a Qdrant vector database running on docker.
Facing the below error when i query the index for few specific questions:
maximum recursion depth exceeded in comparison
L
1 comment
Do you have the full traceback?
Add a reply
Sign up and join the conversation on Discord