amazon_bedrock.prompt
An object that accepts the prompt parameters.
prompt Parameters
The prompt property accepts one of the following objects:
- Regular Prompt
- POM Prompts
The main identity prompt for the AI. This prompt will be used to outline the agent's personality, role, and other characteristics.
1.0Randomness setting. Float value between 0.0 and 1.5. Closer to 0 will make the output less random.
1.0Randomness setting. Alternative to temperature. Float value between 0.0 and 1.0. Closer to 0 will make the output less random.
0.6Threshold to fire a speech-detect event at the end of the utterance. Float value between 0.0 and 1.0. Decreasing this value will reduce the pause after the user speaks, but may introduce false positives.
0Aversion to staying on topic. Float value between -2.0 and 2.0. Positive values increase the model's likelihood to talk about new topics.
0Aversion to repeating lines. Float value between -2.0 and 2.0. Positive values decrease the model's likelihood to repeat the same line verbatim.
An array of objects that defines the prompt object model (POM) for the AI. The POM is a structured data format for organizing and rendering a prompt for the AI agent. This prompt will be used to define the AI's personality, role, and other characteristics. See the POM technical reference for more information.
1.0Randomness setting. Float value between 0.0 and 1.5. Closer to 0 will make the output less random.
1.0Randomness setting. Alternative to temperature. Float value between 0.0 and 1.0. Closer to 0 will make the output less random.
0.6Threshold to fire a speech-detect event at the end of the utterance. Float value between 0.0 and 1.0. Decreasing this value will reduce the pause after the user speaks, but may introduce false positives.
0Aversion to staying on topic. Float value between -2.0 and 2.0. Positive values increase the model's likelihood to talk about new topics.
0Aversion to repeating lines. Float value between -2.0 and 2.0. Positive values decrease the model's likelihood to repeat the same line verbatim.
Variable Expansion
Use the following syntax to expand variables into your prompt.