Skip to main content

Embeddings interface for Ollama

Project description

Ellama

Embeddings library (i.e. vector database) built over Ollama.

from ellama import EllamaDB, Document

db = EllamaDB("test")
db.add_documents([
    Document(page_content="hello world", id="one"),
    Document(page_content="goodbye and goodnight", id="two")])
docs = db.similarity_search_with_relevance_scores("Hello, world!", k=1)
assert len(docs) == 1
assert docs[0].id == "one"

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

ellama-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

ellama-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ellama-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for ellama-0.1.0.tar.gz
Algorithm Hash digest
SHA256 160a3ac8a1c7bf2570fe9c4cca2d33124405c844985d216b260be25f67a9fe99
MD5 49cdeb8c1c446ee95d49f39e376346ef
BLAKE2b-256 e7e0e95873e409a566ae87dbb3ddb9f8f1ca5730e6e88b733f06a60af8ccb817

See more details on using hashes here.

Provenance

The following attestation bundles were made for ellama-0.1.0.tar.gz:

Publisher: test.yml on casperdcl/ellama

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: ellama-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for ellama-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 20a02eafda2592b65515cd82a798acaefa85bd2cfb5ace3067f53ffd02f88f74
MD5 48b2945095d358624e75f9cd1fb6628c
BLAKE2b-256 aba96254ec4c0954c298a2444a20600385ff33c372b6ee638c8508749e83c4db

See more details on using hashes here.

Provenance

The following attestation bundles were made for ellama-0.1.0-py3-none-any.whl:

Publisher: test.yml on casperdcl/ellama

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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