logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AiPromptTemplateLibrary

    Production IAiPromptTemplateSource: loads each <templateName>.md shipped under the PromptTemplates folder beneath Serenity.Global.Infrastructure.Editor.SerenityEditorPaths.DocumentationRoot via AssetDatabase.

    Inheritance
    object
    AiPromptTemplateLibrary
    Implements
    IAiPromptTemplateSource
    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 AiPromptTemplateLibrary : IAiPromptTemplateSource

    Constructors

    AiPromptTemplateLibrary()

    Declaration
    public AiPromptTemplateLibrary()

    Properties

    KnownTemplateNames

    The full set of template names this feature ships and expects to find on disk.

    Declaration
    public static IReadOnlyList<string> KnownTemplateNames { get; }
    Property Value
    Type Description
    IReadOnlyList<string>

    Methods

    Load(string)

    Declaration
    public string Load(string templateName)
    Parameters
    Type Name Description
    string templateName
    Returns
    Type Description
    string

    Implements

    IAiPromptTemplateSource
    In this article
    © 2026 Serenity. All Rights Reserved