Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolved - Error in Guard validation code example in README.md #852

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

Badaloza
Copy link
Contributor

I've encountered an issue with the code example provided for using Guard with CompetitorCheck and ToxicLanguage. The issue is related to the syntax and the use of the use_many method in the Guard class.

Issue Details:
Syntax Error: There is a trailing comma in the use_many method call which leads to a syntax error.

Suggested Solution:
Remove the trailing comma.

I've encountered an issue with the code example provided for using Guard with CompetitorCheck and ToxicLanguage. 
The issue is related to the syntax and the use of the use_many method in the Guard class.
@zsimjee
Copy link
Collaborator

zsimjee commented Jun 25, 2024

Thanks for the contribution!

@zsimjee zsimjee merged commit bb2d38a into guardrails-ai:main Jun 25, 2024
12 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants