params
Parameters for AI that can be passed in amazon_bedrock.params at the top level of the amazon_bedrock Method.
Properties
amazon_bedrock.params
An object that accepts the following properties.
params.attention_timeout
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
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
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
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
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
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
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.