First Commit

This commit is contained in:
marco
2026-09-01 09:22:30 -03:00
commit a43ae23eb4
407 changed files with 36138 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
<?php
declare(strict_types=1);
namespace App\Services\Ai;
interface AiServiceInterface
{
/**
* Generate a prompt using the AI provider.
*
* @param array<string, mixed> $data
* @return array<string, mixed>
*/
public function generatePrompt(array $data): array;
/**
* Send a chat conversation to the AI provider.
*
* @param array<int, array{role: string, content: string}> $messages
* @param array<string, mixed> $data
* @return array<string, mixed>
*/
public function chat(array $messages, array $data = []): array;
}