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>
12 lines
270 B
PHP
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;
|
|
}
|