Class ChatAnswer
- Namespace
- MailFathom.Application.Chat
- Assembly
- MailFathom.Application.dll
What a chat provider produced for one conversation.
public sealed record ChatAnswer : IEquatable<ChatAnswer>
- Inheritance
-
ChatAnswer
- Implements
- Inherited Members
Remarks
The text is model output over untrusted input and is treated as untrusted itself: it is encoded for whatever
destination presents it, and it never reaches a log, a span, or an exporter. Usage is the part
that may, because a count says how much was sent without saying any of it.
Constructors
- ChatAnswer(string, ChatGenerationStop, ChatTokenUsage?)
What a chat provider produced for one conversation.
Properties
- Stop
Why the model stopped generating.
- Text
The generated text, which is never empty: a call that produced none is a failure rather than an answer.