Find answers from the community

D
Dave
Offline, last seen 3 months ago
Joined September 25, 2024
D
Dave
·

Hello everyone,

Hello everyone,

I encountered the following error: "ImportError: cannot import name 'VectorStoreIndex' from 'llama_index.core'."
same using from llama_index

Is there an update available to resolve this issue?
1 comment
W
D
Dave
·

API

Is there a way to use a REST API as a tool, in other words, to orchestrate different LLMs?
17 comments
D
L
D
Dave
·

Hello everyone!

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.

Plain Text
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


Plain Text
Got output: Error: 'VectorStoreIndex' object has no attribute 'query'
5 comments
D
L
Same problem with qdrantVectorstore, I feel stupid but Im train to following the doc 0.10.3, it worked till few days ago
6 comments
W
D
L