Class Choice

Info

A chat completion choice.

public class Choice

Inheritance

object ← Choice

Inherited Members

Constructors

Choice()

public Choice()

Properties

FinishReason

The reason the model stopped generating tokens. This will be stop if the model hit a natural stop point or a provided stop sequence, length if the maximum number of tokens specified in the request was reached.

[JsonProperty("finish_reason")]
public string FinishReason { get; set; }

Property Value

string

Index

The index of the choice in the list of choices.

[JsonProperty("index")]
public int Index { get; set; }

Property Value

int

Message

A chat completion message generated by the model.

[JsonProperty("message")]
public Message Message { get; set; }

Property Value

Message

Namespace: Documentize Assembly: Documentize.dll

 English