Class ChatCompletion

Info

Represents a chat completion response returned by model, based on the provided input.

public class ChatCompletion

Inheritance

objectChatCompletion

Inherited Members

Constructors

ChatCompletion()

public ChatCompletion()

Properties

Choices

A list of chat completion choices. Can be more than one if n is greater than 1.

[JsonProperty("choices")]
public List<choice> Choices { get; set; }

Property Value

List<Choice>

Created

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

[JsonProperty("created")]
public long Created { get; set; }

Property Value

long

Id

A unique identifier for the chat completion.

[JsonProperty("id")]
public string Id { get; set; }

Property Value

string

Model

The model used for the chat completion.

[JsonProperty("model")]
public string Model { get; set; }

Property Value

string

Object

The object type, which is always chat.completion.

[JsonProperty("object")]
public string Object { get; set; }

Property Value

string

SystemFingerprint

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

[JsonProperty("system_fingerprint")]
public string SystemFingerprint { get; set; }

Property Value

string

Usage

Usage statistics for the completion request.

[JsonProperty("usage")]
public Usage Usage { get; set; }

Property Value

Usage

Namespace: Documentize Assembly: Documentize.dll

 English