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 before prompting the user to respond. Allowed values: 0 (to disable) or 10,000-600,000.
params.inactivity_timeout
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
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
A final prompt that is fed into the AI when the hard_stop_time is reached.
params.video_talking_file
URL of a video file to play when AI is talking. Only works for calls that support video.
params.video_idle_file
URL of a video file to play when AI is idle. Only works for calls that support video.
params.video_listening_file
URL of a video file to play when AI is listening to the user speak. Only works for calls that support video.