haiku.rag/haiku_rag_slim
Yiorgis Gozadinos f06dac7102
Update READMEs
2025-11-05 10:47:00 +02:00
..
haiku/rag Catch import errors seperately to raise errors about missing dependencies. 2025-11-05 10:31:07 +02:00
LICENSE Restructure into uv workspace to support minimal and full installations 2025-11-04 17:59:12 +02:00
pyproject.toml Make docling optional, depend on docling-core 2025-11-04 18:15:04 +02:00
README.md Update READMEs 2025-11-05 10:47:00 +02:00

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 provider
  • mxbai - MixedBread AI reranker
  • cohere - Cohere reranker
  • zeroentropy - Zero Entropy reranker
  • a2a - 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/