Files
xiaowei 08848607fd v3.8 完整代码: Go API + Rust sidecar + ONNX BGE + Client SDK
- 4 大修复: 缺口分类向量化 + Schema 23字段 + Consolidation走Rust IPC + Client SDK
- BGE ONNX: deploy/bge_embed_server.py + systemd unit,1024维本地推理
- Rust sidecar: 8模块完整,DBSCAN/衰减/修剪/质量回溯/整合报告
- Go: zhiyid 7821端口,37个API端点,多Agent架构
2026-05-29 01:07:05 +08:00

26 lines
800 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Decision Log — 决策记录
> Namespace: shared
> 自动 append,不覆盖历史
---
## 2026-05-28: v3.8 锁定 Go + Rust 双二进制
**决策**: 织忆主进程用 Go (daemon + API),Rust sidecar 负责计算密集型整合(LanceDB/BGE/聚类/衰减)。
**理由**: Go 的并发模型适合 API 层,Rust 的零开销适合数据引擎。
---
## 2026-05-27: BGE-M3 从 API 迁移到本地 ONNX
**决策**: 使用 BGE-M3 ONNX 模型本地推理,替代模力方舟 API 调用。
**理由**: 降低延迟 (500ms → 43ms),去除 API 依赖 (网络被墙)。
---
## 2026-05-26: 零外部依赖策略
**决策**: 所有 Go 功能用标准库实现,禁止引入 gorilla/websocket、go-redis 等外部包。
**理由**: 网络被墙环境,任何外部依赖都可能失败。