Filtering by metadata: what if no docs found? I want no hallucinations. #1141
Unanswered
artemdzyuba
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Supabase-powered Conversational Retrieval QnA chain with a System message.
When metadata-filtered search returns no documents, the chatflow starts hallucinating. And I guess it's coming from the System message where his personality is given. I tried to add " If the question requires knowledge that are not found in the documents or if you didn't find any document, reply 'Sorry, I don't know' ". But that doesn't work.
Beta Was this translation helpful? Give feedback.
All reactions