Class AiPromptTemplateLibrary
Production IAiPromptTemplateSource: loads each <templateName>.md shipped
under the PromptTemplates folder beneath Serenity.Global.Infrastructure.Editor.SerenityEditorPaths.DocumentationRoot via
AssetDatabase.
Inheritance
AiPromptTemplateLibrary
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
Methods
Load(string)
Declaration
public string Load(string templateName)
Parameters
| Type |
Name |
Description |
| string |
templateName |
|
Returns
Implements