Skip to content

AzamRabiee/doc_chat

Repository files navigation

title emoji colorFrom colorTo sdk sdk_version python_version app_file pinned short_description
Doc Chat
📈
yellow
red
gradio
6.2.0
3.11
app.py
false
A RAG-based Agentic AI APP with LangGraph and Docling

Document Chat

A RAG-based agentic AI app powered by LangGraph and Docling, using ChromaDB for serverless vector storage. Hybrid search retrieves the most relevant content to generate accurate answers from your documents.

Ask questions about your documents to explore them in depth.

LangGraph with three agents: relevance checker, researcher, and verifier

Demo: https://huggingface.co/spaces/Azam-Rabiee/doc_chat

Create and Activate Environment

Option 1: Using uv (Recommended)

uv is a fast Python package and environment manager.

1. Install uv (if not already installed)

curl -LsSf https://astral.sh/uv/install.sh | sh

Restart your terminal after installation.

2. Create the virtual environment

uv venv .venv

3. Activate the environment

# macOS / Linux
source .venv/bin/activate
# Windows (PowerShell)
.venv\Scripts\Activate.ps1

4. Install dependencies (from lock file)

uv sync

This installs exact, reproducible versions from uv.lock.


Option 2: Using pip

Use this if you don’t want to install uv.

1. Create the virtual environment

python -m venv .venv

2. Activate the environment

# macOS / Linux
source .venv/bin/activate
# Windows (PowerShell)
.venv\Scripts\Activate.ps1

3. Upgrade core tooling

python -m pip install --upgrade pip setuptools wheel

4. Install dependencies

pip install -r requirements.txt

Verify Installation

python --version
pip list

Deactivate the environment

deactivate

Run the app

source .venv/bin/activate
python app.py

Run a single test

For example for test_files_api_info_generation

python -m pytest tests/document_processor/file_upload.py::test_files_api_info_generation

About

An agentic AI app with docling and langgraph

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors