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.19.0.tar.gz (74.6 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.19.0-py3-none-any.whl (110.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: haiku_rag_slim-0.19.0.tar.gz
  • Upload date:
  • Size: 74.6 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.19.0.tar.gz
Algorithm Hash digest
SHA256 2c215e32d16c8f269d05d49b0c65e476cda76330eb113a8d90ee591656028859
MD5 227e53657f165c6e484f921f08ea7ca4
BLAKE2b-256 199a1de6b345e76c1dc6ffa682cf76ec85271d5929cb3d0355e0e6d69272fc7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for haiku_rag_slim-0.19.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d4279b181dccf8567cb6fefa8f58da740ad55f97ee544e060acd429f18e785b
MD5 f1d8725c2622082864a74f1b1b7bab36
BLAKE2b-256 3ddd257d48760ae4b9acdb6bf1a3acc252414f8f581d0c793dda6fbd7fb783d1

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