Skip to content

hereandnowai/hands-on-rag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HERE AND NOW AI Logo

Hands-on RAG (Retrieval-Augmented Generation)

"AI is Good"

Welcome to Hands-on RAG, a comprehensive guide and repository for building, understanding, and implementing Retrieval-Augmented Generation systems. This project explores everything from simple chatbots with memory to advanced RAG implementations using vector databases and Model Context Protocol (MCP).


🏢 About HERE AND NOW AI

HERE AND NOW AI is dedicated to making AI accessible, impactful, and ethical. We believe that AI can be a force for good in the world, and we're committed to building tools and sharing knowledge that reflect that.


🚀 Key Features

  • Simple Chatbot: Basic LLM interaction.
  • Memory Systems: Chatbots that remember context and previous interactions.
  • System Prompt RAG: Implementing RAG logic directly within system instructions.
  • Raw Document Processing: Extracting knowledge directly from PDFs.
  • Vector Database Integration: Using FAISS for efficient similarity search and retrieval.
  • MCP Compatibility: Designed to work within the Model Context Protocol ecosystem.

📂 Project Structure

  • 1-simple_chatbot.py: Basic chatbot implementation.
  • 2-chatbot-with-memory copy.py: Chatbot with conversation history.
  • 3-rag-from-system-prompt.py: RAG logic via system prompts.
  • 4-rag-from-raw-pdf copy.py: PDF knowledge extraction.
  • 5-rag-from-vectordb.py: Advanced RAG with FAISS vector database.
  • faiss_mcp_index/: Local FAISS index files.

🛠️ Getting Started

Prerequisites

  • Python 3.8+
  • API keys for your preferred LLM provider.

Installation

git clone https://github.com/hereandnowai/hands-on-rag.git
cd hands-on-rag
pip install -r requirements.txt

📄 License

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


🤝 Connect with Us

We’re building the future of AI, and we’d love for you to be a part of it.

Follow our Journey


Created with ❤️ by HERE AND NOW AI

About

Comprehensive guide and repository for building, understanding, and implementing Retrieval-Augmented Generation (RAG) systems with Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors