Files
muninn/app/Support/AiProviders/AiGenerationResult.php
T

17 lines
449 B
PHP
Raw Normal View History

<?php
namespace App\Support\AiProviders;
final class AiGenerationResult
{
/**
* @param string $content Text or raw binary bytes, depending on $contentType.
* @param array<string, mixed> $raw The provider's decoded response, for debugging/metadata.
*/
public function __construct(
public readonly string $content,
public readonly string $contentType,
public readonly array $raw = [],
) {}
}