Skip to main content

Grade the generated response based on provided criteria.

Project description

guardrails-ai-llm-critic

Grade the generated response based on provided criteria.

Installation

pip install guardrails-ai-llm-critic

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

python -m guardrails_ai.llm_critic.post_install

Usage

from guardrails import Guard
from guardrails_ai.llm_critic import LLMCritic

guard = Guard().use(LLMCritic)

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_llm_critic-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

guardrails_ai_llm_critic-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: guardrails_ai_llm_critic-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for guardrails_ai_llm_critic-0.1.0.tar.gz
Algorithm Hash digest
SHA256 217f79390193db1e98721986ad845af569b2ac77f9e79cb67c0f2678ec867eb9
MD5 8877c3198c4d453ab822e307823969c3
BLAKE2b-256 353d575913a2545820f923d1ad5391e79af6b5b848f493fdff6a0a1c370f9ee5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for guardrails_ai_llm_critic-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ddbfbc33ca085677202612548b92dd96cb2d2a19fb1958f119c1f5be195a395
MD5 4250313eddad9ac13162ff37d73ee592
BLAKE2b-256 3a6650d0b4ec17cf944508702b7f5c1da959e6842248fe6d2029b8bfe683f4d5

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