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
Install-Package Umbraco.AI.PromptOr via .NET CLI:
dotnet add package Umbraco.AI.PromptFeatures
Prompt Templates - Create reusable prompts with variable placeholders
Variable Interpolation - Use
{{variable}}syntax for dynamic contentProfile 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:
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
Prompt templates, variables, scoping
Step-by-step setup guide
Variable interpolation details
Allow and deny rules for prompts
Management API endpoints
IAIPromptService
Related
Add-ons Overview - All add-on packages
AI Contexts - Brand voice and guidelines
Profiles - AI configuration
Last updated
Was this helpful?