Skip to navigation

prompt

View as MarkdownOpen in Claude

Properties

amazon_bedrock.prompt
objectRequired

An object that accepts the prompt properties.

The prompt property accepts one of the following objects:

prompt.text
stringRequired

The instructions to send to the agent.

prompt.temperature
numberDefaults to 0.7

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

prompt.top_p
numberDefaults to 0.9

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

prompt.voice_id
stringDefaults to matthew

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

Variables in the prompt

The prompt is sent to the agent as written: ${...} and %{...} variables in text or pom are not expanded. To give a SWAIG function data it can read, use global_data or a function’s meta_data.