Skip to main content

amazon_bedrock.params

Parameters for AI that can be passed in amazon_bedrock.params at the top level of the amazon_bedrock Method.

amazon_bedrock.params
object

An object that accepts the params parameters.

params Parameters

params.attention_timeout
integer
Default: 5000 ms

Amount of time, in ms, to wait before prompting the user to respond. Allowed values: 0 (to disable) or 10,000-600,000.

params.inactivity_timeout
integer
Default: 600000 ms

Amount of time, in ms, to wait before exiting the app due to inactivity. Allowed values: 0 (to disable) or 10,000-3,600,000.

params.hard_stop_time
string

Specifies the maximum duration for the AI Agent to remain active before it exits the session. After the timeout, the AI will stop responding, and will proceed with the next SWML instruction.
Time Format

  • Seconds Format: 30s
  • Minutes Format: 2m
  • Hours Format: 1h
  • Combined Format: 1h45m30s

params.hard_stop_prompt
string
Default: "Explain to the user that the call has reached its maximum duration and you need to end the conversation."

A final prompt that is fed into the AI when the hard_stop_time is reached.

params.video_talking_file
string

URL of a video file to play when AI is talking. Only works for calls that support video.

params.video_idle_file
string

URL of a video file to play when AI is idle. Only works for calls that support video.

params.video_listening_file
string

URL of a video file to play when AI is listening to the user speak. Only works for calls that support video.