Interface IAiPromptIntent
One selectable, composable request kind the AI Prompt Builder can render into a generated agent prompt.
An intent declares its own questionnaire as data, validates answers, and emits a rendered
AiPromptSection — it never draws GUI and never touches AssetDatabase directly.
Assembly: Serenity.AiPromptBuilder.Editor.dll
Syntax
public interface IAiPromptIntent
Properties
Declaration
string ConfigureStepTitle { get; }
Property Value
| Type |
Description |
| string |
Title shown on this intent's dedicated Configure step in the wizard.
|
Description
Declaration
string Description { get; }
Property Value
| Type |
Description |
| string |
One-line explanation of what this intent produces, shown next to its selection checkbox.
|
DisplayName
Declaration
string DisplayName { get; }
Property Value
| Type |
Description |
| string |
Shown wherever this intent appears in a selection list.
|
Kind
Declaration
AiPromptIntentKind Kind { get; }
Property Value
Methods
BuildQuestions(AiPromptProjectScan)
Declaration
IReadOnlyList<AiPromptQuestion> BuildQuestions(AiPromptProjectScan scan)
Parameters
Returns
Emit(AiPromptAnswerSheet, AiPromptProjectScan, IList<string>)
Declaration
AiPromptSection Emit(AiPromptAnswerSheet answers, AiPromptProjectScan scan, IList<string> warnings)
Parameters
Returns
Validate(AiPromptAnswerSheet)
Blocking validation errors for the current answers; empty when this intent is ready to emit.
Declaration
IReadOnlyList<string> Validate(AiPromptAnswerSheet answers)
Parameters
Returns