Class ConversationProps
Root record of a single LLM conversation. Top-level scalar fields are
hoisted so that WhereRedb queries (by tenant, status, last activity)
hit the _objects table directly without scanning _values.
Message nodes are stored as child via
TreeRedbObject; this record holds only conversation-level counters
and metadata.
[RedbScheme("LLM Conversation")]
public class ConversationProps
Inheritance
Properties
LastActivityAtUtc
When the most recent message was appended.
public DateTimeOffset LastActivityAtUtc { get; set; }
RunCount
Number of agent runs (resumes) that have touched the conversation.
public int RunCount { get; set; }
TotalCostUsd
Cumulative cost in USD across the conversation.
public decimal TotalCostUsd { get; set; }
TotalInputTokens
Cumulative input tokens across every iteration of every run.
public long TotalInputTokens { get; set; }
TotalOutputTokens
Cumulative output tokens across every iteration of every run.
public long TotalOutputTokens { get; set; }