Download config/openai.php from pnacorp/magicai: direct link, hf CLI and curl.
- Browser
- Download file 627 Bytes
-
https://huggingface.co/pnacorp/magicai/resolve/main/config/openai.php
- Command line
-
hf download hf://pnacorp/magicai/config/openai.php
-
curl -L -o openai.php https://huggingface.co/pnacorp/magicai/resolve/main/config/openai.php
627 Bytes
| return [ | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | OpenAI API Key and Organization | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Here you may specify your OpenAI API Key and organization. This will be | |
| | used to authenticate with the OpenAI API - you can find your API key | |
| | and organization on your OpenAI dashboard, at https://openai.com. | |
| */ | |
| 'api_key' => env('OPENAI_API_KEY'), | |
| 'request_timeout' => env('OPENAI_REQUEST_TIMEOUT', 120), | |
| 'organization' => env('OPENAI_ORGANIZATION'), | |
| ]; | |