Find answers from the community

Updated 2 years ago

Empty node

HI, I am using an SimilarityPostprocessor which have a similarity_cutoff , but when all the nodes have similarity below similarity_cutoff , my query does not send to OpenAI. But I want to send query with empty context so it can answer with models knowledge

Please help how to do this.
L
1 comment
We don't really have support for this in the vector index.

You may need to detect this manually (check response.source_nodes?) And then query using an EmptyIndex. Would be cool to add a feature that handles this though!
Add a reply
Sign up and join the conversation on Discord