AI Enrollment Intelligence

Multi-Agent Platform · Smart Recruitment

OFFLINE
Chế độ vận hành
Chuyển giữa Online (kết nối API) và Offline (dữ liệu snapshot / mẫu).
🟠 Offline

Dùng snapshot / dữ liệu mẫu bundled

Supabase
Cấu hình chạy runtime — không hardcode trong code.
Import từ Google Sheet
Dán link Google Sheet public. Nếu Online → upsert lên Supabase (cần policy insert + unique LeadID). Nếu Offline → lưu snapshot.
LLM (Dashboard AI)
OpenAI-compatible endpoint. Dùng cho nút "Phân tích & Dự đoán" trên Dashboard.

System prompt cho box "Gợi ý chiến lược tổng thể cho BGĐ" ở cuối Dashboard.

n8n Chatbot Webhook
Gọi tab Tư vấn AI. Payload: {sessionId, action:"sendMessage", chatInput}. Hỗ trợ stream (SSE) hoặc JSON.
Nâng cao

Endpoint mẫu: POST /predict/lead-score body {leads:[...]}{scores:[{leadId,probability,band}]}

Chỉ ảnh hưởng số Lead render ra màn hình; toàn bộ Lead trong DB vẫn được xử lý cho scoring, funnel, và LLM analytics.