Skip to content

[New App] ShenNongMi — TCM Knowledge Graph RAG with LangGraph + Neo4j + DeepSeek #1065

Description

@Happy-Chen-CH

Description

ShenNongMi (神农觅 — "The Divine Farmer Seeks") is a comprehensive Traditional Chinese Medicine (TCM) knowledge platform that combines Neo4j Knowledge Graph, LangGraph intelligent workflows, and DeepSeek LLM with LoRA fine-tuning.

Unlike generic medical QA bots, ShenNongMi is purpose-built for the TCM domain — covering herbal formulas, medicinal herbs, symptoms, efficacy, diseases, and classical TCM texts — with a structured knowledge graph of 6 entity types and 6 relationship types.

Category

rag_tutorials (Knowledge Graph RAG)

Key Features

Feature Description
🧠 TCM Knowledge Q&A Neo4j-powered graph queries with LLM-generated Cypher, FAISS entity matching, and LangGraph workflow orchestration
📝 RED Content Generator AI-powered TCM wellness content creation with Jimeng AI image generation + Playwright browser automation for one-click publishing
🔍 Knowledge Graph Explorer Interactive browsing of the full TCM knowledge network in Neo4j
🎯 Dual-Model Intent Recognition Fine-tuned RoBERTa + fastText ensemble for classifying TCM queries vs. publishing requests

Tech Stack

Layer Technology
Frontend Streamlit (multi-page)
Backend FastAPI (SSE streaming)
Workflow LangGraph
LLM DeepSeek v4 (OpenAI-compatible)
Graph DB Neo4j 5.x
Vector Search FAISS + BGE-Large-Zh-v1.5
Intent Recognition RoBERTa + fastText (fine-tuned)
Image Gen Volcengine Jimeng AI
Browser Automation Playwright

Why This Fits

  • Fills a gap: No existing project in the repo covers Traditional Chinese Medicine or domain-specific knowledge graphs
  • Demonstrates real-world RAG: Not a toy example — shows how to combine graph databases, vector search, and LLMs in a production-style pipeline
  • Unique tech combination: Neo4j + LangGraph + fine-tuned intent recognition is a pattern not yet represented in the repo
  • Fully runnable: Includes data crawling scripts, knowledge extraction pipeline, integration tests, and both frontend/backend services

Repository

https://github.com/Happy-Chen-CH/ShenNongMi

Screenshots

The project includes app screenshots in the picture/ directory showing the TCM Q&A interface, content generator, and knowledge graph explorer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions