| 12345678910111213141516171819202122 |
- <?php
-
- namespace App\StorePlan\Ai;
-
- /**
- * A checked store plan that came back from the AI, with what it cost.
- */
- final readonly class PlanResult
- {
- /**
- * @param array<string, mixed> $plan
- */
- public function __construct(
- public array $plan,
- public string $provider,
- public string $model,
- public int $inputTokens,
- public int $outputTokens,
- /** A short message for the merchant. Only set for chat edits. */
- public ?string $reply = null,
- ) {}
- }
|