You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/templates/guardrails-output-parser/README.md

383 B

guardrails-output-parser

Uses guardrails-ai to validate output.

This example protects against profanity, but with Guardrails you can protect against a multitude of things.

If Guardrails does not find any profanity, then the translated output is returned as is.

If Guardrails does find profanity, then an empty string is returned.