Closed krokoko closed 1 month ago
Fixes #656
Pending testing
guardrails.addContextualGroundingPolicyConfig([ { threshold: 0.5, filtersConfigType: bedrock.ContextualGroundingFilterConfigType.GROUNDING, }, { threshold: 0.9, filtersConfigType: bedrock.ContextualGroundingFilterConfigType.RELEVANCE, }, ]);
Agent has guardrails attached:
When asking a question with a response factually correct:
Examples when blocking:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.
Fixes #656
Pending testing
Agent has guardrails attached:
When asking a question with a response factually correct:
Examples when blocking:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.