Namespace: LLama.OldVersion
The entire LLama.OldVersion namespace will be removed
public class CompletionChoice : System.IEquatable`1[[LLama.OldVersion.CompletionChoice, LLamaSharp, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → CompletionChoice
Implements IEquatable<CompletionChoice>
public string Text { get; set; }
public int Index { get; set; }
public CompletionLogprobs Logprobs { get; set; }
public string FinishReason { get; set; }
public CompletionChoice(string Text, int Index, CompletionLogprobs Logprobs, string FinishReason)
Text String
Index Int32
Logprobs CompletionLogprobs
FinishReason String
public string ToString()
protected bool PrintMembers(StringBuilder builder)
builder StringBuilder
public int GetHashCode()
public bool Equals(object obj)
obj Object
public bool Equals(CompletionChoice other)
other CompletionChoice
public CompletionChoice <Clone>$()
public void Deconstruct(String& Text, Int32& Index, CompletionLogprobs& Logprobs, String& FinishReason)
Text String&
Index Int32&
Logprobs CompletionLogprobs&
FinishReason String&