refactor: 项目更名 WeKnora → Academy
Build & Publish (dsh-academy) / End-to-end inside dsh (latest, advisory) (push) Skipped
CLI / test (macos-latest / go 1.26) (push) Canceled after 0s
CLI / test (ubuntu-latest / go 1.26) (push) Canceled after 0s
CLI / test (windows-latest / go 1.26) (push) Canceled after 0s
Build and Push Docker Image / build-ui (push) Canceled after 0s
Build and Push Docker Image / build-docreader (push) Canceled after 0s
Build and Push Docker Image / build-sandbox (push) Canceled after 0s
Build and Push Docker Image / build-app (amd64, linux/amd64, ubuntu-latest) (push) Canceled after 0s
Build and Push Docker Image / build-app (arm64, linux/arm64, ubuntu-24.04-arm) (push) Canceled after 0s
Build and Push Docker Image / merge (push) Canceled after 0s
Frontend / Test, type-check, and build (push) Canceled after 0s
Frontend / Docker multi-stage image (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.10) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.11) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.12) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.13) (push) Canceled after 0s
Build & Publish (mcp-server) / Build sdist + wheel (push) Canceled after 0s
Build & Publish (mcp-server) / Publish to PyPI (push) Canceled after 0s
Anydoc / anydoc parser engine (push) Canceled after 0s
App / Format, vet, test, and build (push) Canceled after 0s
DocReader / Python tests and Go client tests (push) Canceled after 0s
Build & Publish (dsh-academy) / Typecheck, test, pack (push) Canceled after 0s
Build & Publish (dsh-academy) / End-to-end inside dsh (pinned) (push) Canceled after 0s
Build & Publish (dsh-academy) / Publish to npm (push) Canceled after 0s
Go Lint Cache / warm lint cache (.) (push) Canceled after 0s
Go Lint Cache / warm lint cache (cli) (push) Canceled after 0s
Go Lint Cache / warm lint cache (client) (push) Canceled after 0s
Helm / chart (push) Canceled after 0s

- 全量替换代码/配置/文档中的项目名(保留上游 GitHub 链接、weixin 文档域名、Docker Hub 镜像名)
- 重命名 32 个含项目名的文件/目录;Go module 路径改为 academy(含 client/cli 子模块)
- docreader proto 描述符采用等长替换,保持序列化字节布局有效
- Dockerfile.app 构建网络修复: browserskill 离线产物通道、PyPI/apt 国内镜像
- 运行验证: go build ✓ docker compose up ✓ 健康检查 ✓
This commit is contained in:
runny committed 2026-11-13 20:52:51 +08:00
1 parent 9097ee699d
commit 9058149576
3136 files changed
+18018 -18004

No files matched your search

@@ -10,13 +10,13 @@ export interface ChunkingSample {
text: string
}
const MARKDOWN_SAMPLE = `# WeKnora 知识框架
const MARKDOWN_SAMPLE = `# Academy 知识框架
WeKnora 是一个基于 LLM 的开源企业知识框架,集 RAG 问答、ReAct 智能体、Wiki 知识图谱于一体。本文介绍其设计动机、架构与典型用法。
Academy 是一个基于 LLM 的开源企业知识框架,集 RAG 问答、ReAct 智能体、Wiki 知识图谱于一体。本文介绍其设计动机、架构与典型用法。
## 设计动机
企业内部知识散落在 Confluence、飞书、Notion、Git 仓库等多种系统,传统全文检索难以理解语义,单一 LLM 又缺少可信赖的上下文来源。WeKnora 的目标是:
企业内部知识散落在 Confluence、飞书、Notion、Git 仓库等多种系统,传统全文检索难以理解语义,单一 LLM 又缺少可信赖的上下文来源。Academy 的目标是:
- **多源接入**:把分散内容统一抽取、清洗、向量化
- **多策略检索**:稠密、稀疏、知识图谱多路召回 + RRF 融合
@@ -60,7 +60,7 @@ WeKnora 是一个基于 LLM 的开源企业知识框架,集 RAG 问答、ReAct
### 启动命令
\`\`\`bash
git clone https://github.com/Tencent/WeKnora && cd WeKnora
git clone https://github.com/Tencent/WeKnora && cd Academy
cp .env.example .env # 修改你的模型与数据库配置
make dev-start # 启动 postgres / redis / qdrant
make dev-app # 启动后端,热重载
@@ -71,7 +71,7 @@ make dev-frontend # 启动前端,自动刷新
## 架构概览
WeKnora 后端采用清晰的分层架构:
Academy 后端采用清晰的分层架构:
\`\`\`
┌────────────────────────┐
@@ -109,7 +109,7 @@ Agent 引擎执行经典 ReAct 循环:
- 故障排查:\`website-docs/01-getting-started/05-troubleshooting.md\`
- 产品介绍:\`website-docs/01-getting-started/01-introduction.md\``
const FAQ_SAMPLE = `# WeKnora 部署与使用 FAQ
const FAQ_SAMPLE = `# Academy 部署与使用 FAQ
本文档汇总社区与内部用户最常问到的问题,按"安装 / 配置 / 检索 / 模型 / 性能"分类。
@@ -148,7 +148,7 @@ docker pull docker.m.daocloud.io/wechatopenai/weknora-ui:v0.5.0
在知识库的"多模态配置"中开启,并选择一个 VLM 模型(如 GPT-4o、Qwen2.5-VL)。开启后,文档中的图片会被 VLM 描述并参与检索。
### Q9: 如何自定义日志格式?
设置 \`WEKNORA_LOG_FORMAT="%d %level %msg" LOG_LEVEL=info\`。模板必须包含 \`%msg\`;留空使用默认格式,\`json\` 不是受支持的格式关键字。
设置 \`ACADEMY_LOG_FORMAT="%d %level %msg" LOG_LEVEL=info\`。模板必须包含 \`%msg\`;留空使用默认格式,\`json\` 不是受支持的格式关键字。
## 检索与召回