Class ChatInferenceResult
- Namespace
- Uralstech.UAI.Abstraction.Chat
Represents the response of a chat request.
public record ChatInferenceResult
- Inheritance
-
objectChatInferenceResult
Constructors
ChatInferenceResult(Message[], Usage)
public ChatInferenceResult(Message[] messages, Usage usage)
Parameters
messages
Message[]The generated content.
usage
UsageThe total token usage of the inference request.
Fields
Messages
The generated content.
public readonly Message[] Messages
Field Value
- Message[]
Usage
The total token usage of the inference request.
public readonly Usage Usage
Field Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.