Interface IMailQuestionAnswerer
- Namespace
- MailFathom.Application.Retrieval
- Assembly
- MailFathom.Application.dll
Answers one question about the mailbox from the mail it retrieves while answering.
public interface IMailQuestionAnswerer
Remarks
The whole of the answering capability as the rest of the system sees it: a question, a scope, and the run's own record in, an answer out. What sits behind it is an agent composed over a chat model and this deployment's retrieval, and none of that shape appears here — the orchestration framework, its messages, its tools, and its context providers stay inside the adapter, so replacing it changes nothing above this line.
One call is one run and keeps nothing. There is no conversation across calls, because a stored conversation is stored mail content by another name and would carry one caller's retrieved passages into another caller's context.
The run reads and never writes. It reaches no mail server, sends no mail, and changes no remote flag, which is a property of what it is composed of rather than a rule it observes.
Methods
- AnswerAsync(MailQuestion, MailAnsweringRunObservation, CancellationToken)
Answers one question, retrieving mail from within its scope as the model asks for it.