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

[Feature Request] Guardrail option for Bedrock KB target (maybe SageMaker too?) #83

Open
athewsey opened this issue Sep 18, 2024 · 0 comments

Comments

@athewsey
Copy link

Amazon Bedrock Guardrails can be applied in a range of ways:

  1. ✅ In Bedrock Agents, a guardrail is configured as part of the agent itself, so agent-evaluation already supports testing BR agent targets with guardrail in the loop
  2. ❌ In Bedrock KBs, the guardrail ID & version must be specified when calling RetrieveAndGenerate, and agent-evaluation doesn't yet support configuring this
  3. ❓If there's interest, maybe it could be interesting to expand the SageMaker Endpoint target to offer an option to use an Amazon Bedrock Guardrail via the ApplyGuardrail API?

Of course it's possible to achieve already by building a custom target, and (3) seems potentially a bit niche - but I manage a workshop that demonstrates agent-evaluation on a KB for which feature (2) would be helpful!

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

No branches or pull requests

1 participant