
ConverseStream
CertifiedStream a conversation with an Amazon Bedrock foundation model
ConverseStream
Certified
Stream a conversation with an Amazon Bedrock foundation model
yaml
type: io.kestra.plugin.aws.bedrock.ConverseStreamExamples
yaml
id: bedrock_converse_stream
namespace: company.team
inputs:
- id: user_message
type: STRING
tasks:
- id: stream_chat
type: io.kestra.plugin.aws.bedrock.ConverseStream
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: 2048
- id: log_reply
type: io.kestra.plugin.core.log.Log
message: "{{ outputs.stream_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