AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

PlanResult.php 522B

12345678910111213141516171819202122
  1. <?php
  2. namespace App\StorePlan\Ai;
  3. /**
  4. * A checked store plan that came back from the AI, with what it cost.
  5. */
  6. final readonly class PlanResult
  7. {
  8. /**
  9. * @param array<string, mixed> $plan
  10. */
  11. public function __construct(
  12. public array $plan,
  13. public string $provider,
  14. public string $model,
  15. public int $inputTokens,
  16. public int $outputTokens,
  17. /** A short message for the merchant. Only set for chat edits. */
  18. public ?string $reply = null,
  19. ) {}
  20. }