-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
[Bug]: #13586
Comments
To address the "Error: 'NoneType' object has no attribute 'search_batch'" issue you're encountering with qdrant and llamaindex agents, it's crucial to ensure that the Here's how you can troubleshoot and potentially resolve the issue:
By following these steps, you should be able to pinpoint the cause of the error and ensure that your
|
Assuming this is qdrant? Configure the async client
|
Bug Description
Observation: Error: 'NoneType' object has no attribute 'search_batch'
Iam getting this error when iam using qdrant + llamaindex agents
Version
0.10.16
Steps to Reproduce
]
query_engine = SubQuestionQueryEngine.from_defaults(
query_engine_tools=query_engine_tools_,
service_context=service_context,
use_async=False,
llm=function_llm,
verbose=True
)
query_engine_tools = [
QueryEngineTool(
query_engine=query_engine,
metadata=ToolMetadata(
name="qualitative_question_engine",
description=f"""A query engine that can answer qualitative questions about a {doc_name} documents that the user pre-selected for the conversation.""".strip(),
),
),
QueryEngineTool(
query_engine=vector_query_engine,
metadata=ToolMetadata(
name=f"vector_tool",
description=f"Useful for retreiving specific context from {doc_name}.",
),
)
]
await image_links
agent = ReActAgent.from_tools(
query_engine_tools,
llm=function_llm,
verbose=True,
memory=chat_memory,
context=f"""Use the available tools provided when answering a question. Do NOT just blindly make things up about the car unless it is grounded by the retrieved sources.Make sure question is passed as it is in raw form without any translation.""",
max_function_calls=3)
image_res=image_links.result()
return agent,top_sources,image_res,doc_context,chat_memory
while executing this code iam getting error Observation: Error: 'NoneType' object has no attribute 'search_batch'
Iam using qdrant db with async client support
Relevant Logs/Tracbacks
No response
The text was updated successfully, but these errors were encountered: