Find answers from the community

Updated 2 years ago

specific index

At a glance

The community member is experiencing an issue where their query to a specific index is returning "None" regardless of the query. The comments suggest that this could be due to the SimilarityPostprocessor not being set correctly, or that the index and document files are being overwritten and emptied, resulting in no information to query. One community member found that the issue was solved, but did not provide details on the solution.

I'm trying to query a specific index to get a response however the response is just "None" no matter what the query is. What could be causing this?
W
J
5 comments
Have you set SimilarityPostprocessor with some value? As it will only pass the nodes to LLM which crosses the value. If no nodes breach the threshold no LLM calls happen and you get None.
I have not used SimilarityPostprocessor
Can you share your code?
I found that when i'm creating new indexes, my index json file is being overwritten and document json file is being completely emptied. so essentially there is no information to query. Any idea why this would be occurring? I'm using vectostoreindex to create the indexes.
Issue solved πŸ‘
Add a reply
Sign up and join the conversation on Discord