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

Prompt Management

Prompt Management add-on for creating and executing reusable prompt templates.

The Prompt Management add-on (Umbraco.AI.Prompt) enables you to create, manage, and execute reusable prompt templates through the Umbraco backoffice and Management API.

Installation

Package Manager Console
Install-Package Umbraco.AI.Prompt

Or via .NET CLI:

Terminal
dotnet add package Umbraco.AI.Prompt

Features

  • Prompt Templates - Create reusable prompts with variable placeholders

  • Variable Interpolation - Use {{variable}} syntax for dynamic content

  • Profile Association - Link prompts to specific AI profiles

  • Context Injection - Include AI Contexts for brand voice

  • Scoping - Control where each prompt can be used using allow and deny rules

  • Version History - Track changes with full rollback support

  • Backoffice Management - Full UI for creating and managing prompts

Quick Start

1. Create a Prompt

In the backoffice, navigate to the AI section > Prompts and create a new prompt:

Field
Value

Alias

summarize-article

Name

Summarize Article

Instructions

Summarize the following article in 3 bullet points:\n\n{{bodyText}}

Profile

(select your chat profile)

2. Execute the Prompt

Template variables like {{content}} resolve from the target entity's property values. Execute the prompt against the document you want to summarize:

Template Syntax

Basic Variables

Use {{variable}} to insert dynamic content:

Image Variables

Use the image: prefix to include images from content properties:

Example Template

When prompts execute from property actions, entity and property values are available directly:

Documentation

Section
Description

Prompt templates, variables, scoping

Step-by-step setup guide

Variable interpolation details

Allow and deny rules for prompts

Management API endpoints

IAIPromptService

Last updated

Was this helpful?