Class AiPromptTemplateRenderer
Pure {{TOKEN_NAME}} substitution — deliberately no template control flow. Any conditional content
is the caller's job: build the multi-line token value in C# before rendering. An unresolved token
becomes an empty string plus a warning, never a silent gap in the generated prompt.
Inheritance
AiPromptTemplateRenderer
Assembly: Serenity.AiPromptBuilder.Editor.dll
Syntax
public static class AiPromptTemplateRenderer
Methods
Render(string, IReadOnlyDictionary<string, string>, IList<string>)
Declaration
public static string Render(string templateText, IReadOnlyDictionary<string, string> tokenValues, IList<string> warnings)
Parameters
Returns