Skip to main content

Rivera Edge (beta)

On-device semantic search from the Rivera family: local embeddings (fastembed, CPU-only ONNX) + exact cosine retrieval, stored in a single SQLite file. No server. No cloud calls. No API key.

pip install rivera-edge
from rivera_edge import RiveraEdge

edge = RiveraEdge()                     # data at ~/.rivera-edge/edge.db
edge.add("notes", [
    {"id": "1", "text": "User prefers pytest over unittest"},
    {"id": "2", "text": "Deploys go through Railway", "metadata": {"type": "fact"}},
])
hits = edge.search("notes", "which test framework?")   # searchable instantly
print(hits[0]["text"], hits[0]["score"])

Same retrieval semantics as Rivera Cloud/On-Prem (exact, deterministic, instant ingestion) — scoped to a single process and disk. Namespaces, upsert by id, metadata, multi-namespace search, thresholds.

First call downloads the embedding model (~130 MB, cached). Beta: API may evolve; sync with Rivera Cloud is on the roadmap.

MIT © Mohit Bendale

Metadata

Release files for rivera-edge 0.1.0

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

Source distribution (sdist)

Source distribution for rivera-edge 0.1.0
File Size Uploaded
rivera_edge-0.1.0.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rivera-edge 0.1.0
File Interpreter ABI Platform
rivera_edge-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / rivera_edge-0.1.0.tar.gz

Download URL rivera_edge-0.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3fb46d222a4ba0fcb618b120adb35c5b674a7f5557e3d2d5ba315257ed7d5058
BLAKE2b-256 checksum
How to use checksums
364295b16a27d0a6a330def6ae78ab86daf55e2fe24cb425a06c3bd92070d892
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release files / rivera_edge-0.1.0-py3-none-any.whl

Download URL rivera_edge-0.1.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab1914cddd28899342b90ff507a896e85d4b77c93e808b67ac27cadaf36cd47c
BLAKE2b-256 checksum
How to use checksums
1e8c80084ab91b5a0dcce68ae8c94d89e55bfe97c66d4b5b15ce0f40e7dce9e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

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