-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.toml.example
More file actions
103 lines (87 loc) · 1.69 KB
/
Copy pathconfig.toml.example
File metadata and controls
103 lines (87 loc) · 1.69 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[general]
language = "zh-CN"
sample_rate = 16000
block_size = 1024
input_device = -1
[vad]
type = "silero"
threshold = 0.5
min_speech_duration = 0.5
silence_duration = 0.8
[voice]
model_path = "campplus-zh-en"
verification_threshold = 0.45
enrollment_utterances = 5
enrollment_dir = "data/enrollments"
ring_buffer_seconds = 2.0
max_utterance_seconds = 15
[asr]
engine = "sensevoice"
sensevoice_model_path = "models/sensevoice"
sensevoice_num_threads = 2
sensevoice_language = "zh"
sensevoice_use_itn = false
baidu_app_id = ""
baidu_api_key = ""
baidu_secret_key = ""
azure_subscription_key = ""
azure_region = ""
tencent_secret_id = ""
tencent_secret_key = ""
mode = "offline"
[commands]
match_mode = "fuzzy"
fuzzy_threshold = 0.8
[hotkey]
push_to_talk = "ctrl+alt+v"
open_settings = "ctrl+alt+s"
[ui]
font_size = 13
border_radius = 5
theme = "system"
[teacher]
current_teacher = ""
[debug]
verbose = false
print_vad = false
log_asr_unverified = false
[download]
mirror_url = ""
hf_mirror_url = ""
[tesseract]
custom_path = ""
version = ""
[logging]
level = "INFO"
file = ""
[ai]
enabled = false
provider = "openai"
api_url = "https://api.deepseek.com/v1"
api_key = ""
model = "deepseek-chat"
temperature = 0.1
timeout = 10
system_prompt = ""
[agent]
enabled = false
max_steps = 30
ocr_lang = "chi_sim+eng"
temperature = 0.1
timeout = 15
system_prompt = ""
[browser]
default = "edge"
search_engine = "https://www.baidu.com/s?wd={}"
[file]
search_dirs = ["~/Desktop", "~/Documents", "~/Downloads"]
ai_search_depth = 5
[tts]
enabled = false
engine = "moss"
voice = "Xiaoyu"
port = 8080
host = "127.0.0.1"
model_path = "models/moss-tts-nano"
audio_tokenizer_path = "models/moss-audio-tokenizer-nano"
server_timeout = 60