@cubie-ai/tiny-ai - v0.0.14
    Preparing search index...

    Class TinyProvider<ModelProvider, ModelProviderSettings, ModelProviderId>Abstract

    Base class for all providers. This class is used to create a provider instance. It is not meant to be used directly. Each provider should extend this class and implement the methods.

    Type Parameters

    • ModelProvider extends ProviderV1
    • ModelProviderSettings
    • ModelProviderId extends string = ""

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    provider: undefined | ModelProvider

    Methods

    • Returns an ImageModelV1 instance for the given provider using the specified model ID or the provider's default model ID.

      Parameters

      Returns ImageModelV1

    • Returns a LanguageModelV1 instance for the given provider using the specified model ID or the provider's default model ID.

      Parameters

      Returns LanguageModelV1