Files
iAOP/core/llm-gateway/config/cloudapi.template.yaml
T

20 lines
818 B
YAML
Raw Normal View History

# -*- coding: utf-8 -*-
# 模板「云端 API 推理后端」配置资产示例:ti-cl4(Template-Ti 一期)。
#
# 说明(issue #45 / PRD 5.4「④ LLM 网关 + RAG」):
# - 云端 API(Qwen DashScope / DeepSeek OpenAI 兼容)仅承载**脱敏/通用**内容,
# 敏感数据本地闭环(数据不出厂,出站由 DLP + 安全网关复查);
# - API Key 从环境变量读取(api_key_env),禁止硬编码/落日志;
# - 换模型/换服务只改本文件,业务代码零改动。
template: ti-cl4
version: 1.0.0
cloudapi:
provider: deepseek # qwen | deepseek | openai
endpoint: "https://api.deepseek.com/v1"
api_key_env: DEEPSEEK_API_KEY # 从环境变量读取,勿在此填明文
model: "deepseek-chat"
timeout_seconds: 60
max_tokens: 1024
temperature: 0.1