$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') }}
@php
$planId = getCurrentActiveSubscription()?->plan_id ?? 0;
if ($planId) {
$models = \App\Models\AiModel::query()
->whereHas('aiFinance', function ($query) use ($planId) {
$query->where('plan_id', $planId);
})
->whereHas('tokens', function ($query) {
$query->where('type', 'word');
})
->get();
}else {
$models = \App\Models\AiModel::query()
->where('is_selected', 1)
->whereHas('tokens', function ($query) {
$query->where('type', 'word');
})
->get();
}
@endphp
@if($models->count())
{{-- Chatbot front model --}}
{{ __('Chatbot model') }}
@foreach($models as $model)
@endforeach
{{-- @foreach (auth()->user()->getCompanies() ?? [] as $company)--}}
{{-- --}}
{{-- {{ $company->name }}--}}
{{-- --}}
{{-- @endforeach--}}
{{ __('Cancel') }}
{{ __('Done') }}
@endif
{{-- Record Audio --}}