-
Notifications
You must be signed in to change notification settings - Fork 245
Expand file tree
/
Copy pathopenai.php
More file actions
49 lines (42 loc) · 1.81 KB
/
Copy pathopenai.php
File metadata and controls
49 lines (42 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?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'),
/*
|--------------------------------------------------------------------------
| OpenAI API Project
|--------------------------------------------------------------------------
|
| Here you may specify your OpenAI API project. This is used optionally in
| situations where you are using a legacy user API key and need association
| with a project. This is not required for the newer API keys.
*/
'project' => env('OPENAI_PROJECT'),
/*
|--------------------------------------------------------------------------
| OpenAI Base URL
|--------------------------------------------------------------------------
|
| Here you may specify your OpenAI API base URL used to make requests. This
| is needed if using a custom API endpoint. Defaults to: api.openai.com/v1
*/
'base_uri' => env('OPENAI_BASE_URL'),
/*
|--------------------------------------------------------------------------
| 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),
];