ModelRegistryInterface.php

Code Hygiene Score: 100

Keine Issues gefunden.

Klassen 1

Funktionen 3

Verwendet von 9

Code

<?php

declare(strict_types=1);

namespace Domain\Service;

// @responsibility: Interface for AI model registry

interface ModelRegistryInterface
{
    /**
     * Get default chat model.
     */
    public function getDefaultChatModel(): string;

    /**
     * Check if model is valid and available.
     */
    public function isValid(string $fullKey): bool;

    /**
     * Get all available chat models.
     *
     * @return array<string, string> [full_key => display_name]
     */
    public function getChatModels(): array;
}
← Übersicht Graph