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.

NameTypeDefaultDescription
paramsOptionalobject-An object that accepts the params parameters.

params Parameters​

NameTypeDefaultDescription
attention_timeoutOptionalinteger5000 msAmount of time, in ms, to wait before prompting the user to respond. Allowed values: 0 (to disable) or 10,000-600,000.
inactivity_timeoutOptionalinteger600000 msAmount of time, in ms, to wait before exiting the app due to inactivity. Allowed values: 0 (to disable) or 10,000-3,600,000.
hard_stop_timeOptionalstring-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
hard_stop_promptOptionalstring"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.
video_talking_fileOptionalstring-URL of a video file to play when AI is talking. Only works for calls that support video.
video_idle_fileOptionalstring-URL of a video file to play when AI is idle. Only works for calls that support video.
video_listening_fileOptionalstring-URL of a video file to play when AI is listening to the user speak. Only works for calls that support video.