Class Choice
Class Choice
Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll
A chat completion choice.
public class Choice
Inheritance
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
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.
public string FinishReason { get; set; }
Property Value
Index
The index of the choice in the list of choices.
public int Index { get; set; }
Property Value
Message
A chat completion message generated by the model.
public Message Message { get; set; }