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

object ChatCompletion

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

List < Choice &gt;

Created

The Unix timestamp (in seconds) of when the chat completion was created.

public long Created { get; set; }

Property Value

long

Id

A unique identifier for the chat completion.

public string Id { get; set; }

Property Value

string

Model

The model used for the chat completion.

public string Model { get; set; }

Property Value

string

Object

The object type, which is always chat.completion.

public string Object { get; set; }

Property Value

string

SystemFingerprint

This fingerprint represents the backend configuration that the model runs with.

public string SystemFingerprint { get; set; }

Property Value

string

Usage

Usage statistics for the completion request.

public Usage Usage { get; set; }

Property Value

Usage

 English