Table of Contents

Interface IAgentConversationSummarizer

Namespace
MailFathom.Application.Agent.Answering
Assembly
MailFathom.Application.dll

Summarises the earlier part of an Agent conversation, so a turn can send the summary in its place.

public interface IAgentConversationSummarizer

Remarks

The seam between the use case and the agent that summarises. What crosses it is text the conversation already holds — the summary before this one and the turns written since — and what comes back is text; no model, no provider type, and no tool does. The summary is written for the model that reads the next turn and never for a person, who is never shown one.

A summary folds in the one before it, so nothing the conversation said falls out of what the next turn is composed from however many times it has been compacted.

Methods

SummarizeAsync(string?, IReadOnlyList<AgentHistoryTurn>, CancellationToken)

Summarises the turns since the last summary, together with that summary.