
Converse
CertifiedConverse with an Amazon Bedrock foundation model
Converse
Certified
Converse with an Amazon Bedrock foundation model
yaml
type: io.kestra.plugin.aws.bedrock.ConverseExamples
yaml
id: bedrock_converse
namespace: company.team
inputs:
- id: user_message
type: STRING
tasks:
- id: chat
type: io.kestra.plugin.aws.bedrock.Converse
region: "{{ secret('AWS_REGION') }}"
accessKeyId: "{{ secret('AWS_ACCESS_KEY_ID') }}"
secretKeyId: "{{ secret('AWS_SECRET_ACCESS_KEY') }}"
modelId: "anthropic.claude-3-5-sonnet-20241022-v2:0"
messages:
- role: user
content: "{{ inputs.user_message }}"
system: "You are a concise data engineering assistant."
inferenceConfig:
maxTokens: 1024
- id: log_reply
type: io.kestra.plugin.core.log.Log
message: "Assistant: {{ outputs.chat.content }}"
Properties
messages *Requiredarray
SubTypeobject
Min items
1modelId *Requiredstring
accessKeyId string
compatibilityMode booleanstring
endpointOverride string
forcePathStyle booleanstring
inferenceConfig object
region string
secretKeyId string
sessionToken string
stsEndpointOverride string
stsRoleArn string
stsRoleExternalId string
stsRoleSessionDuration string
Default
PT15M