Find answers from the community

s
F
Y
a
P
Updated 3 months ago

Hi - Question - How do I handle a use

Hi - Question - How do I handle a use case where search in vector db does not return any nodes and results in essentially empty context. I would like to interecept the call and not make LLM call. Is there an api I can use
W
a
4 comments
Hi, When nodes are returned empty I dont think there are any llms calls. Before making any llms calls it is checked if nodes are present or not.
It still goes ahead make a completion call
says 0 nodes I would imagine it would return from there but does not. May be I am missing something
Add a reply
Sign up and join the conversation on Discord