Replies: 1 comment
-
It looks like there is support for guardContent in the python version but not for qualifiers https://github.com/langchain-ai/langchain-aws/blob/89ea067b5605cf732684e49f9e23f8bb19bd1335/libs/aws/langchain_aws/chat_models/bedrock_converse.py#L791 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked
Feature request
To use Bedrock guardrails effectively with Converse API, you need to tag specific parts of the prompt with guardContent and qualifiers:
https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-use-converse-api.html#guardrails-use-converse-api-call-message
https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-contextual-grounding-check.html#guardrails-contextual-grounding-converse-api
The current ChatBedrockConverse does not seem to support this.
Motivation
Lack of appropriate support for Bedrock guardrails in ChatBedrockConverse
Proposal (If applicable)
No response
Beta Was this translation helpful? Give feedback.
All reactions