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