@extends('panel.layout.app') @php $disable_navbar = true; $disable_header = true; $disable_titlebar = true; $disableChatbot = true; @endphp @section('content')
{{ __($category->name) }} {{ __($category->short_name) }}
@if ($category->human_name != '')

{{ __($category->human_name) }}

@endif @if ($category->role != '')

{{ __($category->role) }}

@endif
@foreach ($messages as $message) @if (isset($category) && $category->slug == 'ai_vision' && count($messages) === 1) @continue @endif @if ($message->input != null)
@lang('You'):
{{ $message->input }}
@if ($message->pdfPath != null && $message->pdfPath != '')
@endif @if ($message->images != null) @foreach (explode(',', $message->images) as $image) @endforeach @endif @endif
@if ($message->output != null) @lang('AI Assistant'):
@php $output = $message->output; $output = str_replace(['
', '
', '
', '
'], "\n", $output); @endphp
{{ $output }}
@endif
@if ($message->outputImage != null && $message->outputImage != '') @endif @endforeach @if (count($messages) == 0)
{{ __('You have no message... Please start typing.') }}
@endif
@endsection @push('script') @include('panel.user.openai_chat.components.chat_js') @endpush