Search Results for

    Show / Hide Table of Contents

    Interface IAIResource

    Represents data provided by an AI service provider like Model, Voice, or UploadedFile.

    Inherited Members
    IHasId<string>.Id
    IHasName.Name
    IDeprecatable.IsDeprecated
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public interface IAIResource : IData, IHasId<string>, IHasName, IDeprecatable

    Properties

    | Edit this page View Source

    Api

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

    CreatedAt

    Declaration
    UnixTime? CreatedAt { get; }
    Property Value
    Type Description
    UnixTime?
    | Edit this page View Source

    Description

    Declaration
    string Description { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    IsCustom

    Declaration
    bool IsCustom { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    OwnedBy

    Declaration
    string OwnedBy { get; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    GetMetadata()

    Declaration
    Dictionary<string, string> GetMetadata()
    Returns
    Type Description
    Dictionary<string, string>

    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