Skip to main content

Rivera Edge — on-device semantic search: local embeddings + exact cosine retrieval in a single SQLite file. No server, no cloud calls.

Project description

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

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

rivera_edge-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

rivera_edge-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file rivera_edge-0.1.0.tar.gz.

File metadata

  • Download URL: rivera_edge-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for rivera_edge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3fb46d222a4ba0fcb618b120adb35c5b674a7f5557e3d2d5ba315257ed7d5058
MD5 2674b9cfbc9ad88e81c740748e8fde85
BLAKE2b-256 364295b16a27d0a6a330def6ae78ab86daf55e2fe24cb425a06c3bd92070d892

See more details on using hashes here.

File details

Details for the file rivera_edge-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rivera_edge-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for rivera_edge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab1914cddd28899342b90ff507a896e85d4b77c93e808b67ac27cadaf36cd47c
MD5 44f7fd2a06017b2abd3f14cc02c9479f
BLAKE2b-256 1e8c80084ab91b5a0dcce68ae8c94d89e55bfe97c66d4b5b15ce0f40e7dce9e0

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