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