Documentation

Maho_Ai_Model_Platform_ModelFetcherInterface
in

Contract for community provider model fetchers.

Implementations are declared via <model_fetcher_class> in provider config and are called by the core ModelFetcher when a community provider is selected.

Table of Contents

Methods

fetchModels()  : array<int, array{value: string, label: string}>
Fetch available models for a given capability.

Methods

fetchModels()

Fetch available models for a given capability.

public fetchModels([string $capability = 'chat' ]) : array<int, array{value: string, label: string}>
Parameters
$capability : string = 'chat'

One of: chat, embed, image, video

Return values
array<int, array{value: string, label: string}>
On this page

Search results