Class LogProb
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public class LogProb
Properties
| Edit this page View SourceBytes
OpenAI only. The bytes that were used to generate the log probability.
Declaration
[JsonProperty("bytes")]
public int[] Bytes { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
Logprob
The log probability of the token.
Declaration
[ApiSpecificProperty(Api.Google, "logProbability")]
[JsonProperty("logprob")]
public float Logprob { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Token
The token that was used to generate the log probability.
Declaration
[JsonProperty("token")]
public string Token { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TokenId
Google only. The candidate???token id value.
Declaration
[ApiSpecificProperty(Api.Google, "tokenId")]
public int? TokenId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
TopLogprobs
OpenAI only.
Declaration
[JsonProperty("top_logprobs")]
public LogProb[] TopLogprobs { get; set; }
Property Value
| Type | Description |
|---|---|
| LogProb[] |