Search Results for

    Show / Hide Table of Contents

    Class Logprobs

    Whether to return log probabilities of the Output tokens or not. If true, returns the log probabilities of each Output token returned in the content of message. This option is currently not available on the gpt-4-vision-preview model. Defaults to 0.

    Inheritance
    object
    SerializableNullable<int>
    NullableRangedInt<Logprobs>
    Logprobs
    Implements
    INullable
    IEquatable<Logprobs>
    IComparable<Logprobs>
    Inherited Members
    NullableRangedInt<Logprobs>.CompareTo(Logprobs)
    NullableRangedInt<Logprobs>.Equals(Logprobs)
    NullableRangedInt<Logprobs>.Equals(object)
    NullableRangedInt<Logprobs>.GetHashCode()
    SerializableNullable<int>.hasValue
    SerializableNullable<int>.value
    SerializableNullable<int>.HasValue
    SerializableNullable<int>.Value
    SerializableNullable<int>.Clear()
    SerializableNullable<int>.ToString()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    [Serializable]
    [JsonConverter(typeof(NullableRangedIntConverter<Logprobs>))]
    public class Logprobs : NullableRangedInt<Logprobs>, INullable, IEquatable<Logprobs>, IComparable<Logprobs>

    Constructors

    | Edit this page View Source

    Logprobs()

    Declaration
    public Logprobs()
    | Edit this page View Source

    Logprobs(int)

    Declaration
    public Logprobs(int value)
    Parameters
    Type Name Description
    int value

    Properties

    | Edit this page View Source

    Default

    Declaration
    public override int Default { get; }
    Property Value
    Type Description
    int
    Overrides
    NullableRangedInt<Logprobs>.Default
    | Edit this page View Source

    Max

    Declaration
    public override int Max { get; }
    Property Value
    Type Description
    int
    Overrides
    NullableRangedInt<Logprobs>.Max
    | Edit this page View Source

    Min

    Declaration
    public override int Min { get; }
    Property Value
    Type Description
    int
    Overrides
    NullableRangedInt<Logprobs>.Min

    Operators

    | Edit this page View Source

    implicit operator int?(Logprobs)

    Declaration
    public static implicit operator int?(Logprobs p)
    Parameters
    Type Name Description
    Logprobs p
    Returns
    Type Description
    int?
    | Edit this page View Source

    implicit operator Logprobs(int)

    Declaration
    public static implicit operator Logprobs(int v)
    Parameters
    Type Name Description
    int v
    Returns
    Type Description
    Logprobs

    Implements

    INullable
    IEquatable<T>
    IComparable<T>

    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)
    CoreLibTypeExtensions.HasValue(INullable)
    SerializableNullableExtensions.GetValueOrDefault<T>(SerializableNullable<T>, T)
    SerializableNullableExtensions.GetValueOrNull<T>(SerializableNullable<T>)
    SerializableNullableExtensions.HasValue<T>(SerializableNullable<T>)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation