Find answers from the community

C
CamJN
Offline, last seen 3 months ago
Joined September 25, 2024
It seems that something changed in llamaindex (I think this: https://github.com/run-llama/llama_index/pull/14885) and now I get ValueError: Expected at least one tool call, but got 0 tool calls. from every query. What am I supposed to be doing? The changelog doesn't mention a migration path to fix your code.
18 comments
L
C
if I previously ran
Plain Text
def index_from_nodes(client:WeaviateClient, nodes: List[Node], index_name:str) -> VectorStoreIndex:
    vector_store = WeaviateVectorStore(weaviate_client = client, index_name = index_name)
    storage_context = StorageContext.from_defaults(vector_store = vector_store)
    return VectorStoreIndex(nodes = nodes, storage_context = storage_context)

is there a way to know that I already created and populated that index given the index_name?
2 comments
L
C
How does one replace the contents of TEXT_QA_SYSTEM_PROMPT? Looking at the docs, I can only see how to replace the response_synthesizer:text_qa_template which comes later
2 comments
C
L
C
CamJN
·

example.py

Can someone help me out? I'm trying to import some ocr output into weaviate and then run queries on it, however after getting the data in, every query comes back as Empty response minimized gist here https://gist.github.com/cam-narzt/27b15754de1ae07fa1f49589fc30e616 and thanks in advance to anyone that takes a look
99 comments
L
C
t