<?php
namespace App\AI\SymfonyAiExtend\Message; use Symfony\AI\Platform\Message\IdentifierAwareTrait; use Symfony\AI\Platform\Message\MessageInterface; use Symfony\AI\Platform\Message\Role; use Symfony\AI\Platform\Metadata\MetadataAwareTrait; use Symfony\Component\Uid\Uuid; final class InstructionsMessage implements MessageInterface { use IdentifierAwareTrait; use MetadataAwareTrait; public function __construct( private readonly string $content, ) { $this->id = Uuid::v7(); } public function getRole(): Role { return Role::System; } public function getContent(): string { return $this->content; } }