If you find this repository helpful, please consider giving it a star⭐️
Welcome to RAGPro, a comprehensive repository dedicated to mastering Retrieval-Augmented Generation (RAG) systems. From foundational concepts to advanced implementations, this repo provides curated resources, code examples, and practical guides to help you excel in building intelligent, knowledge-enhanced AI systems.
- Features
- Advanced RAG Techniques
- Agentic RAG Techniques
- Installation
- Usage
- Tech Stack
- Contributing
- License
- Contact
- Comprehensive Coverage: From basic RAG concepts to advanced and agentic techniques.
- Hands-On Notebooks: Colab-ready examples for quick experimentation.
- Cutting-Edge Tools: Implementations using LangChain, Hugging Face, Pinecone, ChromaDB, and more.
- Real-World Applications: Practical use cases for question-answering, document retrieval, and conversational AI.
- Community-Driven: Designed for ease of contribution and collaboration.
# Clone the repository
git clone https://github.com/aliarmaghan/RAGPro.git
cd RAGPro
# Install dependencies
pip install -r requirements.txt
# Set environment variables
export OPENAI_API_KEY="your-api-key"
export GROQ_API_KEY="your-groq-api-key"from langchain.chains import RetrievalQA
# Initialize your RAG pipeline
qa_chain = RetrievalQA.from_chain_type(
llm=OpenAI(),
chain_type="stuff",
retriever=vector_store.as_retriever()
)
# Execute query
response = qa_chain.run("What is the difference between AI and ML?")
print(response)- Core AI: OpenAI GPT, LangChain, Hugging Face
- Vector Databases: Pinecone, ChromaDB, FAISS
- APIs: Groq API, CrewAI
- Frameworks: FastAPI, Streamlit
- Deployment: Docker, Streamlit Cloud
We welcome contributions! Follow these steps:
- Fork the repository.
- Create your feature branch:
git checkout -b feature/amazing-feature. - Commit your changes:
git commit -m 'Add amazing feature'. - Push to the branch:
git push origin feature/amazing-feature. - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
