dsh-docchain

DocChain knowledge base, document conversion and knowledge-graph toolkit — filename, content and metadata search, locate-by-doc_id/name with content reading, topic listing, bulk document upload, document-to-Markdown conversion, image-similarity search, per-document image descriptions saved to a sidecar markdown (flowcharts and architecture diagrams are turned into PlantUML sketches, other images into text descriptions; the original image is replaced by a clickable link), a deep-research workflow, and a knowledge-graph layer (ontology inspection, read-only Cypher, ontology/entity/relation writes). Every script-backed capability also ships as a native DSH tool executed in-process: doc search, content search, filename search, topic info, metadata search, upload, image search, image describe, doc2markdown, plus kg schema / kg cypher / kg upsert node / kg upsert relation / kg delete node / kg delete relation. All graph operations go through the DocChain API, so no Neo4j password is needed. The configuration page keeps several docchain environments (each with its own address and credential), switches between them in one click, and pre-selects topics per environment. Needs a docchain service URL and API key (except doc2markdown); image descriptions additionally need an OpenAI-compatible multimodal endpoint (defaults to an internal gateway model, configurable).

Overview

DocChain knowledge base, document conversion and knowledge-graph toolkit — filename, content and metadata search, locate-by-doc_id/name with content reading, topic listing, bulk document upload, document-to-Markdown conversion, image-similarity search, per-document image descriptions saved to a sidecar markdown (flowcharts and architecture diagrams are turned into PlantUML sketches, other images into text descriptions; the original image is replaced by a clickable link), a deep-research workflow, and a knowledge-graph layer (ontology inspection, read-only Cypher, ontology/entity/relation writes). Every script-backed capability also ships as a native DSH tool executed in-process: doc search, content search, filename search, topic info, metadata search, upload, image search, image describe, doc2markdown, plus kg schema / kg cypher / kg upsert node / kg upsert relation / kg delete node / kg delete relation. All graph operations go through the DocChain API, so no Neo4j password is needed. The configuration page keeps several docchain environments (each with its own address and credential), switches between them in one click, and pre-selects topics per environment. Needs a docchain service URL and API key (except doc2markdown); image descriptions additionally need an OpenAI-compatible multimodal endpoint (defaults to an internal gateway model, configurable).

Installation

Install from GitHub

dsh plugin --profile web add github:wct-lab/dsh-docchain

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.