Skip to content

docs: add backend-architecture.md#44

Open
xiaocheny214 wants to merge 1 commit into
1024XEngineer:mainfrom
xiaocheny214:doc/backend-architecture
Open

docs: add backend-architecture.md#44
xiaocheny214 wants to merge 1 commit into
1024XEngineer:mainfrom
xiaocheny214:doc/backend-architecture

Conversation

@xiaocheny214

Copy link
Copy Markdown

背景

后端技术架构文档

内容

  • 后端技术架构
  • 各层职责
  • 技术选型

变更范围

新增文件:docs/backend-architecture.md(192行)
不涉及任何代码改动

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

发现两个需要处理的文档问题,详见行内评论。

- `storage`:对象存储客户端(立绘、图集、帧等二进制落这里,不入 DB)。
- `search`:外部检索客户端(SERPAPI 等)。
- `auth`:JWT / 租户鉴权。
- `providers`:各 AI 模型底层适配器(文本 LLM / 图像 / 视频 / embedding / 抠图分割),均 behind interface,供 ai_engine 经 port 或直接调用。

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里允许 ai_engine 直接调用 framework/providers,与前文“server 只 import ai_engine/ports”以及可替换实现的分层约束相矛盾。若保留 direct call,替换基础设施会把耦合带入引擎;否则请明确所有 provider 访问都必须通过 port/注入适配器。

| 缓存 | | |
| 部署编排 | | |
| AI 模型服务 | | |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

文件末尾包含多余空行,git diff --check origin/main...HEAD 会在此处失败。请删除末尾空行,保持文档通过基础 diff 检查。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant