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), and reranker 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
# 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

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.16.1.tar.gz (63.0 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.16.1-py3-none-any.whl (90.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: haiku_rag_slim-0.16.1.tar.gz
  • Upload date:
  • Size: 63.0 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.16.1.tar.gz
Algorithm Hash digest
SHA256 c4d754c19bb7fcd035bd6b4877e5e9143031b94be7355e7118d7c8dcaad2ba2c
MD5 86dfad4ca9d0184cd763157538c55947
BLAKE2b-256 ea4e9296d7084d0525a02a332870ea7cca563ae33d7f0aec95cc90e060a2744c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for haiku_rag_slim-0.16.1-py3-none-any.whl
Algorithm Hash digest
SHA256 703c5dba85841dbc9829dd143c6c63f76bce049eb102bf517f57eb75168adb99
MD5 c39228af59cd1abe27f03cc63d565850
BLAKE2b-256 eab8df7945f37714c18cf891507a06e44f84b682520afbfc85c03e3811741fad

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