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