Table of Contents

Method EmbedTurnAsync

Namespace
MailFathom.Application.Agent.Search
Assembly
MailFathom.Application.dll

EmbedTurnAsync(AgentQuestion, CancellationToken)

Embeds the question a run answered and everything said in its answer.

public Task EmbedTurnAsync(AgentQuestion question, CancellationToken cancellationToken)

Parameters

question AgentQuestion

The question whose turn has ended.

cancellationToken CancellationToken

Cancels the reading, the placing, and the recording.

Returns

Task

A task that completes once every message the turn holds is recorded, or once it is clear none will be.

Exceptions

ArgumentNullException

Thrown when question is null.