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