Skip to main content

MelowRAG

MelowRAG is a modular Python framework for semantic search, vector indexing, and retrieval-augmented generation (RAG). It provides a unified interface for embedding, indexing, searching, and managing data using dense, sparse, and hybrid vector models.

Features

  • Embeddings Management: Transform data into embeddings using various backends.
  • Flexible Indexing: Build, update, and search indexes with support for dense, sparse, and hybrid models.
  • Database Integration: Store and retrieve content using pluggable database backends.
  • Graph Algorithms: Advanced graph-based search and topic modeling.
  • Pipelines: Modular pipelines for text, audio, and image processing.
  • Remote Storage: Archive and load indexes from local or cloud storage.
  • Extensible: Easily add new models, scoring functions, or storage backends.

Quick Start

from melowrag import Embeddings

# Initialize embeddings
embedding = Embeddings()

# Index some texts
texts = ["The cat sat on the mat.", "Dogs are wonderful companions."]
embedding.index(texts)

# Search for similar content
results = embedding.search("animal companions", 1)
for result in results:
    print(f"Index: {result.index}, Score: {result.score}")

Installation

pip install -e .

License

This project is licensed under the terms of the MIT license.

Metadata

Release files for melowrag 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for melowrag 0.0.2
File Size Uploaded
melowrag-0.0.2.tar.gz 123.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for melowrag 0.0.2
File Interpreter ABI Platform
melowrag-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 381.5 kB

Release files / melowrag-0.0.2.tar.gz

Download URL melowrag-0.0.2.tar.gz
Size 123.5 kB
Tags Source
SHA-256 checksum
How to use checksums
61ab4c5a3b1053afecbcd43acfad7600f235cb7f09854100fbf074fecfb11652
BLAKE2b-256 checksum
How to use checksums
f6e3863cbe75a3ebb4184eb1e39fa963181c7e9566f9830369af30178b666523
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.3 Linux/6.11.0-29-generic

Release files / melowrag-0.0.2-py3-none-any.whl

Download URL melowrag-0.0.2-py3-none-any.whl
Size 258.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdf63f0094e2609cc71c556e7f1a69ac1da5ddcd6d3eadffe9a6adc7a5bce3d5
BLAKE2b-256 checksum
How to use checksums
6ebd1a9efd663195474c71c61230f866378d10a5c761afb104cc87566fde72c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.3 Linux/6.11.0-29-generic

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page