lilixinsniper/dsh-intent-recognition ↗★ 2
dsh-intent-recognition
DeepSeek Harness plugin: five-layer intent recognition (rules / vector / Jev / fine-tuned / LLM fallback). Zero-config basic edition (local file storage) out of the box; advanced edition adds PostgreSQL + pgvector vector retrieval. Scenario & service management UI included.
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-intent-recognitionREADME
Read the full README ↗Plugin configuration
| Field | Default | Notes |
|---|---|---|
databaseUrl | postgres://postgres:postgres@127.0.0.1:5432/dsh_intent | Advanced-edition fallback DSN (page-saved config wins; only counts when reachable, otherwise basic edition); pgvector must be available |
embeddingDim | 1024 | Must match the configured embedding model; changing it requires an embedding rebuild |
autoMigrate | true | Create tables/indexes on load (HNSW cosine index, pgvector ≥ 0.5) |
adminToken | '' | Bearer token protecting the management API; empty = DSH loopback only |
registerTool | true | Register one intent_recognize_ tool per running service |
contributePrompt | true | Inject a system-prompt section listing available intent services |