Skip to content

CompletionLogprobs

Namespace: LLama.Types

1
public class CompletionLogprobs : System.IEquatable`1[[LLama.Types.CompletionLogprobs, LLamaSharp, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectCompletionLogprobs
Implements IEquatable<CompletionLogprobs>

Properties

TextOffset

1
public Int32[] TextOffset { get; set; }

Property Value

Int32[]

TokenLogProbs

1
public Single[] TokenLogProbs { get; set; }

Property Value

Single[]

Tokens

1
public String[] Tokens { get; set; }

Property Value

String[]

TopLogprobs

1
public Dictionary`2[] TopLogprobs { get; set; }

Property Value

Dictionary`2[]

Constructors

CompletionLogprobs(Int32[], Single[], String[], Dictionary`2[])

1
public CompletionLogprobs(Int32[] TextOffset, Single[] TokenLogProbs, String[] Tokens, Dictionary`2[] TopLogprobs)

Parameters

TextOffset Int32[]

TokenLogProbs Single[]

Tokens String[]

TopLogprobs Dictionary`2[]

Methods

ToString()

1
public string ToString()

Returns

String

PrintMembers(StringBuilder)

1
protected bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

Boolean

GetHashCode()

1
public int GetHashCode()

Returns

Int32

Equals(Object)

1
public bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

Equals(CompletionLogprobs)

1
public bool Equals(CompletionLogprobs other)

Parameters

other CompletionLogprobs

Returns

Boolean

<Clone>$()

1
public CompletionLogprobs <Clone>$()

Returns

CompletionLogprobs

Deconstruct(Int32[]&, Single[]&, String[]&, Dictionary`2[]&)

1
public void Deconstruct(Int32[]& TextOffset, Single[]& TokenLogProbs, String[]& Tokens, Dictionary`2[]& TopLogprobs)

Parameters

TextOffset Int32[]&

TokenLogProbs Single[]&

Tokens String[]&

TopLogprobs Dictionary`2[]&