Windows 11 & Python 3.11.0 & Node.js v16.20.2
This repository contains a demo showcasing the implementation of the RAG (Retrieval Augmented Generation) pattern using Pinecone DB and LangChain. The RAG pattern combines retrieval-based and generative-based approaches to natural language processing, enhancing text generation capabilities.
- Implemented routing
- Implemented multi queries
- Implemented query translation : stepback, rewriting, HyDE, sub-query decomposition
- Implemented adaptive retrieval
- Implemented reranking
- Implemented Self-RAG
- Implemented CRAG
- Trying to make raptor ..
- Python environment with LangChain installed.
- Basic knowledge of Vectorstore and natural language processing concepts.
- Follow the steps provided in the README file.
- Step 1 - Create FastAPI to integrate LangChain RAG pattern with web front-end.
- Step 2 - Build the React web front-end to ask 'grounded' questions of your data and view relevant documents.
- Follow the setup instructions provided in the README file.
- Run the demo application and explore the RAG pattern in action.
This project is licensed under the MIT License, granting permission for commercial and non-commercial use with proper attribution.
This demo application is provided for educational and demonstration purposes only. Use at your own risk.