For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Settings

Global AI settings configure default profiles and system-wide behavior.

AI Settings provide a central place to configure system-wide defaults for Umbraco.AI. These settings are stored in the database and managed through the backoffice or programmatically.

What Settings Store

Property
Description

Id

Fixed identifier (always the same GUID)

DefaultChatProfileId

The profile used when no profile is specified for chat operations

DefaultEmbeddingProfileId

The profile used when no profile is specified for embedding operations

DefaultSpeechToTextProfileId

The profile used when no profile is specified for speech-to-text operations

DefaultImageGenerationProfileId

The profile used when no profile is specified for image generation (experimental)

ClassifierChatProfileId

Optional profile for internal classification tasks (e.g., agent routing). Falls back to default chat profile

DefaultDecisionProfileId

The profile used when no profile is specified for decisions (experimental). Also used by Auto agent mode when Decision is enabled

DisclosureNoticeMode

How the backoffice shows the notice that tells users a response is AI-generated: Always (default), Dismissible, or Off

Settings are a singleton entity - there is only one settings record for the entire application.

Configuring Default Profiles

The recommended way to configure default profiles is through the backoffice. See Managing Settings for step-by-step instructions.

Using Settings in Code

Getting Current Settings

Updating Settings

How Default Profiles Work

When you call an AI service without specifying a profile:

  1. The service checks for a default profile in AI Settings (database).

  2. If not found, an exception is thrown.

Classifier Chat Profile

The classifier chat profile is an optional setting that allows you to designate a cheaper or faster model for internal classification tasks. Currently, this is used by the "Auto" agent mode in both Contextual Copilot and Copilot Workspace. It classifies user prompts and routes them to the best available agent.

Fallback Chain

When the classifier profile is requested:

  1. Database settings — ClassifierChatProfileId (configured in backoffice)

  2. Configuration file — ClassifierChatProfileAlias in appsettings.json

  3. Default chat profile — Falls back to the standard default chat profile

The fallback chain means you only need to configure the classifier profile if you want to use a different (typically cheaper) model for classification. If not set, the default chat profile is used automatically.

Decision-Based Routing

When the experimental Decision capability is enabled and a default Decision profile is set, Auto mode asks the Decision profile to pick the agent first. The classifier chat profile is only used when that is not possible. See Auto Mode.

AI Disclosure Notice

DisclosureNoticeMode controls the "Responses are AI-generated and may be inaccurate." notice shown in the Contextual Copilot and Copilot Workspace chat, and in the prompt preview. It uses the AIDisclosureNoticeMode enum:

Value
Behavior

Always

The notice is always shown (default). Missing or unknown values also fall back to this.

Dismissible

The notice can be dismissed. Each location (chat, prompt) is dismissed separately, per browser.

Off

The notice is never shown.

Unlike the profile settings, this setting has no appsettings.json fallback. When deploying with Umbraco Deploy, the mode travels with the settings. Artifacts created before this setting existed keep the target environment's value.

See Managing Settings for how each option behaves in the backoffice.

Configuration File Fallback

For advanced scenarios like Continuous Integration/Continuous Deployment (CI/CD) pipelines or infrastructure-as-code, you can configure defaults via appsettings.json:

Managing Settings

Via Backoffice

You can configure settings through the backoffice. See Managing Settings for step-by-step instructions.

Via Management API

See Settings API for details.

Last updated

Was this helpful?