Skip to main content

Compares embeddings of generated and source texts to calculate provenance.

Project description

guardrails-ai-provenance-embeddings

Compares embeddings of generated and source texts to calculate provenance.

Installation

pip install guardrails-ai-provenance-embeddings

This validator ships local models. After installing, run the post-install step to download them:

python -m guardrails_ai.provenance_embeddings.post_install

Usage

from guardrails import Guard
from guardrails_ai.provenance_embeddings import ProvenanceEmbeddings

guard = Guard().use(ProvenanceEmbeddings)

License

MIT — © Guardrails AI.

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

guardrails_ai_provenance_embeddings-0.0.2.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file guardrails_ai_provenance_embeddings-0.0.2.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_provenance_embeddings-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7613959c3f9e5bf78ede8c248217549471d9ca2d6aa5b6cbe88cf2f9b0b072d6
MD5 3dbf3733891f189a1f0e3ac690b1ba96
BLAKE2b-256 39c02f769df4394ff934cf6722af456c2504e0a7541c4a6e667e66dbe633c6b2

See more details on using hashes here.

File details

Details for the file guardrails_ai_provenance_embeddings-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_provenance_embeddings-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ade6e6df3c6c00ad5cb14911be02b44c6c877c9660d6ef81157f4228cb820141
MD5 eb72dcb0c92e164ca5e9a24ab8988bed
BLAKE2b-256 3d038b45d867e36c2839ff07ac0a502284436e90177c0f02f4e267cff03ab746

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