Retrieval Augmented
Generation
Instructor
Kunal Jain
Founder and CEO, Analytics Vidhya
Why RAG? The knowledge of ChatGPT
is not up to date.
Why RAG?
Recent news
Why RAG?
Enterprise data
Training data includes information available up
to January 2022
How do we enable the external knowledge to
ChatGPT?
What is RAG?
Ingest custom knowledge into the LLMs.
External LLM User
Knowledge
What is RAG?
Ingest custom knowledge into the LLMs.
Structured External Unstructured
Data Knowledge Base Data
Semi Structured Data
Use cases Build QA systems on your enterprise data
of RAG
Use cases Build QA systems on your enterprise data
of RAG Chatbots on your enterprise data
How to build RAG applications?
How does RAG work?
Retrieval Generator
Retriever
Retrieve the relevant documents based on the input query from external knowledge.
Retrieval Algorithm
Query
Query Relevant
Documents
External Knowledge
How
Generator
does RAG work?
Query+Relevant Response
Documents
LLM
How does RAG work?
Query +
Relevant
Query Documents Response
Relevant LLM
Query Documents
External Knowledge
No Model Training
No Compute Resources
Pros Only external knowledge is required
Size of the Knowledge base
Minimal cost
Limited External Knowledge
Cons Wrong Outputs
Hallucinations
Thank You