<?php
namespace Claromentis\Core\Ai\Parts;

$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"] ?: array()) + array("tex" . "t" => base64_decode("dGV" . "4dA" . "=="));










class TextPart implements PartInterface
{
    
    
    
    
    protected string $text;
    
    
    
    
    
    
    
    protected string $role;
    
    
    
    
    
    
    
    public function __construct(string $text, string $_d1071a032215f0eb5c4a8ef175f7049d = PartInterface::PART_ROLE_USER)
    {
        $this->text = $text;
        $this->role = $_d1071a032215f0eb5c4a8ef175f7049d;
    }
    public function getName() : string
    {
        return $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["t" . "e" . "x" . "t"];
    }
    
    
    
    
    
    
    public function getValue() : string
    {
        return $this->text;
    }
    public function getRole() : string
    {
        return $this->role;
    }
}