Skip to main content

Agentic Retrieval Augmented Generation (RAG) with LanceDB - Minimal dependencies

Project description

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

Core functionality with OpenAI/Ollama support, MCP server, and Logfire observability. Document processing (docling) is optional.

With Document Processing

uv pip install haiku.rag-slim[docling]

Adds support for 40+ file formats including PDF, DOCX, HTML, and more.

Available Extras

Document Processing:

  • docling - PDF, DOCX, HTML, and 40+ file formats

Embedding Providers:

  • voyageai - VoyageAI embeddings

Rerankers:

  • mxbai - MixedBread AI
  • cohere - Cohere
  • zeroentropy - Zero Entropy

Model Providers:

  • OpenAI/Ollama - included in core (OpenAI-compatible APIs)
  • anthropic - Anthropic Claude
  • groq - Groq
  • google - Google Gemini
  • mistral - Mistral AI
  • bedrock - AWS Bedrock
  • vertexai - Google Vertex AI

Agent Protocol:

  • a2a - Agent-to-Agent protocol
# Common combinations
uv pip install haiku.rag-slim[docling,anthropic,mxbai]
uv pip install haiku.rag-slim[docling,groq,logfire]

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/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

haiku_rag_slim-0.14.1.tar.gz (66.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

haiku_rag_slim-0.14.1-py3-none-any.whl (93.8 kB view details)

Uploaded Python 3

File details

Details for the file haiku_rag_slim-0.14.1.tar.gz.

File metadata

  • Download URL: haiku_rag_slim-0.14.1.tar.gz
  • Upload date:
  • Size: 66.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for haiku_rag_slim-0.14.1.tar.gz
Algorithm Hash digest
SHA256 b8f7fd080b441cc01b7d40205031b537475547d0a259e2bd80dd7d50fc8fbd74
MD5 f50e40be5b3ca50e07316e18a89d06ec
BLAKE2b-256 ec9a7beec57d08ddb11891d5234c1bbcd09ce3665ca6317db9f666fdb9d2d621

See more details on using hashes here.

File details

Details for the file haiku_rag_slim-0.14.1-py3-none-any.whl.

File metadata

File hashes

Hashes for haiku_rag_slim-0.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1449187c07e023381b5379bcfb9a346da01a786ea451e15594ab3a5a604a6a2
MD5 045ec07b062523826af82667592619b3
BLAKE2b-256 0d8592e9567782ed152b96cc369e29a7258fd340a5e8691a5bb46f85a8b69ba4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page