tancheng33/dsh-ontology0

dsh-ontology

A typed, inference-capable ontology (TBox + ABox) plugin for DeepSeek Harness — durable domain knowledge the agent can define, assert against, and query under schema constraints.

AI Analysis

核心用途是为 AI 智能体提供持久化的结构化领域知识库,支持模式约束和关系推理。适合需要处理复杂业务逻辑、需要智能体维护长期记忆和知识体系的任务。

Package
dsh-ontology
Version
0.1.0
License
MIT
Last updated
Aug 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tancheng33/dsh-ontology

Configuration

Override any of these in your profile's cordis.patch.yml:

KeyDefaultMeaning
domainontologyStorage domain name; one name is one isolated graph. Must match /^[a-z][a-z0-9_]*$/.
stricttrueReject facts that violate the vocabulary. false stores them with the violations recorded, for exploratory modelling.
inferencetrueAllow queries to return entailed facts.
promptSectiontrueContribute the vocabulary summary to the system prompt.
promptMaxTerms60Upper bound on terms in that summary.
promptOrder150Where the section lands in the assembled prompt.
defaultLimit / maxLimit50 / 500Query result sizes.
maxEntities / maxFacts20000 / 100000Capacity guards; a write past the bound fails loudly.

Running two isolated graphs is just two rows:

- insert:
    - id: ontology-team
      name: dsh-ontology
      config: { domain: team_ontology, strict: true, inference: true, promptSection: true,
                promptMaxTerms: 60, promptOrder: 150, defaultLimit: 50, maxLimit: 500,
                maxEntities: 20000, maxFacts: 100000 }

(A patch replaces a row's whole config, so restate every key.)