For the complete documentation index, see llms.txt. This page is also available as Markdown.

Capabilities

Capabilities represent the types of AI operations that providers can support.

A capability represents a type of AI operation. Providers implement capabilities to expose their features, and profiles are configured for a specific capability. Capabilities build on Microsoft.Extensions.AI (M.E.AI) interfaces.

Available Capabilities

Capability
Description
M.E.AI Interface

Chat

Conversational AI, text generation, completions

IChatClient

Embedding

Vector embeddings for semantic search

IEmbeddingGenerator<string, Embedding<float>>

Speech-to-Text

Audio transcription and voice input

ISpeechToTextClient

Image Generation

Text-to-image generation and image editing (experimental)

IImageGenerator

Decision

Typed yes/no, pick-one, and score answers (experimental)

None. Uses the Umbraco AI IAIDecisionClient

Extraction

Typed values such as text, numbers, dates, and lists read out of text (experimental)

None. Uses the Umbraco AI IAIExtractionClient

Chat Capability

The Chat capability provides conversational AI features:

  • Text completion and generation

  • Multi-turn conversations

  • System prompts and instructions

  • Streaming responses

  • Tool/function calling

Example.cs
var messages = new List<ChatMessage>
{
    new(ChatRole.System, "You are a helpful assistant."),
    new(ChatRole.User, "What is Umbraco?")
};

var response = await _chatService.GetChatResponseAsync(
    chat => chat.WithAlias("content-chat"),
    messages);

Embedding Capability

The Embedding capability generates vector representations of text:

  • Semantic search indexing

  • Document similarity

  • Clustering and classification

  • Retrieval-augmented generation (RAG)

Speech-to-Text Capability

The Speech-to-Text capability transcribes audio into text:

  • Audio file transcription

  • Real-time streaming transcription

  • Language detection and hints

  • Voice input for Contextual Copilot and Copilot Workspace

Image Generation Capability

The Image Generation capability produces images from text prompts:

  • Text-to-image generation

  • Maskless image editing (transform supplied images)

  • Provider-native masked outpainting via an escape hatch

  • Per-model size and capability constraints

Decision Capability

The Decision capability answers a typed question instead of returning free text:

  • Yes/no questions, answered with a probability

  • Pick-one questions, answered with the key of one of 2 to 255 options

  • Score questions, answered against 2 to 10 labelled levels

Microsoft.Extensions.AI has no abstraction for this kind of model. Decision uses the Umbraco AI IAIDecisionClient interface instead.

Extraction Capability

The Extraction capability reads typed values out of a piece of text instead of returning free text:

  • Text, numbers, dates, times, and dates with times

  • Durations, in a unit you choose

  • Lists of every matching item

A value that is not in the text comes back empty, not guessed. Microsoft.Extensions.AI has no abstraction for this kind of model. Extraction uses the Umbraco AI IAIExtractionClient interface instead.

Capability and Profile Relationship

Each profile is configured for exactly one capability. This ensures type safety and appropriate settings:

Checking Provider Capabilities

Not all providers support all capabilities. You can check what a provider supports:

Experimental capabilities can be switched off for a whole install. To find the capabilities enabled on the current install, call the GET /umbraco/ai/management/api/v1/capabilities/enabled endpoint. See List Capabilities.

Capability Interfaces

Capabilities are defined by interfaces in Umbraco.AI.Core:

Last updated

Was this helpful?