Search Results for

    Show / Hide Table of Contents

    Class OpenAIModelInfo

    Describes an OpenAI model offering that can be used with the API.

    Inheritance
    object
    OpenAIObject
    OpenAIModelInfo
    Implements
    IModelInfo
    IAIResource
    IData
    IHasId<string>
    IHasName
    IDeprecatable
    Inherited Members
    OpenAIObject.Id
    OpenAIObject.Object
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.OpenAI
    Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
    Syntax
    public class OpenAIModelInfo : OpenAIObject, IModelInfo, IAIResource, IData, IHasId<string>, IHasName, IDeprecatable
    Remarks

    Only used for List models and Retrieve model call.

    Properties

    | Edit this page View Source

    Api

    Declaration
    [JsonIgnore]
    public Api Api { get; }
    Property Value
    Type Description
    Api
    | Edit this page View Source

    FineTuningInfo

    Base model information for fine-tuned models. Null if this is not a fine-tuned model. Use IsCustom to check whether this model is fine-tuned.

    Declaration
    [JsonIgnore]
    public BaseModelInfo FineTuningInfo { get; }
    Property Value
    Type Description
    BaseModelInfo
    | Edit this page View Source

    Name

    Gets the name of this object.

    Declaration
    [JsonIgnore]
    public string Name { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    OwnedBy

    The organization that owns the model. If it's a public model, it's owned by "openai".

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

    Provider

    Declaration
    [JsonIgnore]
    public string Provider { get; }
    Property Value
    Type Description
    string

    Implements

    IModelInfo
    IAIResource
    IData
    IHasId<TId>
    IHasName
    IDeprecatable

    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.GetNameOrDash(IData)
    CoreLibTypeExtensions.GetIdOrNull(IHasId<string>)
    CoreLibTypeExtensions.IsNullOrEmptyId(IHasId<string>)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation