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="salutation"),
    Document(page_content="goodbye and goodnight", id="farewell")])
docs = db.similarity_search_with_relevance_scores("Greetings, Earth!", k=1)
assert len(docs) == 1
assert docs[0].id == "salutation"

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.1.tar.gz (4.7 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.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ellama-0.1.1.tar.gz
  • Upload date:
  • Size: 4.7 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.1.tar.gz
Algorithm Hash digest
SHA256 2757cf23e05d593569fcddb69159f7eb54cdc38a1deb7632f5b413004de89b9b
MD5 5108bc5b0b78c77fb33bb66c32b7c9ab
BLAKE2b-256 3829ea88601f51ffb716fc835670cfdac7c531874b9cde8ff486654052c13cd0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ellama-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: ellama-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 625ea92bd88c8068dd67f881aac8308afc3a0dc78affef3022a6a85bddb614fd
MD5 4ac81230d8dbf393c228c5fb86737522
BLAKE2b-256 93c6f238e3ec0c84cdd7b8149e1e88a9095fd4b5fe990e32a2994e5ec8ab714e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ellama-0.1.1-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