-
Notifications
You must be signed in to change notification settings - Fork 228
Third party Guardrail examples #136
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
base: main
Are you sure you want to change the base?
Third party Guardrail examples #136
Conversation
Hi @akingscote - Could you please resolve the conflicts? |
@manoj-selvakumar5 Done :) |
Latest scan for commit: ✅ Security Scan Report (PR Files Only)Scanned Files
Security Scan Results
Threshold: High No security issues detected in your changes. Great job! This scan only covers files changed in this PR. |
print(resp) | ||
|
||
# this will be blocked | ||
resp = agent("Actually I dont care, f**k you") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please update line 35 with a non-profane toxic example? that would still trigger the guardrail
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution! Could you please move these to 03-integrations folder? These examples fits better in the integrations folder since the 02-samples folder contains only end-to-end examples
Issue196
Description of changes:
I've added sample examples of using strands hooks to integrate with three different third-party guardrails:
Related discussion can be found here.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.