Find answers from the community

Updated 2 months ago

Hello I wanted to know why in some cases

Hello, I wanted to know why in some cases the chat does not respond to me with the information from the vector store even when I know that the information I am looking for is within the vector store. Only in some cases is it like it doesn't find that information and doesn't pass it on to the chat to give me a correct answer.

Thanks in advance
T
F
3 comments
Correct me if I'm wrong but sounds like the vector search isn't always finding the right context? You can print out the retrieved source nodes with
Plain Text
print(response.source_nodes)

to see what context it's finding from your vector db
There are some parameters you can also try tweaking like similarity_top_k and see whether it improves the ability to find the right context
I believe that beacuse i am passing a lot of information in the System prompt, its not querying the vector search.
Add a reply
Sign up and join the conversation on Discord