Skip to content
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

Found collection chunks are not sent alongside the user's question when chating with an OpenAI Compatible model #3211

Open
gjactat opened this issue Nov 28, 2024 · 1 comment
Labels
bug-unconfirmed chat gpt4all-chat issues

Comments

@gjactat
Copy link

gjactat commented Nov 28, 2024

Bug Report

Despite being found and displayed, the LocalDocs collection chunks are not sent alongside the user's question when chating with an OpenAI Compatible model (aka external model).

Steps to Reproduce

  1. Create a LocalDocs collection and add a few documents
  2. Add an OpenAI compatible model (in my case, it was an Ollama server running "llama3.2:3b-instruct-q4_0")
  3. Chat with that external model : While sources have been found, they are not part of any message sent to Ollama (checked via reverse proxy). As a result, the answer is not grounded to the LocalDocs collection.

Expected Behavior

The relevant chunks found in the LocalDocs should be sent alongside the user query to produce a grounded answer.
I should also mention that as soon as I switch the model to a "locally installed" model, the chunks are leveraged.

Maybe there is some kind of mechanism that strips the chunks from the message for security reasons ? Or perhaps is it related to differences in model config files ?

Your Environment

  • GPT4All version: 3.4.2
  • Operating System: Windows 11
  • Chat model used (if applicable): "llama3.2:3b-instruct-q4_0" (served by Ollama)
@gjactat gjactat added bug-unconfirmed chat gpt4all-chat issues labels Nov 28, 2024
@SINAPSA-IC
Copy link
Contributor

If you open your localdocs database with the LocalDocs Inspector you may search there easily (no SQL required) for particular chunks of text that you're interested in, maybe they're not in there at all, or they are in there but not processed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-unconfirmed chat gpt4all-chat issues
Projects
None yet
Development

No branches or pull requests

2 participants