openai.php 979 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | OpenAI API Key and Organization
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here you may specify your OpenAI API Key and organization. This will be
  9. | used to authenticate with the OpenAI API - you can find your API key
  10. | and organization on your OpenAI dashboard, at https://openai.com.
  11. */
  12. 'api_key' => env('OPENAI_API_KEY'),
  13. 'organization' => env('OPENAI_ORGANIZATION'),
  14. /*
  15. |--------------------------------------------------------------------------
  16. | Request Timeout
  17. |--------------------------------------------------------------------------
  18. |
  19. | The timeout may be used to specify the maximum number of seconds to wait
  20. | for a response. By default, the client will time out after 30 seconds.
  21. */
  22. 'request_timeout' => env('OPENAI_REQUEST_TIMEOUT', 30),
  23. ];