Find answers from the community

Home
Members
Hardrion
H
Hardrion
Offline, last seen 3 months ago
Joined September 25, 2024
Hello, What are the reasons when a query engine gives a "Empty response" when i tried to query? i am using MongoDB as a vector store and i use load_index_from_storage to retrieve the index.
13 comments
H
L
Hello everyone, Can anyone tell my why when i change the description of the metadata of my query engine tool it will have an error and when i change it again with different description the error will disappear. Here is the code: The first pic i added the "of Wild Cats Innovation Labs" then the second is i remove them
1 comment
W
Hello everyone, i am trying to store my summary index in a vector store using the storage context but it did not seems to work but using VectorIndex works perfectly well. I am using ChromaDB for my vector store.
13 comments
H
s
L
Hello, i have a question regarding my stored vectors using chromadb, is it only VectorStoreIndex where i can load index from stored vectors?
index = VectorStoreIndex.from_vector_store(
vector_store,
storage_context=storage_context,
service_context=service_context,
)

or is their also other way to achieve this using SummaryIndex or SimpleKeywordTableIndex?
2 comments
H
L
H
Hardrion
·

LLM

Hello everyone, can anyone tell me how to prevent this error or any solution of the error? I just use the subquestion query engine from the documentation and when i try to ask a question unrelated to the document i gave, it causes an error. But then when i query again using the same question it disappears and it just say it does not know(this is what i want), But i do not want this kind of unpredictable error popping off,


ValueError: No valid JSON found in output: This is not a valid example for the given prompt. The user question is not related to the provided tools.

Their are different errors that will be given but mostly about ValueError: No valid JSON found in output
This happens when i try to query that is outside the scope of the vectorstore
3 comments
H
L
I got this code from a youtube and it works just fine but when i try to use sub question query it causes an error and i do not know why
6 comments
L
H