@php $test_commands = ['Explain an Image', 'Summarize a book for research', 'Translate a book']; $disable_actions = $app_is_demo && (isset($category) && ($category->slug == 'ai_vision' || $category->slug == 'ai_pdf' || $category->slug == 'ai_chat_image')); @endphp
@if (view()->hasSection('chat_head')) @yield('chat_head') @else @include('panel.user.openai_chat.components.chat_head') @endif
$category->slug == 'ai_vision', 'h-full' => $category->slug != 'ai_vision', ])> @if (view()->hasSection('chat_area')) @yield('chat_area') @else @include('panel.user.openai_chat.components.chat_area') @endif @if ($category->slug == 'ai_vision' && ((isset($lastThreeMessage) && $lastThreeMessage->count() == 0) || !isset($lastThreeMessage)))
{{ __('Upload an image and ask me anything') }}
@foreach ($test_commands as $command) {{ __($command) }} @endforeach
@endif
@if ($category->slug == 'ai_vision' && ((isset($lastThreeMessage) && $lastThreeMessage->count() == 0) || !isset($lastThreeMessage)))
@endif
@if (view()->hasSection('chat_form')) @yield('chat_form') @else @include('panel.user.openai_chat.components.chat_form') @endif