Skip to main content

76 projects

guardrails-ai-unusual-prompt

Last released

A Guardrails AI input validator that validates a prompt for unusualness and trickery.

guardrails-ai-detect-jailbreak

Last released

Detects attempts to circumvent safeguards in model conditioning.

guardrails-ai-web-sanitization

Last released

Scans LLM outputs for strings that could cause browser script execution downstream.

guardrails-ai-valid-sql

Last released

Validates whether the given SQL code is syntactically correct using. Optionally accepts a database schema to validate against using SQLAlchemy.

guardrails-ai-two-words

Last released

Passes when value is *exactly* two words.

guardrails-ai-uppercase

Last released

Passes when totally uppercase.

guardrails-ai-similar-to-document

Last released

Checks if some generated text is similar to a provided document.

guardrails-ai-valid-url

Last released

Validates that text is a syntactically-valid URL

guardrails-ai-provenance-nli

Last released

Detects and removes hallucinations from LLM-generated text using an NLI model to validate it against a provided context.

guardrails-ai-shieldgemma-2b

Last released

A Gemma based validator for moderating user prompts to guard against harmful content by specifying a policy.

guardrails-ai-bias-check

Last released

Validates that the text is free from biases related to age, gender, sex, ethnicity, religion, etc.

guardrails-ai-similar-to-previous-values

Last released

Checks if a value is similar to a list of previously known correct values.

guardrails-hub-types

Last released

Guardrails Hub Types.

guardrails-ai-cucumber-expression-match

Last released

Validates that the input string matches a specified cucumber expression.

guardrails-ai-valid-choices

Last released

Checks if a given string is a valid choice from a list of choices.

guardrails-ai

Last released

Adding guardrails to large language models.

guardrails-ai-valid-html

Last released

Guardrails validator that checks for HTML parseability.

snowglobe-telemetry-openinference

Last released

OpenInference instrumentation for the snowglobe client

snowglobe-sdk

Last released

A client library for accessing Snowglobe SDK

guardrails-ai-ends-with

Last released

Check if a string or list ends with a specified string or list.

guardrails-ai-secrets-present

Last released

Detects the secrets present in text by matching against common patterns for API keys and other sensitive information.

guardrails-jsonformer

Last released

A fork of 1rgs' jsonformer maintained by Guardrails AI

guardrails-ai-sensitive-topics

Last released

A Guardrails AI validator that detects sensitive topics in text.

guardrails-ai-types

Last released

Offical Guardrails AI Types

guardrails-ai-provenance-embeddings

Last released

Compares embeddings of generated and source texts to calculate provenance.

guardrails-ai-politeness-check

Last released

Ensure generated output is polite.

guardrails-ai-one-line

Last released

This validator checks if the input is a single line of text.

guardrails-ai-bert-toxic

Last released

Validates that the input string does not contain toxic language based on a BERT model.

guardrails-ai-gibberish-text

Last released

A Guardrails AI validator to detect gibberish text.

guardrails-api-client

Last released

Guardrails API Client.

guardrails-ai-contains-string

Last released

A Guardrails AI validator to check if the LLM-generated text contains a substring.

guardrails-ai-prompt-injection-detector

Last released

A Guardrails validator that scores prompts for injection attempts via a secondary LLM.

guardrails-ai-valid-address

Last released

Verifies an LLM-generated address using Google Maps' Address Validation API.

guardrails-ai-valid-open-api-spec

Last released

Ensures that a generated output is a valid OpenAPI Specification.

guardrails-ai-presidio-gliner-pii

Last released

Detects personally identifiable information (PII) in text.

guardrails-ai-extracted-summary-sentences-match

Last released

This validator checks if the extracted summary sentences match the original document.

guardrails-ai-lowercase

Last released

Passes when totally lowercase.

guardrails-ai-detect-system-prompt-leakage

Last released

Detects system prompt leakage using fuzzy string matching (via `rapidfuzz`) to compare the LLM's response against a provided system prompt

guardrails-ai-sdk

Last released

Offical Guardrails AI SDK

guardrails-ai-response-evaluator

Last released

Evaluate generated output using a provided question.

guardrails-ai-detect-prompt-injection

Last released

Finds prompt injection using the Rebuff prompt library.

guardrails-ai-reading-level

Last released

Parses text to find its readability as a US grade level number (0-12).

snowglobe-telemetry-mlflow

Last released

MLflow instrumentation for the snowglobe client

guardrails-ai-valid-range

Last released

Assess whether a generated number is between a maximum and minimum value.

guardrails-ai-logic-check

Last released

Validates logical consistency and detects logical fallacies in the model output. Attempts to correct logical fallacies if found.

guardrails-ai-quotes-price

Last released

Validates that the generated text contains a price quote

guardrails-ai-detect-pii

Last released

Detects personally identifiable information (PII) in text, using Microsoft Presidio.

guardrails-ai-llm-critic

Last released

Grade the generated response based on provided criteria.

guardrails-ai-mentions-drugs

Last released

Validates that the generated text does not contain any drug names

guardrails-ai-sky-validator

Last released

Validates that the input string does not contain negative statements about Sky Electric.

guardrails-ai-provenance-llm

Last released

A validator for ensuring the factuality and reducing brand risk in generated content.

guardrails-ai-regex-match

Last released

Ensure content matches a provided regular expression. This can be used to validate content such as email addresses, phone numbers, and more.

guardrails-ai-responsiveness-check

Last released

Ensure generated output is polite.

guardrails-ai-nsfw-text

Last released

A Guardrails AI validator to detect NSFW text

guardrails-ai-internal-domains

Last released

Identifies internal domains in a string output.

guardrails-ai-valid-length

Last released

Ensures the length of a string or list falls between a minimum and maximum.

guardrails-ai-qa-relevance-llm-eval

Last released

Makes a second request to the LLM, asking it if its original response was relevant to the prompt.

guardrails-ai-competitor-check

Last released

Flags mentions of competitors. Fixes responses by filtering out competitor names.

guardrails-ai-valid-json

Last released

Ensure content is parseable as valid JSON.

guardrails-ai-profanity-free

Last released

Checks for profanity in text, using the alt-profanity-check library.

guardrails-ai-llamaguard-7b

Last released

A llama based validator which checks whether a given prompt is safe/unsafe by specifying a set of policies and lists the violating policies when applicable.

guardrails-ai-restrict-to-topic

Last released

Checks that a text stays on a set of valid topics and avoids invalid ones.

snowglobe

Last released

client server for usage with snowglobe experiments

guardrails-ai-saliency-check

Last released

Checks if a generated summary covers topics present in a source document.

guardrails-ai-wiki-provenance

Last released

A Guardrails AI validator that detects and removes hallucinated text based off Wikipedia

guardrails-ai-exclude-sql-predicates

Last released

This rule checks for the use of particular SQL predicates in the query. It is important to exclude SQL predicates from the query to prevent SQL injection attacks.

guardrails-ai-guardrails-pii

Last released

Detects personally identifiable information (PII) in text.

guardrails-ai-reading-time

Last released

Ensures that any generated text is less than a maximum expected reading time.

guardrails-ai-has-url

Last released

Ensure content contains a url.

guardrails-ai-ban-list

Last released

Validates that the output does not contain banned words, using fuzzy search.

guardrails-ai-relevancy-evaluator

Last released

Validates that the reference text contains information relevant to answering the original question.

guardrails-ai-toxic-language

Last released

Identifies and flags toxic language in text to ensure communications remain professional and appropriate.

guardrails-ai-toxic-language-llm

Last released

Detects toxic language in LLM-generated text using an LLM as the detection backbone. Evaluates text across seven toxicity categories: toxicity, severe toxicity, obscene, threat, insult, identity attack, and sexual explicit content.

guardrails-api

Last released

Guardrails API

guardrails-ai-endpoint-is-reachable

Last released

Checks if an endpoint can be reached by making a request to it.

guardrails-ai-redundant-sentences

Last released

Identifies redundant sentences in text using fuzzy matching.

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