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.3.tar.gz (4.8 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.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ellama-0.1.3.tar.gz
  • Upload date:
  • Size: 4.8 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.3.tar.gz
Algorithm Hash digest
SHA256 0e742f6883688169f2d197e94f10e02a8b3fba8a1d2136d99b7ab1897a689727
MD5 a0fa05f77efc9cb79c1e0aebac8e0760
BLAKE2b-256 087ffab202ddf195e6e74b34544bbc387a7a0c62bd2a349d618fd974052c7881

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ellama-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cbc628bccb02392a442e4020036f7f752c843768d8a1d508763fee51459bd0d7
MD5 170fb4dfebf0de89db1f19fc652f888d
BLAKE2b-256 0cc783d0712c30166caccf0171920d23192954321a116ead9f41c6181e5d699f

See more details on using hashes here.

Provenance

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