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
questionAgentQuestionThe question whose turn has ended.
cancellationTokenCancellationTokenCancels 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
questionis null.