| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php
- return [
- /*
- |--------------------------------------------------------------------------
- | Third Party Services
- |--------------------------------------------------------------------------
- |
- | This file is for storing the credentials for third party services such
- | as Mailgun, Postmark, AWS and more. This file provides the de facto
- | location for this type of information, allowing packages to have
- | a conventional file to locate the various service credentials.
- |
- */
- 'postmark' => [
- 'key' => env('POSTMARK_API_KEY'),
- ],
- 'resend' => [
- 'key' => env('RESEND_API_KEY'),
- ],
- 'ses' => [
- 'key' => env('AWS_ACCESS_KEY_ID'),
- 'secret' => env('AWS_SECRET_ACCESS_KEY'),
- 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
- ],
- 'slack' => [
- 'notifications' => [
- 'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
- 'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
- ],
- ],
- 'knowledge_api' => [
- 'base_url' => env('KNOWLEDGE_API_BASE_URL', 'http://localhost:5011'),
- ],
- 'question_bank' => [
- 'base_url' => env('QUESTION_BANK_API_BASE', 'http://localhost:5015/api'),
- 'callback_domain' => env('QUESTION_BANK_CALLBACK_DOMAIN', null),
- 'timeout' => env('QUESTION_BANK_TIMEOUT', 60), // AI 生成可能耗时,默认 60s
- 'retry' => env('QUESTION_BANK_RETRY', 2),
- 'retry_delay' => env('QUESTION_BANK_RETRY_DELAY', 500), // 毫秒
- ],
- 'learning_analytics' => [
- 'url' => env('LEARNING_ANALYTICS_URL', 'http://localhost:5016'),
- 'timeout' => env('LEARNING_ANALYTICS_TIMEOUT', 30),
- ],
- 'mathrecsys' => [
- 'base_url' => env('MATHRECSYS_BASE_URL', 'http://localhost:5010'),
- 'api_key' => env('MATHRECSYS_API_KEY', ''),
- 'timeout' => env('MATHRECSYS_TIMEOUT', 30),
- ],
- ];
|