RAG
up: LLMs ⚐ Retrieval Augmented Generation. This is best to provide a knowledge base.
- LlamaCloud
- relevance.ai
- Vector databases
Set up RAG
- Vectorise the source data
- I think LlamaIndex can do that with the CSV loader
- Do a similarity search
- Get the relevant docs
- Pass docs to LLM and Prompts
- Prompt example: “Here is a message I received: {{message}}. These are best practices how we would normally respond: {{retrievedDocs}}. Write the best response that I should send.”
- Execute RAG