Table of Contents

Class LogProb

Namespace
Glitch9.AIDevKit
public class LogProb
Inheritance
object
LogProb

Properties

Bytes

OpenAI only. The bytes that were used to generate the log probability.

public int[] Bytes { get; set; }

Property Value

int[]

Logprob

The log probability of the token.

[ApiSpecificProperty(Api.Google, "logProbability")]
public float Logprob { get; set; }

Property Value

float

Token

The token that was used to generate the log probability.

public string Token { get; set; }

Property Value

string

TokenId

Google only. The candidate’s token id value.

[ApiSpecificProperty(Api.Google, "tokenId")]
public int? TokenId { get; set; }

Property Value

int?

TopLogprobs

OpenAI only.

public LogProb[] TopLogprobs { get; set; }

Property Value

LogProb[]