This repository contains two implementations of Retrieval Augmented Generation (RAG):
- RAG using Langchain Library
- RAG using Llamaindex Library
Retrieval Augmented Generation (RAG) combines the strengths of information retrieval and natural language generation. It first retrieves relevant documents and then generates a response based on both the retrieved documents and the original query. This approach leverages the vast knowledge contained in large text corpora to improve the quality of generated responses.
This repository provides two implementations of RAG:
- Langchain Library: A flexible framework for building applications with LLMs using a modular approach.
- Llamaindex Library: An index-centric approach tailored for efficient retrieval and generation.
- Python 3.7 or higher
- Git
git clone https://github.com/pheonixdev/Retrieval-Augmented-Generation.git