How does it work?
Successful retrieval
Here should be a diagram. Javascript enabled?
A user request may look like this:
Open the door!
A prompt sent to the Large Language Model (LLM) may look similar to this, then:
You answer user questions. A user always sends snippets with information before the actual question. The snippets help to answer the user question. Provide the information without saying from which snippet it is. If you don't know the answer, just say that you don't know. Don't try to make up an answer.
<snippet>
How to open a door
Take key
Unlock door
Press door handle
Push door open
Source: HAL 9000 User Manual
</snippet>
If using information from the snippets you must repeat that information and the sources instead of refering to the snippet. You may use Markdown to hightlight important details.
Question: Open the door!
Unsuccessful retrieval
A user request may look like this:
How do I use a laser cannon?
Assuming that there is no text snippet describing the usage of laser cannons in the vectorstore, a generic response may look like this:
I am unable to provide a useful answer. Can you please rephrase your query?