This section documents the intent assistant of Cluster ERP, a built-in feature that turns a typed request such as "list the parties" into a call of the matching API endpoint. The engine lives in src/cluster_erp/ai/: a tokenizer, a TF-IDF vectorizer, and an intent matcher trained at start from two example corpora, English and Turkish (src/cluster_erp/ai/intent_engine.py:353-418). The web app reaches it through POST /api/v1/chat/message in src/cluster_erp/server/routes/chat.py, and the desktop client runs the same engine locally. The assistant runs inside the product; it calls no external service.
Pages¶
- How the intent assistant works: the request path, the matching score, the permission scope, and the corpora.
Related pages¶
Verified against commit 92f8051 on 2026-11-13.