guardrails-ai / guardrails

Adding guardrails to large language models.

Home Page:https://www.guardrailsai.com/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

!guardrails hub install hub://guardrails/regex_match

Pratekh opened this issue · comments

WARNING:py.warnings:/usr/local/lib/python3.10/dist-packages/guardrails/validators/init.py:50: FutureWarning:
Importing validators from guardrails.validators is deprecated.
All validators are now available in the Guardrails Hub. Please install
and import them from the hub instead. All validators will be
removed from this module in the next major release.

Install with: `guardrails hub install hub://<namespace>/<validator_name>`
Import as: from guardrails.hub import `ValidatorName`

warn(

Validation failed for field with errors: Result must match Open.*

@Pratekh what exactly is the issue you're trying to report here? Is it the warning or the fact that the validation failed?

Ok it's fixed now @CalebCourier