logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AiPromptFreeFormRequestIntent

    A catch-all intent for requests that fit no closed-choice intent — the user describes what they want in plain language and the generated prompt hands the agent the full module map so it can route itself through the matching cookbook(s). Declares no outcomes, so it never participates in contradiction findings.

    Inheritance
    object
    AiPromptFreeFormRequestIntent
    Implements
    IAiPromptIntent
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Editor.AiPromptBuilder
    Assembly: Serenity.AiPromptBuilder.Editor.dll
    Syntax
    public sealed class AiPromptFreeFormRequestIntent : IAiPromptIntent

    Constructors

    AiPromptFreeFormRequestIntent(IAiPromptTemplateSource)

    Declaration
    public AiPromptFreeFormRequestIntent(IAiPromptTemplateSource templates)
    Parameters
    Type Name Description
    IAiPromptTemplateSource templates

    Properties

    ConfigureStepTitle

    Declaration
    public string ConfigureStepTitle { get; }
    Property Value
    Type Description
    string

    Title shown on this intent's dedicated Configure step in the wizard.

    Description

    Declaration
    public string Description { get; }
    Property Value
    Type Description
    string

    One-line explanation of what this intent produces, shown next to its selection checkbox.

    DisplayName

    Declaration
    public string DisplayName { get; }
    Property Value
    Type Description
    string

    Shown wherever this intent appears in a selection list.

    Kind

    Declaration
    public AiPromptIntentKind Kind { get; }
    Property Value
    Type Description
    AiPromptIntentKind

    Methods

    BuildQuestions(AiPromptProjectScan)

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

    Emit(AiPromptAnswerSheet, AiPromptProjectScan, IList<string>)

    Declaration
    public 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
    public IReadOnlyList<string> Validate(AiPromptAnswerSheet answers)
    Parameters
    Type Name Description
    AiPromptAnswerSheet answers
    Returns
    Type Description
    IReadOnlyList<string>

    Implements

    IAiPromptIntent
    In this article
    © 2026 Serenity. All Rights Reserved