{{ __('Admin · Help desk') }}
{{ __('Client support') }} {{ __('bot') }}.
{{ __('One help-desk widget for every logged-in user. Answers from your docs first; escalates to AI only when docs are weak, then to the web only when the answer is not in the docs. Everything here is admin-set — users just ask.') }}
{{ session('error') }}
@endif
{{-- ============ Settings form ============ --}}
{{-- ============ Knowledge sources ============ --}}
{{ __('Knowledge sources') }}
{{ __('Upload help docs (md, html, pdf, docx, txt, csv), add a page URL, or paste text.') }} · {{ trans_choice('{0}no chunks|{1}:count chunk|[2,*]:count chunks', $chunkCount, ['count' => $chunkCount]) }}
| {{ __('Source') }} | {{ __('Type') }} | {{ __('Status') }} | {{ __('Chunks') }} | |
|---|---|---|---|---|
| {{ $s->label }} | {{ $s->kind }} | {{ $s->status }} @if ($s->status === 'error'){{ \Illuminate\Support\Str::limit($s->error, 60) }}@endif | {{ $s->chunks_count ?? $s->chunks()->count() }} | |
| {{ __('No sources yet. Add help docs above.') }} | ||||
{{ __('Showing') }} {{ $sources->firstItem() ?? 0 }}–{{ $sources->lastItem() ?? 0 }} {{ __('of') }} {{ number_format($sources->total()) }} {{ __('sources') }}
{{ $sources->onEachSide(1)->links() }}
{{ __('Recent questions') }}
{{ __('What users are asking and which tier answered.') }} · {{ $unmatched }} {{ __('unanswered') }}
| {{ __('Question') }} | {{ __('Tier') }} | {{ __('Score') }} | {{ __('When') }} |
|---|---|---|---|
| {{ \Illuminate\Support\Str::limit($l->question, 80) }} | {{ $l->engine }} | {{ $l->score }} | {{ $l->created_at?->diffForHumans() }} |
| {{ __('No questions yet.') }} | |||
{{ __('Showing') }} {{ $logs->firstItem() ?? 0 }}–{{ $logs->lastItem() ?? 0 }} {{ __('of') }} {{ number_format($logs->total()) }} {{ __('questions') }}
{{ $logs->onEachSide(1)->links() }}