@include('whatsappcenter::admin.partials.styles')

AI Training

Feed your bot with knowledge — it will only answer from this content

{{ $totalChunks }} chunks indexed
@if(session('success'))
{{ session('success') }}
@endif
{{-- Add Sources ─────────────────────────────────────────────────────────── --}}
Add Website
@csrf

All visible text from this page will be indexed for AI.

Upload Document
@csrf
Manual Content
@csrf
Test Knowledge Base
{{-- Sources + FAQs ──────────────────────────────────────────────────────── --}}
Indexed Sources ({{ $sources->count() }})
@forelse($sources as $src)
{{ $src->name }}
{{ $src->type }} @if($src->url)  {{ Str::limit($src->url, 40) }} @endif
{{ $src->status }}
{{ $src->chunks_count }} chunks
@csrf
@csrf @method('DELETE')
@empty
📚

No sources yet. Add a website, document, or manual content to get started.

@endforelse
FAQs ({{ $faqs->count() }})
@forelse($faqs as $faq)
Q: {{ $faq->question }}
A: {{ $faq->answer }}
@csrf @method('DELETE')
@empty

No FAQs yet. FAQs are included in every AI response as context.

@endforelse