Class ChatCompletion
Info
Represents a chat completion response returned by model, based on the provided input.
public class ChatCompletionInheritance
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.
[JsonProperty("choices")]
public List<choice> Choices { get; set; }Property Value
Created
The Unix timestamp (in seconds) of when the chat completion was created.
[JsonProperty("created")]
public long Created { get; set; }Property Value
Id
A unique identifier for the chat completion.
[JsonProperty("id")]
public string Id { get; set; }Property Value
Model
The model used for the chat completion.
[JsonProperty("model")]
public string Model { get; set; }Property Value
Object
The object type, which is always chat.completion.
[JsonProperty("object")]
public string Object { get; set; }Property Value
SystemFingerprint
This fingerprint represents the backend configuration that the model runs with.
[JsonProperty("system_fingerprint")]
public string SystemFingerprint { get; set; }Property Value
Usage
Usage statistics for the completion request.
[JsonProperty("usage")]
public Usage Usage { get; set; }Property Value
Namespace: Documentize Assembly: Documentize.dll