New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: AttributeError: 'NoneType' object has no attribute 'search' #13391
Comments
The error you're encountering, To address this, ensure that both If after checking these aspects the issue persists, it would be helpful to have more details on how
|
You are using qdrant I'm guessing? Provide the async client
Note that if using |
Hi @logan-markewich import qdrant_client however can you please tell me why I was getting the error in the first place. |
That warning is fine Qdrant supports both async and sync operations. Some features use async, and need the async client |
ok thank you @logan-markewich |
Question Validation
Question
I am using QueryFusionRetriever
`from llama_index.core.retrievers import QueryFusionRetriever
retriever = QueryFusionRetriever(
[vector_retriever, bm25_retriever],
similarity_top_k=4,
num_queries=4,
mode="reciprocal_rerank",
verbose=True,
)`
`from llama_index.core.postprocessor import (
MetadataReplacementPostProcessor,
SimilarityPostprocessor,
)
from llama_index.core.postprocessor import SentenceTransformerRerank
from llama_index.core.query_engine import RetrieverQueryEngine
query_engine = RetrieverQueryEngine.from_args(retriever,
node_postprocessors=[
MetadataReplacementPostProcessor(target_metadata_key="window"),
SentenceTransformerRerank(
model="BAAI/bge-reranker-base"
)
],
)`
after that I am asing a query
response = query_engine.query("what are requimenets to submit the tender")
however I am facing an error AttributeError: 'NoneType' object has no attribute 'search'
it is coming from the engine_query
Can anyone please help me out why I am getting this error
The text was updated successfully, but these errors were encountered: