<?php
namespace Claromentis\Core\Ai;

$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] ?: array()) + array("_bd71c3b5c201fc11db82ed14c" . "e424de5" => base64_decode("aW5fYXJyYX" . "k="), "_dfec7e1cbbaedbb732" . "332278565a2701" => base64_decode("YXBwbGljYXRpb" . "24vanNvbg=="), "_e80d78064759a37c89a68c56321c42" . "c5" => base64_decode("bWF4X291dHB1dF90b2tl" . "bnM="), "_91cf532e" . "616098b2b" . "8ede14ed2" . "2e3744" => base64_decode("dGhpbmt" . "pbmc="), "_2f6f8cc0f85893c4a78cb7e0e" . "fdc5df7" => base64_decode("dGV4" . "dC9w" . "bGFp" . "bg=="), "_16800403a5ed18b" . "8f95f8aab6603396" . "c" => base64_decode("cmVzcG9uc2VfbWltZV" . "90eXBl"), "_0b4b4ff9" . "9befdef2e" . "ebaa99e94" . "750027" => base64_decode("cmVzcG9uc2Vfc" . "2NoZW1h"), "_c03ddb4eb" . "748c3a7d22" . "35b642e944" . "863" => base64_decode("dGVtcGV" . "yYXR1cm" . "U="), "_3aac11e456555ea60fb5950" . "9d5ae9965" => base64_decode("dG9w" . "X3A="), "_cc728da4f" . "277c0480a1" . "6d9c70a1b5" . "05a" => base64_decode("dG9wX2" . "s="));
use BadMethodCallException;
class AiTextGenerationConfiguration implements AiConfigurationInterface
{
    public const DEFAULT_RESPONSE_MIME_TYPE = 'text/plain';
    public const DEFAULT_RESPONSE_SCHEMA = [];
    public const DEFAULT_TEMPERATURE = 0.7;
    public const DEFAULT_TOP_P = 1.0;
    public const DEFAULT_TOP_K = 50;
    public const DEFAULT_THINKING = false;
    public const MAX_OUTPUT_TOKENS = 8192;
    private string $responseMimeType = self::DEFAULT_RESPONSE_MIME_TYPE;
    private array $responseSchema = self::DEFAULT_RESPONSE_SCHEMA;
    private float $temperature = self::DEFAULT_TEMPERATURE;
    private float $topP = self::DEFAULT_TOP_P;
    private int $topK = self::DEFAULT_TOP_K;
    private bool $thinking = self::DEFAULT_THINKING;
    private int $maxOutputTokens = self::MAX_OUTPUT_TOKENS;
    
    
    
    
    
    
    
    
    public function getTemperature() : float
    {
        return $this->temperature;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    public function setTemperature(float $_c03ddb4eb748c3a7d2235b642e944863) : self
    {
        $this->temperature = $_c03ddb4eb748c3a7d2235b642e944863;
        return $this;
    }
    
    
    
    
    
    
    
    
    public function getTopP() : float
    {
        return $this->topP;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    public function setTopP(float $_3aac11e456555ea60fb59509d5ae9965) : self
    {
        $this->topP = $_3aac11e456555ea60fb59509d5ae9965;
        return $this;
    }
    
    
    
    
    
    
    
    
    public function getTopK() : int
    {
        return $this->topK;
    }
    
    
    
    
    
    
    
    
    
    
    
    public function setTopK(float $_cc728da4f277c0480a16d9c70a1b505a) : self
    {
        $this->topK = (int) $_cc728da4f277c0480a16d9c70a1b505a;
        return $this;
    }
    
    
    
    
    
    
    public function getResponseMimeType() : string
    {
        return $this->responseMimeType;
    }
    
    
    
    
    
    
    
    
    
    public function setResponseMimeType(string $_cd261a0ff13e4a972caf38ba0d735df6) : self
    {
        if (!$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_bd71c3b5" . "c201fc11d" . "b82ed14ce" . "424de5"]($_cd261a0ff13e4a972caf38ba0d735df6, [$GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_2f6f8cc0f85893c4a78cb7e0" . "efdc5df7"], $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_dfec7e1cbbaedbb73233" . "2278565a2701"]])) {
            return $this;
        }
        $this->responseMimeType = $_cd261a0ff13e4a972caf38ba0d735df6;
        return $this;
    }
    
    
    
    
    
    
    public function getResponseSchema() : array
    {
        return $this->responseSchema;
    }
    
    
    
    
    
    
    
    
    
    public function setResponseSchema(array $_af238b1b28f8dbe6d89ba34d0a85a77c) : self
    {
        $this->responseSchema = $_af238b1b28f8dbe6d89ba34d0a85a77c;
        return $this;
    }
    
    
    
    
    
    
    public function getThinking() : bool
    {
        return $this->thinking;
    }
    
    
    
    
    
    
    
    
    
    
    public function setThinking(bool $_99cee2d2272a8550f4b21e3cb57fff7d) : self
    {
        $this->thinking = $_99cee2d2272a8550f4b21e3cb57fff7d;
        return $this;
    }
    
    
    
    
    
    
    
    public function setMaxOutputTokens(int $_e0d97eb4b205d8e1c5f6153f158d3e09) : self
    {
        $this->maxOutputTokens = $_e0d97eb4b205d8e1c5f6153f158d3e09;
        return $this;
    }
    
    
    
    
    
    
    public function getMaxOutputTokens() : int
    {
        return $this->maxOutputTokens;
    }
    public function toArray() : array
    {
        return [$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_c03ddb4eb748c3a7d2235b" . "642e944863"] => $this->temperature, $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_3aac11e456555ea" . "60fb59509d5ae996" . "5"] => $this->topP, $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_cc728da4f277c0480a16d9" . "c70a1b505a"] => $this->topK, $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_16800403a5ed18b8f95f8aab6603" . "396c"] => $this->responseMimeType, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_0b4b4ff99be" . "fdef2eebaa99" . "e94750027"] => $this->responseSchema, $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_91cf532e616098b2b8ede14ed22e" . "3744"] => $this->thinking, $GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_e80d78064" . "759a37c89a" . "68c56321c4" . "2c5"] => $this->maxOutputTokens];
    }
}