-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
71 lines (63 loc) · 1.43 KB
/
config.yaml
File metadata and controls
71 lines (63 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# AIOS 配置文件
# 请填写你的API密钥
# SiliconFlow API (https://siliconflow.cn)
siliconflow:
api_key: "your-api-key-here" # 替换为你的API Key
base_url: "https://api.siliconflow.cn/v1"
# 默认模型选择
defaults:
simple_model: "qwen2:7b-instruct-q4_0"
complex_model: "Qwen/Qwen2.5-7B-Instruct"
creation_model: "Qwen/Qwen2.5-14B-Instruct"
# 调度策略
scheduler:
local_threshold: 0.8
cloud_threshold: 0.5
priority_local:
- "查天气"
- "查时间"
- "闲聊"
- "提醒"
- "智能家居"
- "控制"
priority_cloud:
- "编程"
- "AI绘画"
- "写作"
- "百科"
privacy_sensitive:
- "发消息"
- "日程"
- "提醒"
# 日志配置
logging:
level: "INFO"
file: "aios.log"
# 模型配置 - Ollama本地 + SiliconFlow云端
models:
local:
- name: "qwen2:7b-instruct-q4_0"
provider: "ollama"
desc: "Qwen2 7B (本地)"
- name: "llama3.2:latest"
provider: "ollama"
desc: "Llama 3.2"
- name: "qwen3:4b"
provider: "ollama"
desc: "Qwen3 4B"
- name: "gemma3:4b"
provider: "ollama"
desc: "Gemma 3 4B"
cloud:
- name: "Qwen/Qwen2.5-7B-Instruct"
provider: "siliconflow"
# 云端默认模型配置
cloud_model:
model: "Qwen/Qwen2.5-7B-Instruct"
provider: "siliconflow"
temperature: 0.7
max_tokens: 2048
# 本地默认模型 (Ollama)
local_model:
name: "llama3.2"
provider: "ollama"