Introduction¶
In the plugin-based ecosystem of DeepSeek Harness (DSH), building a domain-specific knowledge base is a crucial approach to enhancing the specialized capabilities of agents. Given the unstructured nature and complex entity relationships of data in the field of Traditional Chinese Medicine (TCM), developers need a tool that can transform concepts such as formulas and Chinese medicinal materials into structured data. The xby-traditional-chinese-medicine-formulas-kG plugin is designed for this purpose. It builds a knowledge graph focused on TCM formulas, formula names, sources, aliases, prescriptions, medicinal material names, dosages, functions and indications, and their relationships, facilitating subsequent retrieval and analysis.
Plugin Positioning¶
This plugin is maintained by xby-skill and belongs to the “Memory” category. Its core function is to provide a knowledge-graph-based data source, helping DSH users query and reason about TCM-related content during conversations.
Core Features¶
The plugin provides the following three core capabilities:
-
set_xby_apikey
Sets an API key in the chat context. This operation is automatically persisted and remains valid after restarting the DSH process. -
get_schema
Retrieves the schema of the graph database, including nodes, their properties, and relationships. -
execute_read_cypher
An MCP tool used to execute read-only Cypher queries on the graph database.
Installation¶
Use the official installation command to add the plugin to the current environment:
dsh plugin --profile web add github:xby_skill/xby-traditional-chinese-medicine-formulas-kg
Usage Steps¶
Using this plugin typically requires completing authentication configuration first and then performing queries.
- Go to the official Xiaobenyang website to register and obtain an API key.
- In the DSH chat, invoke the
set_xby_apikeycommand to set the key. - Use
get_schemato view the structure of the graph database. - Use
execute_read_cypherto execute specific read-only Cypher query statements.
Important Notes¶
This plugin is currently intended for preliminary research only, and specific applications should be adjusted according to actual needs. Before using it, be sure to register on the official Xiaobenyang website and obtain an API key. Additionally, it is recommended to review the source code and license (MIT) before installation to ensure compliance with your usage standards.
Summary¶
With the configuration described above, a TCM formula knowledge graph can be quickly integrated into the DSH environment, enabling structured data queries. For more technical details and source code, refer to the plugin directory or the GitHub repository.