Chat settings configure how the agent behaves on the web chat channel.
They are defined in chat/configuration.yaml.
Platform-provisioned — update onlyChat settings are created automatically when a project is created. They can be updated with
poly push but not created from scratch. See the equivalent note on agent settings for details.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.
Safety filters
Optional chat-channel content safety filter overrides.
Greeting
The greeting is the first message the agent sends when a chat session starts.Fields
Example
A start function utterance replaces the greetingIf
start_function.py produces an utterance on the first turn (via conv.say() or a returned string), it replaces welcome_message — the configured greeting is not sent, and no error is raised.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
Fields
Example
Safety filters
chat/safety_filters.yaml is an optional file that overrides the project-level safety filter settings for the chat channel. When present, it takes precedence over agent_settings/safety_filters.yaml for chat interactions.
See the Safety filters reference for the full schema, field descriptions, and examples.
Validation
Chat greeting, style prompt, and safety filters are validated as a set: if any one ofchat/configuration.yaml’s greeting or style_prompt sections or chat/safety_filters.yaml is present locally, the other two must be present as well. poly push fails with a “Webchat config resources must all be present together” error if one is missing.
Full example
Related pages
Safety filters
Configure content safety filtering at the project and channel level.
Agent settings
Define the agent’s overall identity, role, and rules.
Voice settings
Configure the equivalent behavior for the voice channel.

