logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AiPromptSection

    One intent's contribution to the generated prompt: its rendered markdown body plus the structured data the composer and the contradiction detector reason over — outcomes it declares and docs it cites.

    Inheritance
    object
    AiPromptSection
    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 AiPromptSection

    Constructors

    AiPromptSection(AiPromptIntentKind, string, IReadOnlyList<AiPromptDeclaredOutcome>, IReadOnlyList<string>)

    Declaration
    public AiPromptSection(AiPromptIntentKind intentKind, string bodyMarkdown, IReadOnlyList<AiPromptDeclaredOutcome> declaredOutcomes, IReadOnlyList<string> referencedDocPaths)
    Parameters
    Type Name Description
    AiPromptIntentKind intentKind
    string bodyMarkdown
    IReadOnlyList<AiPromptDeclaredOutcome> declaredOutcomes
    IReadOnlyList<string> referencedDocPaths

    Properties

    BodyMarkdown

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

    DeclaredOutcomes

    Declaration
    public IReadOnlyList<AiPromptDeclaredOutcome> DeclaredOutcomes { get; }
    Property Value
    Type Description
    IReadOnlyList<AiPromptDeclaredOutcome>

    IntentKind

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

    ReferencedDocPaths

    Declaration
    public IReadOnlyList<string> ReferencedDocPaths { get; }
    Property Value
    Type Description
    IReadOnlyList<string>
    In this article
    © 2026 Serenity. All Rights Reserved