Table of Contents

Method ComposeAsync

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

ComposeAsync(AgentAnswerBrief, AgentAnswerJournal, CancellationToken)

Composes the answer.

Task<IReadOnlyList<PresentationText>> ComposeAsync(AgentAnswerBrief brief, AgentAnswerJournal journal, CancellationToken cancellationToken)

Parameters

brief AgentAnswerBrief

The question, the language, and the conversation before it.

journal AgentAnswerJournal

Where every part of the answer is written the moment it exists.

cancellationToken CancellationToken

Cancels the run: a stop, the run's own ceiling on time, or the process stopping.

Returns

Task<IReadOnlyList<PresentationText>>

The questions the agent suggests asking next, each one an IsAskable(PresentationText) line, and empty where it suggested none.