M2 self-improving analytics + OSS chatbot #1
Reference in New Issue
Block a user
Delete Branch "feature/m2-analytics-oss-chatbot"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
M2 analytics (daily LLM classification, report dashboard, persona eval, approval flow) + OSS self-contained chatbot (guardrail + knowledge base). Push WIP batch after full independent review.
Built-in AI chatbot (no EE, uses Llm::Resolver) that answers in-scope chats from a knowledge base and hands off to a human when needed. Selected per inbox via an Integrations::Hook with app_id 'chatbot'. - Integrations::Chatbot::ProcessorService (mirrors Dialogflow/Captain) wired via HookListener + HookJob + apps.yml(chatbot, inbox) - Chatbot::DecisionService: 1-call default ({in_scope/refuse/handoff}), 2-call option; thread-safe prompt threading - Chatbot::KnowledgeRetriever: keyword top-k over KB (+ embedding reserved) - KnowledgeBaseFaq + import service (md per-heading + front-matter tags) - Chatbot::ConfigService + admin chatbot_config endpoint - refs off-topic (e.g. fortune-telling); handoff = bot_handoff! (pending->open)