Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


LinkedIn  Twitter  Instagram  Share on Twitter  Star on GitHub

If you find this repository helpful, please consider giving it a star⭐️

RAGPro 🚀

RAGPro Banner

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.

📚 Table of Contents

🚀 Key Features

  • 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.


⚡ Installation

# 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"

💻 Usage

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)

🛠️ Tech Stack

  • Core AI: OpenAI GPT, LangChain, Hugging Face
  • Vector Databases: Pinecone, ChromaDB, FAISS
  • APIs: Groq API, CrewAI
  • Frameworks: FastAPI, Streamlit
  • Deployment: Docker, Streamlit Cloud

🤝 Contributing

We welcome contributions! Follow these steps:

  1. Fork the repository.
  2. Create your feature branch: git checkout -b feature/amazing-feature.
  3. Commit your changes: git commit -m 'Add amazing feature'.
  4. Push to the branch: git push origin feature/amazing-feature.
  5. Open a pull request.

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

📧 Contact

Md Ali Armaghan
Email
LinkedIn

About

RAGPro is a comprehensive repository dedicated to mastering RAG systems, from foundational concepts to advanced implementations. If you're looking to optimize and scale your models, this repo provides curated resources, code examples, and practical guides to help you excel in building intelligent, knowledge-enhanced AI systems.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages