CompletionLogprobs
Namespace: LLama.Types
public class CompletionLogprobs : System.IEquatable`1[[LLama.Types.CompletionLogprobs, LLamaSharp, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → CompletionLogprobs
Implements IEquatable<CompletionLogprobs>
Properties
TextOffset
public Int32[] TextOffset { get; set; }
Property Value
TokenLogProbs
public Single[] TokenLogProbs { get; set; }
Property Value
Tokens
public String[] Tokens { get; set; }
Property Value
TopLogprobs
public Dictionary`2[] TopLogprobs { get; set; }
Property Value
Constructors
CompletionLogprobs(Int32[], Single[], String[], Dictionary`2[])
public CompletionLogprobs(Int32[] TextOffset, Single[] TokenLogProbs, String[] Tokens, Dictionary`2[] TopLogprobs)
Parameters
TextOffset Int32[]
TokenLogProbs Single[]
Tokens String[]
TopLogprobs Dictionary`2[]
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(CompletionLogprobs)
public bool Equals(CompletionLogprobs other)
Parameters
other CompletionLogprobs
Returns
<Clone>$()
public CompletionLogprobs <Clone>$()
Returns
Deconstruct(Int32[]&, Single[]&, String[]&, Dictionary`2[]&)
public void Deconstruct(Int32[]& TextOffset, Single[]& TokenLogProbs, String[]& Tokens, Dictionary`2[]& TopLogprobs)
Parameters
TextOffset Int32[]&
TokenLogProbs Single[]&
Tokens String[]&
TopLogprobs Dictionary`2[]&