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.

Package
dsh-intent-recognition
Compatibility
Unverified
Harness peer range
>=0.1.0-rc.6 <0.3.0
Cordis peer range
>=0.1.0-rc.6 <0.3.0 || >=0.2.0-0 <0.3.0 || >=4.0.0 <5.0.0
Version
0.7.1
License
MIT
Last updated
Nov 3, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-intent-recognition

Plugin configuration

FieldDefaultNotes
databaseUrlpostgres://postgres:postgres@127.0.0.1:5432/dsh_intentAdvanced-edition fallback DSN (page-saved config wins; only counts when reachable, otherwise basic edition); pgvector must be available
embeddingDim1024Must match the configured embedding model; changing it requires an embedding rebuild
autoMigratetrueCreate tables/indexes on load (HNSW cosine index, pgvector ≥ 0.5)
adminToken''Bearer token protecting the management API; empty = DSH loopback only
registerTooltrueRegister one intent_recognize_ tool per running service
contributePrompttrueInject a system-prompt section listing available intent services