@php $prompt_filters = [ 'all' => 'All', 'favorite' => 'Favorite', ]; @endphp
{{-- using form element cause issues in webchat after analyzing a website --}}
@csrf
slug != 'ai_vision' && $category->slug != 'ai_pdf') accept="image/*" @endif /> {{ __('Options') }} $category->slug !== 'ai_pdf', ]) container-class="w-full" type="textarea" placeholder="{{ __('Type a message') }}" name="prompt" rows="1" x-model="prompt" x-ref="prompt" ::bind="prompt" />
$category->slug !== 'ai_pdf', 'hidden' => $category->slug === 'ai_pdf', ])>
@if (setting('user_prompt_library') == null || setting('user_prompt_library'))
$category->slug === 'ai_pdf', ])>
@endif {{-- Brand Voice --}}
{{ __('Brand Voice') }}
@foreach (auth()->user()->getCompanies() ?? [] as $company) @endforeach
{{ __('Cancel') }} {{ __('Done') }}
@if(\App\Models\AiModel::planModels()->count()) {{-- Chatbot front model --}}
{{ __('Chatbot model') }}
@foreach(\App\Models\AiModel::planModels() as $model) @endforeach {{-- @foreach (auth()->user()->getCompanies() ?? [] as $company)--}} {{-- --}} {{-- {{ $company->name }}--}} {{-- --}} {{-- @endforeach--}}
{{ __('Cancel') }} {{ __('Done') }}
@endif
{{-- Record Audio --}}
@include('panel.user.openai_chat.components.prompt_library_modal')