TranscriptEntry
NexusLabs.Needlr.AgentFramework.Workflows¶
NexusLabs.Needlr.AgentFramework.Workflows.Middleware¶
TranscriptEntry Class¶
A single transcript entry capturing either a request sent to the LLM or a response received from it.
public sealed record TranscriptEntry : System.IEquatable<NexusLabs.Needlr.AgentFramework.Workflows.Middleware.TranscriptEntry>
Inheritance System.Object 🡒 TranscriptEntry
Implements System.IEquatable<TranscriptEntry>
Constructors¶
TranscriptEntry(string, TranscriptEntryKind, IReadOnlyList<ChatMessage>, ChatOptions, ChatResponse) Constructor¶
A single transcript entry capturing either a request sent to the LLM or a response received from it.
public TranscriptEntry(string StageName, NexusLabs.Needlr.AgentFramework.Workflows.Middleware.TranscriptEntryKind Kind, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.AI.ChatMessage>? Messages, Microsoft.Extensions.AI.ChatOptions? Options, Microsoft.Extensions.AI.ChatResponse? Response);
Parameters¶
StageName System.String
The pipeline stage that produced this entry.
Kind TranscriptEntryKind
Whether this entry is a request or response.
Messages System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.AI.ChatMessage>
The chat messages, present for Request entries.
Options Microsoft.Extensions.AI.ChatOptions
The chat options, present for Request entries.
Response Microsoft.Extensions.AI.ChatResponse
The chat response, present for Response entries.
Properties¶
TranscriptEntry.Kind Property¶
Whether this entry is a request or response.
Property Value¶
TranscriptEntry.Messages Property¶
The chat messages, present for Request entries.
public System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.AI.ChatMessage>? Messages { get; init; }
Property Value¶
System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.AI.ChatMessage>
TranscriptEntry.Options Property¶
The chat options, present for Request entries.
Property Value¶
Microsoft.Extensions.AI.ChatOptions
TranscriptEntry.Response Property¶
The chat response, present for Response entries.
Property Value¶
Microsoft.Extensions.AI.ChatResponse
TranscriptEntry.StageName Property¶
The pipeline stage that produced this entry.