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
  • Variable Expansion
Callingamazon_bedrock

prompt

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

SWAIG

Next
Built with

Properties

amazon_bedrock.prompt
objectRequired

An object that accepts the prompt properties.

The prompt property accepts one of the following objects:

Regular Prompt
POM Prompts
prompt.text
stringRequired

The instructions to send to the agent.

prompt.temperature
numberDefaults to 1.0

Randomness setting. Float value between 0.0 and 1.5. Closer to 0 will make the output less random.

prompt.top_p
numberDefaults to 1.0

Randomness setting. Alternative to temperature. Float value between 0.0 and 1.0.

prompt.confidence
numberDefaults to 0.6

Threshold to fire a speech-detect event at the end of the utterance.

voice_id
stringDefaults to matthew

The voice the Amazon Bedrock agent will use during the interaction. Possible Values: tiffany, matthew, amy, lupe, carlos

Variable Expansion

Use the following syntax to expand variables into your prompt.

${call_direction}
string

Inbound or outbound.

${caller_id_number}
string

The caller ID number.

${local_date}
string

The local date.

${spoken_date}
string

The spoken date.

${local_time}
string

The local time.

${time_of_day}
string

The time of day.

${supported_languages}
string

A list of supported languages.

${default_language}
string

The default language.