SuperSeller3000/src/Infrastructure/AI/OllamaClientInterface.php
Simon Kuehn fddfd920f5 feat: add Symfony Messenger pipeline with AI agents and handlers
Messages and handlers for the full AI pipeline:
DraftArticle → Validation → SpecsResearch → PhotoUpload → EbayText →
JsonCoding → PublishToChannel / DeactivateListingMessage / TrackingPush /
UpdateStockOnChannels / OrderReceived.

OllamaClient and OllamaClientInterface provide the base LLM backend.
AI agents (EbayTextAgent, JsonCodingAgent, OllamaVisionAgent,
SpecsResearchAgent) wrap the client with task-specific prompts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 22:43:47 +00:00

12 lines
270 B
PHP

<?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;
}