For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
ReferenceGuides
ReferenceGuides
  • Core
    • Introduction to SWML
    • Expressions
    • Template functions
    • Variables
    • Errors
  • Calling
    • Overview
    • ai
    • ai_sidecar
    • amazon_bedrock
      • params
      • prompt
      • SWAIG
    • answer
    • cond
    • connect
    • denoise
    • detect_machine
    • enter_queue
    • execute
    • goto
    • hangup
    • join_conference
    • join_room
    • label
    • live_transcribe
    • live_translate
    • pay
    • play
    • prompt
    • receive_fax
    • record
    • record_call
    • request
    • return
    • send_digits
    • send_fax
    • send_sms
    • set
    • sip_refer
    • sleep
    • stop_denoise
    • stop_record_call
    • stop_tap
    • switch
    • tap
    • transcribe
    • transcribe_stop
    • transfer
    • unset
    • user_event
  • Messaging
    • Overview
    • execute
    • goto
    • label
    • receive
    • reply
    • request
    • return
    • switch
    • transfer
LogoLogoSignalWire Docs
Log inSign up
Support
On this page
  • Properties
Callingamazon_bedrock

params

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous

prompt

Next
Built with

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 before prompting the user to respond. Allowed values: 0 (to disable) or 10,000-600,000.

params.inactivity_timeout
integerDefaults to 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

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.