-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting "No relevant documents to query." one every prompt #447
Comments
Hi, if I run:
and have an existing database for UserData, I don't see the same problem: However, there is a change in behavior, so that before if it didn't find relevant documents the LLM would still be allowed to respond. But others, and I agree, suggested it's better to not let the LLM respond if have chosen a DB. If really want the LLM to say something, should switch to ChatLLM or LLM in the UI instead of choosing UserData or MyData. So either your documents really are irrelevant, or something else is wrong. To test, you can change in gen.py:
to
So there is no relevance cut, everything will be considered relevant. |
@pseudotensor Thanks, indeed there was not related to DB question, but I expected to behave the same , like in the past. IMHO, the previous behaviour was more correct :) |
I can certainly make it an option. |
Thanks, that would be great. |
Added option |
Hi,
Using --langchain_mode='UserData' generated from CSV file by make_db.py and recently (after I pulled all the changes) I started to get "No relevant documents to query." on every prompt. Yesterday everything was working fine.
When switching to "ChatLLM" or "LLM" it's working fine.
Please advise.
Thanks
The text was updated successfully, but these errors were encountered: