| 1234567891011121314151617 |
- <?php
-
- namespace App\Ai;
-
- /**
- * One answer from an AI model. The same shape for every provider.
- */
- final readonly class AiResponse
- {
- public function __construct(
- public string $text,
- public string $provider,
- public string $model,
- public int $inputTokens = 0,
- public int $outputTokens = 0,
- ) {}
- }
|