%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 54.36.91.62 / Your IP : 216.73.217.162 Web Server : Apache System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : wellingtpa ( 97533) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wellingtpa/www/wp-includes/php-ai-client/src/Providers/Models/Contracts/ |
Upload File : |
<?php
declare (strict_types=1);
namespace WordPress\AiClient\Providers\Models\Contracts;
use WordPress\AiClient\Providers\DTO\ProviderMetadata;
use WordPress\AiClient\Providers\Models\DTO\ModelConfig;
use WordPress\AiClient\Providers\Models\DTO\ModelMetadata;
/**
* Interface for AI models.
*
* Models represent specific AI models from providers and define
* their capabilities, configuration, and execution methods.
*
* @since 0.1.0
*/
interface ModelInterface
{
/**
* Gets model metadata.
*
* @since 0.1.0
*
* @return ModelMetadata Model metadata.
*/
public function metadata(): ModelMetadata;
/**
* Returns the metadata for the model's provider.
*
* @since 0.1.0
*
* @return ProviderMetadata The provider metadata.
*/
public function providerMetadata(): ProviderMetadata;
/**
* Sets model configuration.
*
* @since 0.1.0
*
* @param ModelConfig $config Model configuration.
* @return void
*/
public function setConfig(ModelConfig $config): void;
/**
* Gets model configuration.
*
* @since 0.1.0
*
* @return ModelConfig Current model configuration.
*/
public function getConfig(): ModelConfig;
}