ChatCompletionChoice
Namespace: LLama.OldVersion
Caution
The entire LLama.OldVersion namespace will be removed
public class ChatCompletionChoice : System.IEquatable`1[[LLama.OldVersion.ChatCompletionChoice, LLamaSharp, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → ChatCompletionChoice
Implements IEquatable<ChatCompletionChoice>
Properties
Index
public int Index { get; set; }
Property Value
Message
public ChatCompletionMessage Message { get; set; }
Property Value
FinishReason
public string FinishReason { get; set; }
Property Value
Constructors
ChatCompletionChoice(Int32, ChatCompletionMessage, String)
public ChatCompletionChoice(int Index, ChatCompletionMessage Message, string FinishReason)
Parameters
Index
Int32
Message
ChatCompletionMessage
FinishReason
String
Methods
ToString()
public string ToString()
Returns
PrintMembers(StringBuilder)
protected bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
GetHashCode()
public int GetHashCode()
Returns
Equals(Object)
public bool Equals(object obj)
Parameters
obj
Object
Returns
Equals(ChatCompletionChoice)
public bool Equals(ChatCompletionChoice other)
Parameters
other
ChatCompletionChoice
Returns
<Clone>$()
public ChatCompletionChoice <Clone>$()
Returns
Deconstruct(Int32&, ChatCompletionMessage&, String&)
public void Deconstruct(Int32& Index, ChatCompletionMessage& Message, String& FinishReason)
Parameters
Index
Int32&
Message
ChatCompletionMessage&
FinishReason
String&