Commit Graph

15 Commits

Author SHA1 Message Date
Xin Wang
c23ef80d3a Integrate LLM support into the application, enhancing the rule management system with a new matcher mode. Update the frontend to handle LLM configurations, including API key management and prompt definitions. Modify the backend to support LLM event matching alongside existing keyword matching, ensuring seamless integration and improved event detection capabilities. 2026-07-17 22:18:29 +08:00
Xin Wang
4caa9e9ee8 Add matcher mode selection to RuleManagement component 2026-07-17 21:33:03 +08:00
Xin Wang
62f0b5df51 Add llm matcher on frontend 2026-07-17 21:06:57 +08:00
Xin Wang
df63a39d93 Remove detailed feature list from README.md to streamline documentation. 2026-07-16 14:51:07 +08:00
Xin Wang
5ff99331c2 Auto generate id instead of manually input 2026-07-16 14:18:43 +08:00
Xin Wang
af70358686 Redesign frontend 2026-07-16 13:58:44 +08:00
Xin Wang
69896460cb Hook up frontend-redesign and backend 2026-07-16 13:15:42 +08:00
Xin Wang
d093f95197 Add frontend app and redesign prototype for rule management UI.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 11:24:02 +08:00
Xin Wang
64d5b82560 Add rule admin APIs with JPA persistence and AC hot reload.
Persist versioned rule documents, validate before save, seed defaults on startup, and switch the in-memory automaton only after commit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 22:05:04 +08:00
Xin Wang
311bef5270 Widen citizen Final window to 5 and document monitor flow in Chinese.
Improve cut-segment recall and clarify AsrEventMonitorService behavior for local maintainers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 21:55:52 +08:00
Xin Wang
af85f1c4b1 Add real-time ASR event detection API.
Wire POST /api/v1/asr-events with per-call locking, citizen Final matching, first-alert dedupe, and validation error handling.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 21:48:56 +08:00
Xin Wang
ed703d6f39 Add call session store with close API and TTL cleanup.
Support immediate in-memory release via POST /api/v1/calls/{callId}/close while keeping scheduled TTL as a fallback for unclosed sessions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 21:43:58 +08:00
Xin Wang
31845f7796 Add domain model, text normalizer, and AC keyword matcher.
Introduce call-session contracts and Chinese-first normalization, then wire an in-memory Aho-Corasick matcher with overlap aggregation and unit coverage.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 21:37:11 +08:00
Xin Wang
e6a667bea5 Scaffold project foundation for ASR event monitor.
Add Maven deps, CN mirrors with DNS workaround, H2 file DB config, and empty package layout from the confirmed solution.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 21:16:36 +08:00
wangx
1d941f7661 Initial commit: Spring Boot demo and ASR event monitor technical solution.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 20:40:49 +08:00