Method SteerAsync
- Namespace
- MailFathom.Application.Agent.Conversations
- Assembly
- MailFathom.Application.dll
SteerAsync(AgentConversationId, UserId, AgentMessageId, AgentMessageId, PresentationText, CancellationToken)
Adds an instruction to the answer being composed, which takes it from its next turn without starting over.
public Task<AgentMessagePosting> SteerAsync(AgentConversationId conversation, UserId user, AgentMessageId run, AgentMessageId message, PresentationText text, CancellationToken cancellationToken)
Parameters
conversationAgentConversationIdThe conversation holding the answer.
userUserIdThe person steering.
runAgentMessageIdThe answer being steered.
messageAgentMessageIdThe instruction's identifier, which the client generated.
textPresentationTextWhat the person added.
cancellationTokenCancellationTokenCancels the write.
Returns
- Task<AgentMessagePosting>
What became of the instruction.
Remarks
Steering adds rather than interrupts: nothing already composed is touched, no second run starts, and the answer carries on from where it stands. It names no scope, because it is said inside the answer to a question that already stated one.