This image illustrates a potential RAG workflow including the following five primary
steps:
- A user interface, usually in the form of a ChatBot, enables a dialog with an
LLM.
- To improve the quality of the answers, search your private business data for the
most relevant facts to pass to the LLM.
- Format the similarity search results as a prompt and context for the LLM.
- Using up to date facts as input to LLMs minimizes the probability of the LLM
hallucinating.
- The high quality responses are returned to the ChatBot.