Class ChatCompletion
Class ChatCompletion
Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll
Represents a chat completion response returned by model, based on the provided input.
public class ChatCompletion
Inheritance
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ChatCompletion()
public ChatCompletion()
Properties
Choices
A list of chat completion choices. Can be more than one if n is greater than 1.
public List<choice> Choices { get; set; }
Property Value
Created
The Unix timestamp (in seconds) of when the chat completion was created.
public long Created { get; set; }
Property Value
Id
A unique identifier for the chat completion.
public string Id { get; set; }
Property Value
Model
The model used for the chat completion.
public string Model { get; set; }
Property Value
Object
The object type, which is always chat.completion.
public string Object { get; set; }
Property Value
SystemFingerprint
This fingerprint represents the backend configuration that the model runs with.
public string SystemFingerprint { get; set; }
Property Value
Usage
Usage statistics for the completion request.
public Usage Usage { get; set; }