Unexpected behaviour with RAG #1316
Replies: 4 comments 2 replies
-
Try with different models. Also you really should ask questions about your RAG data. since the AI is concentrating on this. |
Beta Was this translation helpful? Give feedback.
-
@bmahabirbu wrote up a decent explanation of what is going on with a AI Model linked to a RAG database versus the same MODEL without the RAG. |
Beta Was this translation helpful? Give feedback.
-
Heres an explanation I did for another issue that was similar! Basically our rag implementations always adds the context of the document regardless of the prompt. So you'll get hallucinations if you ask the ai something that isn't related to the document! |
Beta Was this translation helpful? Give feedback.
-
I'm a bit confused about how to use RAG. Do I need to use a special kind of prompt? I tried to build a database from two PDFs (one about beer glasses and one about feature engineering):
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried a very simple experiment with RAG, and didn't get the results I expected. Can anyone help me explain why this is happening? Is it a bug, or am I thinking about this incorrectly?
(Added new lines for readability). Note the last response starts talking about bananas, and there are multiples responses to the second query.
I always get a reasonable answer to my first question, but the second or third questions tend to become strange. Sometimes it seems to go into a loop, and give me dozens of copies of the same answer. I assume that the previous responses are being added to a history, but this certainly isn't what I expected.
Beta Was this translation helpful? Give feedback.
All reactions