From 4c3d5298afe8e660199fc2688b445ef48f0e7444 Mon Sep 17 00:00:00 2001 From: hhs <386998068.com> Date: Mon, 13 Apr 2026 16:18:32 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=AE=8C=E6=88=901.2=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?,=E8=A1=A5=E5=85=85swagger=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/README.md b/backend/README.md index 6eb02f8..aefdf3a 100644 --- a/backend/README.md +++ b/backend/README.md @@ -2,6 +2,8 @@ 🤖 以知识图谱为核心的学习辅助对话智能体,集成 层级记忆、自省反馈、CoT、邮件自动化等技术 +[Swagger 文档](http://localhost:3001/swagger/index.html) + --- ## MVP 开发任务清单 @@ -39,14 +41,14 @@ - 添加到 go.mod - 运行 `go mod tidy` -- [ ] 配置数据库连接字符串 +- [x] 配置数据库连接字符串 - 新增配置文件或环境变量:`NEO4J_URI`、`NEO4J_USERNAME`、`NEO4J_PASSWORD` - 在 `main.go` 中读取并验证连接 - 实现简单的健康检查接口(GET /db/health) ### 1.2 数据模型设计与迁移 -- [ ] 设计 Neo4j 节点与边的属性模型 +- [x] 设计 Neo4j 节点与边的属性模型 - 节点标签(例如:Concept、Tool、Application) - 节点属性:id、label、type、properties(JSON)、x、y、style(JSON) - 关系类型:RELATIONSHIP、DEPENDENCY等