@use(\App\Domains\Entity\Enums\EntityEnum) @extends('panel.layout.settings', ['layout' => 'wide']) @section('title', __('Openai Settings')) @section('titlebar_actions', '') @section('titlebar_subtitle', __('This API key is used for all AI-powered features, including AI Chat, Image Generation, and Content Writing')) @section('additional_css') @endsection @section('settings')

{{ __('OpenAI Settings') }}

@if ($app_is_demo)
@else

{{ __('You can enter as much API KEY as you want. Click "Enter" after each api key.') }}

{{ __('Please ensure that your OpenAI API key is fully functional and billing defined on your OpenAI account.') }}

{{ __('After Saving Setting, Click Here to Test Your Api Keys') }}
@endif
@lang('New')
@includeIf('openai-realtime-chat::setting')
@php $openaiImageDrivers = \App\Domains\Entity\EntityStats::image() ->filterByEngine(\App\Domains\Engine\Enums\EngineEnum::OPEN_AI) ->list(); $current_dall_e_model = EntityEnum::fromSlug($settings_two->dalle ?? EntityEnum::DALL_E_2->slug())->slug(); @endphp
@php $openaiWordDrivers = \App\Domains\Entity\EntityStats::word() ->filterByEngine(\App\Domains\Engine\Enums\EngineEnum::OPEN_AI) ->list(); $current_model = EntityEnum::fromSlug($setting->openai_default_model ?? EntityEnum::GPT_4_O->slug())->slug(); @endphp

{{ __('In Words. OpenAI has a hard limit based on Token limits for each model. Refer to OpenAI documentation to learn more. As a recommended by OpenAI, max result length is capped at 2000 tokens') }}

{{ __('The maximum output length refers to the point at which the AI-generated response will stop. It can occur when the response reaches 4096 bytes or when the generated content is considered sufficient for the given context.') }}

{{ __('In Characters') }}

{{ __('Fine Tune') }}

@php App\Http\Controllers\AIFineTuneController::getFineTuneTableRow(); @endphp
{{ __('Custom Name') }} {{ __('File ID') }} {{ __('Bytes') }} {{ __('Base Model') }} {{ __('Fine Tuned Model') }} {{ __('Status') }} {{ __('Actions') }}
@endsection @push('script') @endpush