Skip to content

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
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