Chat settings¶
Chat settings configure how the agent behaves on the web chat channel.
They are defined in chat/configuration.yaml.
Platform-provisioned — update only
Chat settings (chat/configuration.yaml) are created automatically by the platform when a project is created. They always exist on any Agent Studio project and can be updated with poly push, but cannot be created from scratch via the ADK. If this file appears in a project directory without a matching entry in .agent_studio_config — for example, after copying a directory from another project — the push will fail with a "Create operation not supported" error. Always start a new project with poly init and poly pull rather than copying an existing directory.
Location¶
What chat settings control¶
-
Greeting
The first message the agent sends when a chat session starts.
-
Style prompt
Channel-specific instructions that shape how the agent writes in chat.
Greeting¶
The greeting is the first message the agent sends when a chat session starts.
Fields¶
| Field | Required | Description |
|---|---|---|
welcome_message |
Yes | Text of the greeting. Supports {{attr:...}} and {{vrbl:...}} references. |
language_code |
Yes | BCP-47 language code, for example en-GB or en-US. |
Example¶
Style prompt¶
The style prompt contains channel-specific instructions that shape how the agent writes.
Use this for chat-specific guidance such as:
- keeping responses concise
- using bullet points for lists
- adjusting formatting for readability
This is separate from the agent's broader personality. Use it to control how the agent communicates specifically in web chat.
Fields¶
| Field | Required | Description |
|---|---|---|
prompt |
No | Free-text style instructions. Resource references are not allowed. |
Example¶
style_prompt:
prompt: You are a helpful and professional web chat assistant. Keep responses concise and use formatting where appropriate.
Keep chat guidance channel-specific
Use the style prompt for instructions that only apply to chat, such as formatting, brevity, or written tone. Use agent settings for broader identity and behavioral guidance.
Full example¶
greeting:
welcome_message: Hi! How can I help you today?
language_code: en-GB
style_prompt:
prompt: You are a helpful and professional web chat assistant. Keep responses concise.
Related pages¶
-
Agent settings
Define the agent's overall identity, role, and rules. Open agent settings
-
Voice settings
Configure the equivalent behavior for the voice channel. Open voice settings