3 ms·
At a fundamental level, all you need to know is: - Read in the user's input - Use that to retrieve data that could be useful to an LLM (typically by doing a p
by turnsout 2y ago
At a fundamental level, all you need to know is:
- Read in the user's input
- Use that to retrieve data that could be useful to an LLM (typically by doing a pretty basic vector search)
- Stuff that data into the prompt (literally insert it at the beginning of the prompt)
- Add a few lines to the prompt that state "hey, there's some data above. Use it if you can."