feat(AI): add ai manager admin and create powerpoint with ai

This commit is contained in:
2026-07-22 08:06:48 +03:30
parent ae974c2afa
commit 4a3c109bf3
23 changed files with 743 additions and 23 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace App\Enums;
enum AiProviderDriver: string
{
case OpenAi = 'openai';
case GapGpt = 'gapgpt';
public function label(): string
{
return match ($this) {
self::OpenAi => 'OpenAI (GPT)',
self::GapGpt => 'GapGPT',
};
}
public function defaultBaseUrl(): string
{
return match ($this) {
self::OpenAi => 'https://api.openai.com/v1',
self::GapGpt => 'https://api.gapgpt.app/v1',
};
}
}