-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.json
More file actions
38 lines (38 loc) · 969 Bytes
/
appsettings.json
File metadata and controls
38 lines (38 loc) · 969 Bytes
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
{
"Audio": {
"SampleRate": 16000,
"BitsPerSample": 16,
"Channels": 1,
"MaxRecordingSeconds": 30,
"SilenceThresholdMs": 1500,
"SilenceAmplitude": 0.01,
"Mp3BitRate": 64,
"PreRecordBufferMs": 500,
"BufferMilliseconds": 100
},
"Dify": {
"ApiKey": "app-xxx",
"SpeechToTextEndpoint": "http://127.0.0.1:8082/v1/audio-to-text",
"ChatEndpoint": "http://127.0.0.1:8082/v1/chat-messages",
"RequestTimeout": 30
},
"WebSocket": {
"ServerUrl": "ws://127.0.0.1:8899/demo",
"ReconnectIntervalMs": 5000,
"MaxReconnectAttempts": 3,
"KeepAliveIntervalSeconds": 30,
"ConnectTimeoutSeconds": 10,
"SendTimeoutSeconds": 5
},
"KeywordModel": {
"Path": "keyword_xiaoyi.table", //唤醒词:你好,小翊
"WakeWordTimeoutMinutes": 1
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning"
},
"LogFilePath": "logs/voice-assistant-.txt"
}
}