ChatBedrock()The aws region e.g., us-west-2. Fallsback to AWS_REGION or AWS_DEFAULT_REGION
The name of the profile in the ~/.aws/credentials or ~/.aws/config files, which
AWS access key id.
AWS secret_access_key.
AWS session token.
An optional botocore.config.Config instance to pass to the client.
The model provider, e.g., amazon, cohere, ai21, etc. When not supplied, provider
Id of the model to call, e.g., amazon.titan-text-express-v1, this is
Keyword arguments to pass to the model.
Needed if you don't want to default to us-east-1 endpoint
Whether to stream the results.
An optional dictionary to configure guardrails for Bedrock.
Stop sequence inference parameter from new Bedrock converse API providing
a sequence of characters that causes a model to stop generating a response. See
https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_InferenceConfiguration.html
for more.
A chat model that uses the Bedrock API.