Files
DatBrowser/config/llm.php
Matthias Guillitte f0e52147e4
All checks were successful
Push image to registry / build-image (push) Successful in 5m59s
Added video transcription
2025-07-04 12:36:03 +02:00

62 lines
1.7 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),
'transcription' => [
/**
* Host for the OpenAI transcription API.
* This should be the base URL of the OpenAI transcription API you are using with the API version (v1)
*/
'host' => env('TRANSC_API_HOST_URL', null),
/**
* Token for authenticating with the OpenAI transcription API.
* Null if not used
*/
'token' => env('TRANSC_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),
],
'transcription' => [
'name' => env('TRANSC_TRANSCRIPTION_MODEL', null)
],
]
];