@php $disable_actions = $app_is_demo && (isset($category) && ($category->slug == 'ai_vision' || $category->slug == 'ai_pdf' || $category->slug == 'ai_chat_image')); @endphp @extends('panel.layout.app', ['disable_tblr' => true]) @section('title', $category->slug == 'ai_vision' ? __('Vision AI') : ($category->slug == 'ai_pdf' ? __('AI File Chat') : ($category->slug == 'ai_chat_image' ? __('Chat Image') : __('AI Chat')))) @section('titlebar_subtitle') @if ($category->slug == 'ai_vision') {{ __('Seamlessly upload any image you want to explore and get insightful conversations.') }} @elseif ($category->slug == 'ai_pdf') {{ __('Simply upload a PDF, find specific information. extract key insights or summarize the entire document.') }} @elseif ($category->slug == 'ai_chat_image') {{ __('Seamlessly generate and craft a diverse array of images without ever leaving your chat environment.') }} @endif @endsection @section('content') @if ($category->slug == 'ai_webchat' && count($list) == 0) @endif
@if (view()->hasSection('chat_sidebar')) @yield('chat_sidebar') @else @include('panel.user.openai_chat.components.chat_sidebar') @endif
@if ($chat != null) @if (view()->hasSection('chat_area_container')) @yield('chat_area_container') @else @include('panel.user.openai_chat.components.chat_area_container') @endif @endif
@if ($category->prompt_prefix != null) @else @endif @endsection @push('script') @include('panel.user.openai_chat.components.chat_js') @endpush