Path: redb-route/redb.Route.Llm/Storage/Redb/Schemas/PromptTemplateProps.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.Llm/Storage/Redb/Schemas/PromptTemplateProps.cs
----
using redb.Core.Attributes;
namespace redb.Route.Llm.Storage.Redb.Schemas;
///
/// A versioned prompt template. (, )
/// is the business key; the framework loads "latest" by ordering on
/// .
///
[RedbScheme("LLM Prompt Template")]
public class PromptTemplateProps
{
/// Stable template name (free of version).
public string Name { get; set; } = string.Empty;
/// Version string — semver / hash / monotonic tag.
public string Version { get; set; } = string.Empty;
/// Template body. Substitution is the caller's responsibility.
public string Body { get; set; } = string.Empty;
/// Optional human description for tooling.
public string? Description { get; set; }
/// When this version was registered.
public DateTimeOffset CreatedAtUtc { get; set; }
}