Metadata-Version: 2.4
Name: chatbot-rag
Version: 0.1.5
Summary: ChatBot with Retrieval Augmented Generation
Author: Wilhelm David Buitrago Garcia
Project-URL: Homepage, https://github.com/WilhelmBuitrago/ChatBot-RAG.git
Keywords: RAG,ChatBot,Retrieval Augmented Generation,LLM,Language Model,NLP,Natural Language Processing
Classifier: Development Status :: 3 - Alpha
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: ollama==0.5.1
Requires-Dist: chromadb==1.0.12
Requires-Dist: langchain==0.3.25
Requires-Dist: langchain-community==0.3.24
Requires-Dist: pdfplumber==0.11.6
Requires-Dist: sentence_transformers==4.1.0
Dynamic: license-file

# ChatBot-RAG

A powerful chatbot implementation using Retrieval Augmented Generation (RAG) to provide context-aware responses based on your data.

## Features

- 🔍 **Retrieval Augmented Generation**: Enhances LLM responses with relevant context from your data
- 🧠 **Ollama Support**: Run models locally with Ollama for privacy and customization
- 🔗 **LangChain Integration**: Built on the powerful LangChain framework for advanced chains and pipelines

## Installation

```bash
pip install chatbot-rag
```

## Requirements

- Python 3.12
- Ollama (for local model hosting)

## Quick Start
```python
from chatbot_rag.chat import Chatbot 
from chatbot_rag.RAG import RAG

# Use a specific Ollama model
rag = RAG(path="./data/")
rag()
bot = Chatbot(name="llama3")

# Query with specific parameters
question = "Summarize my recent research on climate change"
context  = rag._search_context(question,k=5)
response = bot(context,question)
print(response)
```

## License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
