Skip to navigation

params

View as MarkdownOpen in Claude

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

Properties

amazon_bedrock.params
object

An object that accepts the following properties.

params.attention_timeout
integerDefaults to 5000 ms

Amount of time, in ms, to wait for the caller to respond before the agent is prompted to get their attention. Allowed values: 0 (to disable) or 1,000-60,000.

params.inactivity_timeout
integerDefaults to 600000 ms

Amount of time, in ms, to wait for the caller to respond after the agent finishes speaking. When it passes, the agent is prompted to check whether the caller is still there; the session does not end. Allowed values: 0 (to disable) or 10,000-3,600,000.

params.hard_stop_time
string

The maximum time the agent stays active. When it has passed, the agent receives hard_stop_prompt as a final instruction and the conversation is scheduled to end. The agent’s reply to that instruction is not guaranteed to finish before the conversation ends.

Time format: HH:MM:SS, MM:SS, or a whole number of seconds, greater than zero. Always pass the value as a string, for example "30:00" or "1800", both 30 minutes. In the colon forms, minutes and seconds go up to 59.

params.hard_stop_prompt
stringDefaults to The time limit for this call has been reached. Please wrap up the conversation.

The final instruction the agent receives when hard_stop_time is reached, before the conversation ends. Used only when hard_stop_time is set, and the default applies only then.

params.video_talking_file
string

URL of a video file to play while the agent is talking. Only works for calls that support video, and only together with video_idle_file: the agent’s video plays only when both are set.

params.video_idle_file
string

URL of a video file to play while the agent is idle. Only works for calls that support video, and only together with video_talking_file: the agent’s video plays only when both are set.

params.video_listening_file
string

URL of a video file to play while the caller is speaking. Used only when video_talking_file and video_idle_file are both set; when omitted, video_idle_file plays while the caller speaks.