Namespace: LLama.Types
public class ChatCompletion : System.IEquatable`1[[LLama.Types.ChatCompletion, LLamaSharp, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → ChatCompletion
Implements IEquatable<ChatCompletion>
public string Id { get; set; }
public string Object { get; set; }
public int Created { get; set; }
public string Model { get; set; }
public ChatCompletionChoice[] Choices { get; set; }
public CompletionUsage Usage { get; set; }
public ChatCompletion(string Id, string Object, int Created, string Model, ChatCompletionChoice[] Choices, CompletionUsage Usage)
Id String
Object String
Created Int32
Model String
Choices ChatCompletionChoice[]
Usage CompletionUsage
public string ToString()
protected bool PrintMembers(StringBuilder builder)
builder StringBuilder
public int GetHashCode()
public bool Equals(object obj)
obj Object
public bool Equals(ChatCompletion other)
other ChatCompletion
public ChatCompletion <Clone>$()
public void Deconstruct(String& Id, String& Object, Int32& Created, String& Model, ChatCompletionChoice[]& Choices, CompletionUsage& Usage)
Id String&
Object String&
Created Int32&
Model String&
Choices ChatCompletionChoice[]&
Usage CompletionUsage&