prompt
Properties
amazon_bedrock.prompt
An object that accepts the prompt properties.
The prompt property accepts one of the following objects:
Regular Prompt
POM Prompts
prompt.text
The instructions to send to the agent.
prompt.temperature
Randomness setting. Float value between 0.0 and 1.5. Closer to 0 will make the output less random.
prompt.top_p
Randomness setting. Alternative to temperature. Float value between 0.0 and 1.0.
prompt.voice_id
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.