Added OCR and OpenAPI tools

This commit is contained in:
2025-06-09 16:27:14 +02:00
parent 20fca31ced
commit 67197c5c48
12 changed files with 402 additions and 2 deletions

32
config/llm.php Normal file
View File

@ -0,0 +1,32 @@
<?php
return [
/**
* Host for the OpenAI API.
* This should be the base URL of the OpenAI API you are using.
*/
'host' => env('LLM_HOST_URL', 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),
],
]
];