nex_docus/docs/sdd/specs/DV-0008-llm-model-config/spec.md

26 lines
788 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# DV-0008LLM 模型配置 规格Spec
- **状态**Implemented
- **关联 ADR**ADR-0004
## 目标
管理 chat/embedding 两类模型配置,供对话与向量化使用。
## 范围
- **In**:模型配置 CRUD、启停、默认、连通性测试、类型差异参数。
- **Out**:密钥托管/加密(当前 API Key 明文字段,见 OI 关注)。
## 用户故事
> 作为管理员,我希望配置并测试大模型,以便对话与向量化使用。
## 功能需求FR
| ID | 需求 | 验收要点 |
| --- | --- | --- |
| FR-13 | 模型配置 CRUD/启停/默认/测试 | chat 与 embedding 分离存储;维度等差异参数 |
## 非功能需求NFR
| ID | 需求 |
| --- | --- |
| NFR-10 | 无默认 embedding 时向量化跳过并告警 |