@extends('admin.layouts.app') @section('title', 'AI Intelligence') @section('breadcrumb') AI Intelligence @endsection @section('content')
@include('admin.ai._tabs') {{-- Header --}}

AI Intelligence Hub

RAG pipeline, conflict detection, market intelligence, and AI suggestions

{{-- Stats Cards --}}
{{-- RAG Embeddings --}}
{{ number_format($ragStats['total'] ?? 0) }}
RAG Embeddings
{{-- Pending Conflicts --}}
{{ $conflictStats['pending'] }}
Pending Conflicts
@if($conflictStats['high'] > 0) {{ $conflictStats['high'] }} high severity @endif
{{-- Total Reports Analyzed --}}
{{ number_format($marketStats['total_reports'] ?? 0) }}
Reports Analyzed
{{-- Average Score --}}
{{ $marketStats['avg_score'] ?? 0 }}%
Avg. Feasibility Score
{{-- Quick Actions Grid --}}
{{-- RAG Index --}}

RAG Index

Manage

Vector store for natural language regulation queries.

@foreach(($ragStats['by_source'] ?? []) as $source => $count)
{{ ucfirst(str_replace('_', ' ', $source)) }}: {{ number_format($count) }}
@endforeach
{{-- Conflicts --}}

Conflicts

View All

AI-detected regulation conflicts and contradictions.

Total: {{ $conflictStats['total'] }}
Pending: {{ $conflictStats['pending'] }}
{{-- Market Intelligence --}}

Market Intelligence

Analyze

Trend analysis across feasibility reports.

@foreach(($marketStats['by_project_type'] ?? []) as $type => $count)
{{ ucfirst($type) }}: {{ $count }}
@endforeach
{{-- AI Chatbot --}}

AI Chatbot

Open

Conversational regulation assistant powered by RAG.

Status: @if(\App\Services\AiProviderService::isEnabled()) Active @else AI Not Enabled @endif
@endsection