Hello everyone!
Does anyone have any suggestions on how to resolve this error? I'm trying to enable my Discord bot to access a vector index in Qdrant and respond to questions about it.
async def process_with_llm(query):
query_engine_tools = [
QueryEngineTool(
query_engine=index,
metadata=ToolMetadata(
name="charlie_munger",
description=(
"Provides information about Charlie Munger. "
"Use a detailed plain text question as input to the tool."
),
),
),
]
agent = OpenAIAgent.from_tools(query_engine_tools, verbose=True)
response = agent.query(query)
return response
Got output: Error: 'VectorStoreIndex' object has no attribute 'query'