| .. | ||
| haiku/rag | ||
| LICENSE | ||
| pyproject.toml | ||
| README.md | ||
haiku.rag-slim
Retrieval-Augmented Generation (RAG) library built on LanceDB - Core package with minimal dependencies.
haiku.rag-slim is the core package for users who want to install only the dependencies they need. Document processing (docling), rerankers, and A2A support are all optional extras.
For most users, we recommend installing haiku.rag instead, which includes all features out of the box.
Installation
Python 3.12 or newer required
Minimal Installation
uv pip install haiku.rag-slim
Basic functionality without document processing (docling). You can still use text input and URLs.
With Document Processing
uv pip install haiku.rag-slim[docling]
Adds support for 40+ file formats including PDF, DOCX, HTML, and more.
Available Extras
docling- Document processing for PDFs, DOCX, HTML, etc.voyageai- VoyageAI embedding providermxbai- MixedBread AI rerankercohere- Cohere rerankerzeroentropy- Zero Entropy rerankera2a- Agent-to-Agent protocol support
# Multiple extras
uv pip install haiku.rag-slim[docling,voyageai,mxbai]
Usage
See the main haiku.rag repository for:
- Quick start guide
- CLI examples
- Python API usage
- MCP server setup
- A2A agent configuration
Documentation
Full documentation: https://ggozad.github.io/haiku.rag/
- Installation - Provider setup
- Configuration - YAML configuration
- CLI - Command reference
- Python API - Complete API docs