44 lines
1.1 KiB
PHP
44 lines
1.1 KiB
PHP
<?php
|
|
|
|
return [
|
|
/**
|
|
* API configuration
|
|
*/
|
|
'api' => [
|
|
/**
|
|
* Host for the OpenAI API.
|
|
* This should be the base URL of the OpenAI API you are using.
|
|
*/
|
|
'host' => env('LLM_API_HOST_URL', null),
|
|
|
|
/**
|
|
* Token for authenticating with the OpenAI API.
|
|
* Null if not used
|
|
*/
|
|
'token' => env('LLM_API_TOKEN', null),
|
|
],
|
|
|
|
/**
|
|
* Models configuration.
|
|
*/
|
|
'models' => [
|
|
/**
|
|
* Great for chatting, can have reasoning capabilities.
|
|
* This model is typically used for conversational or thinking AI tasks.
|
|
*/
|
|
'chat' => [
|
|
'name' => env('LLM_CHAT_MODEL', null),
|
|
'shouldThink' => env('LLM_CHAT_MODEL_THINK', false),
|
|
],
|
|
|
|
/**
|
|
* Great for analyzing images, can have reasoning capabilities.
|
|
* This model is typically used for tasks that require understanding and interpreting images.
|
|
*/
|
|
'vision' => [
|
|
'name' => env('LLM_VISION_MODEL', null),
|
|
'shouldThink' => env('LLM_VISION_MODEL_THINK', false),
|
|
],
|
|
]
|
|
];
|