{"hits": [{"proj": "hyva-themes/ai/module-ai-open-ai", "file": "LICENSE.txt", "ref": "main", "q": "secret", "data": "   3. Grant of Source Code License. The term \"Source Code\" means the preferred form of the Original Work for making modifications to it and all available documentation describing how to modify the Original Work. Licensor agrees to provide a machine-readable copy of the Source Code of the Original Work along with each copy of the Original Work that Licensor distributes. Licensor reserves the right "}, {"proj": "hyva-themes/ai/module-ai-open-ai", "file": "src/Model/Client.php", "ref": "main", "q": "api_key", "data": "{\n    private const DEFAULT_API_URL = 'https://api.openai.com/v1/chat/completions';\n    private const CONFIG_PATH_API_KEY = 'hyva_ai/openai/api_key';\n\n    public function __construct(\n"}, {"proj": "hyva-themes/ai/module-ai-open-ai", "file": "src/etc/adminhtml/system.xml", "ref": "main", "q": "api_key", "data": "            <group id=\"openai\" translate=\"label\" type=\"text\" sortOrder=\"10\" showInDefault=\"1\" showInWebsite=\"1\" showInStore=\"1\">\n                <label>OpenAI Configuration</label>\n                <field id=\"api_key\" translate=\"label comment\" type=\"obscure\" sortOrder=\"10\" showInDefault=\"1\" showInWebsite=\"1\" showInStore=\"0\">\n                    <label>API Key</label>\n                    <comment><!"}, {"proj": "hyva-themes/ai/module-ai-open-ai", "file": "src/Model/Provider/OpenAiProvider.php", "ref": "main", "q": "token", "data": "        $model = $options['model'] ?? $this->providerConfig->getDefaultModel();\n        $temperature = $options['temperature'] ?? $this->providerConfig->getDefaultTemperature();\n        $maxTokens = $options['max_tokens'] ?? $this->providerConfig->getDefaultMaxTokens();\n\n        $responses = [];\n"}, {"proj": "hyva-themes/ai/module-ai-open-ai", "file": "src/Model/Provider/OptionsSchema.php", "ref": "main", "q": "token", "data": "            ],\n            [\n                'id' => 'max_tokens',\n                'type' => 'number',\n                'label' => __('Max Tokens'),\n                'comment' => __('Maximum tokens for translation responses'),\n                'default' => $this->providerConfig->getDefaultMaxTokens(),\n                'validate' => 'validate-digits validate-digits-range digits-range-1-8000',\n         "}, {"proj": "hyva-themes/ai/module-ai-open-ai", "file": "src/Model/ProviderConfig.php", "ref": "main", "q": "token", "data": "    public const DEFAULT_MODEL = 'gpt-3.5-turbo';\n    public const DEFAULT_TEMPERATURE = 0.3;\n    public const DEFAULT_MAX_TOKENS = 4000;\n\n    public function getProviderName(): string\n"}, {"proj": "hyva-themes/ai/module-ai-open-ai", "file": "src/i18n/en_US.csv", "ref": "main", "q": "token", "data": "\"Get your API key from <a href=\"\"https://platform.openai.com/account/api-keys\"\" target=\"\"_blank\"\">OpenAI Platform</a>\",\"Get your API key from <a href=\"\"https://platform.openai.com/account/api-keys\"\" target=\"\"_blank\"\">OpenAI Platform</a>\"\n\"Invalid response from OpenAI API\",\"Invalid response from OpenAI API\"\n\"Max Tokens\",\"Max Tokens\"\n\"Maximum tokens for translation responses\",\"Maximum tokens for tra"}], "errors": []}