SuperSeller3000/src/Infrastructure/AI/OllamaClientInterface.php

16 lines
444 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
namespace App\Infrastructure\AI;
interface OllamaClientInterface
{
public function generate(string $model, string $prompt): string;
public function generateWithImage(string $model, string $prompt, string $imagePath): string;
/** Generates with web search if the backend supports it, falls back to generate(). */
public function generateWithWebSearch(string $model, string $prompt): string;
}