ChatClientBuilderTranscriptExtensions
NexusLabs.Needlr.AgentFramework.Workflows¶
NexusLabs.Needlr.AgentFramework.Workflows.Middleware¶
ChatClientBuilderTranscriptExtensions Class¶
Extension methods for adding transcript logging to a Microsoft.Extensions.AI.ChatClientBuilder pipeline.
Inheritance System.Object 🡒 ChatClientBuilderTranscriptExtensions
Methods¶
ChatClientBuilderTranscriptExtensions.UseTranscriptLogging(this ChatClientBuilder, ITranscriptWriter) Method¶
Inserts a TranscriptLoggingChatClient into the pipeline that records every request/response pair to the supplied writer.
public static Microsoft.Extensions.AI.ChatClientBuilder UseTranscriptLogging(this Microsoft.Extensions.AI.ChatClientBuilder builder, NexusLabs.Needlr.AgentFramework.Workflows.Middleware.ITranscriptWriter writer);
Parameters¶
builder Microsoft.Extensions.AI.ChatClientBuilder
The chat client builder.
writer ITranscriptWriter
The transcript writer to record entries into.
Returns¶
Microsoft.Extensions.AI.ChatClientBuilder
The builder, for chaining.