Search Results for

    Show / Hide Table of Contents

    Class LogProb

    Inheritance
    object
    LogProb
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public class LogProb

    Properties

    | Edit this page View Source

    Bytes

    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[]
    | Edit this page View Source

    Logprob

    The log probability of the token.

    Declaration
    [ApiSpecificProperty(Api.Google, "logProbability")]
    [JsonProperty("logprob")]
    public float Logprob { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    Token

    The token that was used to generate the log probability.

    Declaration
    [JsonProperty("token")]
    public string Token { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    TokenId

    Google only. The candidate???token id value.

    Declaration
    [ApiSpecificProperty(Api.Google, "tokenId")]
    public int? TokenId { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    TopLogprobs

    OpenAI only.

    Declaration
    [JsonProperty("top_logprobs")]
    public LogProb[] TopLogprobs { get; set; }
    Property Value
    Type Description
    LogProb[]

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation