ChatCompletionChunkChoice
Namespace: LLama.Types
| public class ChatCompletionChunkChoice : System.IEquatable`1[[LLama.Types.ChatCompletionChunkChoice, LLamaSharp, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null]]
|
Inheritance Object → ChatCompletionChunkChoice
Implements IEquatable<ChatCompletionChunkChoice>
Properties
Index
| public int Index { get; set; }
|
Property Value
Int32
Delta
| public ChatCompletionChunkDelta Delta { get; set; }
|
Property Value
ChatCompletionChunkDelta
FinishReason
| public string FinishReason { get; set; }
|
Property Value
String
Constructors
ChatCompletionChunkChoice(Int32, ChatCompletionChunkDelta, String)
| public ChatCompletionChunkChoice(int Index, ChatCompletionChunkDelta Delta, string FinishReason)
|
Parameters
Index
Int32
Delta
ChatCompletionChunkDelta
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(ChatCompletionChunkChoice)
| public bool Equals(ChatCompletionChunkChoice other)
|
Parameters
other
ChatCompletionChunkChoice
Returns
Boolean
<Clone>$()
| public ChatCompletionChunkChoice <Clone>$()
|
Returns
ChatCompletionChunkChoice
Deconstruct(Int32&, ChatCompletionChunkDelta&, String&)
| public void Deconstruct(Int32& Index, ChatCompletionChunkDelta& Delta, String& FinishReason)
|
Parameters
Index
Int32&
Delta
ChatCompletionChunkDelta&
FinishReason
String&