docs: add backend-architecture.md#44
Open
xiaocheny214 wants to merge 1 commit into
Open
Conversation
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
| - `storage`:对象存储客户端(立绘、图集、帧等二进制落这里,不入 DB)。 | ||
| - `search`:外部检索客户端(SERPAPI 等)。 | ||
| - `auth`:JWT / 租户鉴权。 | ||
| - `providers`:各 AI 模型底层适配器(文本 LLM / 图像 / 视频 / embedding / 抠图分割),均 behind interface,供 ai_engine 经 port 或直接调用。 |
Contributor
There was a problem hiding this comment.
这里允许 ai_engine 直接调用 framework/providers,与前文“server 只 import ai_engine/ports”以及可替换实现的分层约束相矛盾。若保留 direct call,替换基础设施会把耦合带入引擎;否则请明确所有 provider 访问都必须通过 port/注入适配器。
| | 缓存 | | | | ||
| | 部署编排 | | | | ||
| | AI 模型服务 | | | | ||
|
|
Contributor
There was a problem hiding this comment.
文件末尾包含多余空行,git diff --check origin/main...HEAD 会在此处失败。请删除末尾空行,保持文档通过基础 diff 检查。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
后端技术架构文档
内容
变更范围
新增文件:
docs/backend-architecture.md(192行)不涉及任何代码改动