AWS connect documentation change
Summary
Added instructions to remove assistant message prefill for specific AI models to ensure proper formatting
Security assessment
The change provides model-specific configuration instructions for AI prompts. There is no mention of security vulnerabilities, attacks, or weaknesses being addressed.
Diff
diff --git a/connect/latest/adminguide/create-ai-prompts.md b/connect/latest/adminguide/create-ai-prompts.md index 70ffbd736..2ea5ff96d 100644 --- a//connect/latest/adminguide/create-ai-prompts.md +++ b//connect/latest/adminguide/create-ai-prompts.md @@ -100,0 +101,35 @@ The following image shows **us.amazon.nova-pro-v1:0 (Cross Region)(System Defaul +### Remove the assistant message prefill for specific models + +The default AI prompt template includes an assistant message prefill at the end of the `messages` section. This prefill reinforces the response formatting of wrapping text in `<message>` tags that Connect Customer expects. + +###### Important + +If you choose one of the following models, you must remove the assistant message prefill from the template before you save the AI prompt. + + * `us.anthropic.claude-sonnet-4-6` + + * `eu.anthropic.claude-sonnet-4-6` + + * `jp.anthropic.claude-sonnet-4-6` + + * `au.anthropic.claude-sonnet-4-6` + + * `global.anthropic.claude-sonnet-4-6` + + * `openai.gpt-oss-20b-1:0` + + * `openai.gpt-oss-120b-1:0` + + + + +To remove the assistant message prefill, delete the following two lines from the `messages` section at the end of the template: + + + - role: assistant + content: <message> + +The rest of the `messages` section, including the `conversationHistory` entry, remains unchanged. + +For all other supported models, leave the template unchanged. +