From the course: Oracle Cloud Infrastructure Generative AI Professional Cert Prep

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Extending a chatbot by adding  RAG plus memory

Extending a chatbot by adding  RAG plus memory

- [Narrator] In addition to retrieving relevant documents and sending these to the LLM, we also want our chatbot to consider what questions were asked earlier and what responses LLM give as well. For this, we need to pass the chat history to the prompt as well. As we know, we store chat history in memory, so we'll use a type of chain that supports retrieval and memory both. We'll see how do we do this in our next demo.

Contents