zylon-ai / private-gpt

Interact with your documents using the power of GPT, 100% privately, no data leaks
https://docs.privategpt.dev
Apache License 2.0
53.08k stars 7.13k forks source link

How to improve accuracy of answers? #1964

Closed mjung8 closed 1 week ago

mjung8 commented 1 month ago

Looking for help in understanding how this works and what's going on.

I'm using the recommended Ollama configuration.

What did I do wrong that I'm getting these incorrect answers? Or what do I not understand about how PrivateGPT works and what it means about the 'provided context'?

Please see attached images.

Both Taco Bell and descriptions for the character Senna are on Page 2. As mentioned above, maybe I have the wrong idea of how this is supposed to work but these responses are not what I'm looking for.

Screenshot 2024-06-07 at 01-46-30 My Private GPT

This is from the source document. chapter 1

I don't think this is the right approach but I looked in the database for what the data looks like and it's like this - using DB Browser for SQLite, exporting the .bin, using a converter.

chapter 1 - 1

Thank you.

jaluma commented 2 weeks ago

This is very relative. Part of the difficulty of create a RAG application is that each domain and files have a different scope. In theory, the setup is well configured, but you will need to make adjustments to achieve better results. Here are some ideas I propose: