Skip to main content

sentence_store

A tool to extract and store sentence embeddings to a fast and scalable vector db

Install:

pip3 install sentence_store

Usage:

from sentence_store.main import Embedder
 e = Embedder(cache_name='embedder_test')
    sents = [
        "The dog barks to the moon",
        "The cat sits on the mat",
        "The phone rings",
        "The rocket explodes",
        "The cat and the dog sleep"
    ]
    e.store(sents)
    q = 'Who sleeps on the mat?'
    rs = e(q, 2)
    for r in rs: print(r)

    print('TIMES:', e.times)
    return True

Enjoy, Paul Tarau

Metadata

Release files for sentence-store 0.4.2

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

Source distribution (sdist)

Source distribution for sentence-store 0.4.2
File Size Uploaded Provenance Actions
sentence_store-0.4.2.tar.gz 4.7 kB Without provenance Details for sentence_store-0.4.2.tar.gz

Release files / sentence_store-0.4.2.tar.gz

Download URL sentence_store-0.4.2.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
96480802322b905de4fa21e1094a952023d4c10ce5f0871821a920b2843b019d
BLAKE2b-256 checksum
How to use checksums
429ec380f22d603b6e67d8642392518e0849b251202ead8b68ff849fe6f1845e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for sentence-store 0.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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