logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Namespace: Serenity.Editor.AiPromptBuilder
    Assembly: Serenity.AiPromptBuilder.Editor.dll
    Syntax
    public interface IAiPromptIntent

    Properties

    ConfigureStepTitle

    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
    Type Description
    AiPromptIntentKind

    Methods

    BuildQuestions(AiPromptProjectScan)

    Declaration
    IReadOnlyList<AiPromptQuestion> BuildQuestions(AiPromptProjectScan scan)
    Parameters
    Type Name Description
    AiPromptProjectScan scan
    Returns
    Type Description
    IReadOnlyList<AiPromptQuestion>

    Emit(AiPromptAnswerSheet, AiPromptProjectScan, IList<string>)

    Declaration
    AiPromptSection Emit(AiPromptAnswerSheet answers, AiPromptProjectScan scan, IList<string> warnings)
    Parameters
    Type Name Description
    AiPromptAnswerSheet answers
    AiPromptProjectScan scan
    IList<string> warnings
    Returns
    Type Description
    AiPromptSection

    Validate(AiPromptAnswerSheet)

    Blocking validation errors for the current answers; empty when this intent is ready to emit.

    Declaration
    IReadOnlyList<string> Validate(AiPromptAnswerSheet answers)
    Parameters
    Type Name Description
    AiPromptAnswerSheet answers
    Returns
    Type Description
    IReadOnlyList<string>
    In this article
    © 2026 Serenity. All Rights Reserved