ai-robot-core/ai-service/app
MerCry ff35538a01 feat(ai-service): implement intent recognition and rule engine (Phase 12 T12.1-T12.5)
[AC-AISVC-65~AC-AISVC-70] Intent recognition with keyword and regex matching

- Add IntentRule SQLModel entity with tenant isolation
- Implement IntentRuleService for CRUD operations with hit statistics
- Implement IntentRouter matching engine (priority DESC, keyword then regex)
- Add rule caching by tenant_id with TTL=60s and CRUD invalidation
- Add intent rules management API (POST/GET/PUT/DELETE /admin/intent-rules)
- Support four response types: fixed/rag/flow/transfer

T12.6 (Orchestrator integration) and T12.7 (unit tests) pending for integration phase
2026-02-27 14:20:31 +08:00
..
api feat(ai-service): implement intent recognition and rule engine (Phase 12 T12.1-T12.5) 2026-02-27 14:20:31 +08:00
core fix: 适配qdrant-client 1.17.0 API变更,search方法改为query_points [AC-AISVC-50] 2026-02-26 19:07:04 +08:00
models feat: 实现 Prompt 模板化功能 (Phase 10 T10.1-T10.8) [AC-AISVC-51~AC-AISVC-58] 2026-02-27 14:15:10 +08:00
services feat(ai-service): implement intent recognition and rule engine (Phase 12 T12.1-T12.5) 2026-02-27 14:20:31 +08:00
__init__.py feat(ai-service): implement LLM Adapter for T3.1 [AC-AISVC-02, AC-AISVC-06] 2026-02-24 13:19:38 +08:00
main.py feat: 实现 Prompt 模板化功能 (Phase 10 T10.1-T10.8) [AC-AISVC-51~AC-AISVC-58] 2026-02-27 14:15:10 +08:00