2024-10-31 12:09:06 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
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'),
|
|
|
|
|
'organization' => env('OPENAI_ORGANIZATION'),
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Request Timeout
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| The timeout may be used to specify the maximum number of seconds to wait
|
|
|
|
|
| for a response. By default, the client will time out after 30 seconds.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
'request_timeout' => env('OPENAI_REQUEST_TIMEOUT', 30),
|
|
|
|
|
|
|
|
|
|
//
|
2024-12-06 16:01:53 -06:00
|
|
|
'base_uri' => env('OPENAI_BASE_URI', 'api.openai.com/v1'),
|
2024-10-31 12:09:06 -05:00
|
|
|
'model' => env('OPENAI_MODEL', 'gpt-4o'),
|
|
|
|
|
];
|