-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yaml.default
64 lines (61 loc) · 2.19 KB
/
config.yaml.default
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
common:
motion_mode: "FOLLOW"
motion_mode_start_cmd: "你好"
motion_mode_cmd_response_ok: "好的,来了"
motion_mode_cmd_response_notfound: "还没看清呢!站我前面1米的地方"
motion_mode_stop_cmd: "行动终止"
motion_mode_stop_response: "收到"
agents:
show_detected_results: True
yolo_verbose: True
# model: yolov8n.pt yolov8s.pt yolov8m.pt yolov8l.pt yolov8x.pt
yolo_model: "yolov8m.pt"
# device: cpu cuda mps
yolo_device: "mps"
yolo_frame_interval: 0.5
stt_type: "whisper_api" # whisper_api local_whisper_original local_whisper_fast xf_api sense_voice_small
max_buffered_speech: 15
enable_audio: True
enable_video: True
vision_lang_interval: 0
send_vl_result: True
min_silence_duration: 0.5
min_speaking_duration: 0.3
vad_threshold: 0.2
vad_asume_speech_min_prob: 0.05
vad_asume_speech_max_count: 5
speaker_distance_threshold: 0.3
speaker_write_wav: False
min_chunk_duration: 3
log_debug: True
max_images_for_speak: 1
scene_check_interval: 60 # Interval in seconds for checking the scene
scene_check_min_interval: 30
task_check_interval: 600
task_check_min_interval: 300
llm:
engine: "CHATGPT" # CHATGPT QWEN qwen_local, qwen-plus-0919 支持 CHATGPT SDK
#model: chagpt: chatgpt-4o-latest gpt-4o-mini; qwen: qwen-plus-latest qwen-plus-0919; qwen_local: Qwen/Qwen2.5-7B-Instruct
model: "qwen-plus-0919"
openai_custom_key_envname: "OPENAI_API_KEY"
openai_custom_url: "https://dashscope.aliyuncs.com/compatible-mode/v1"
openai_custom_mm_url: "https://dashscope.aliyuncs.com/compatible-mode/v1"
openai_custom_mm_model: "qwen-vl-plus-0809" # qwen-vl-plus-0809 qwen-vl-max-0809
location: "cn"
vl_engine: "qwen"
vl_model: "qwen-vl-plus" # qwen-vl-plus qwen-vl-max
vl_cmd_catch_pic: "开始拍照"
enable_openai_functions: False
enable_custom_functions: True
custom_functios_output_use_json: False
chat_history_count: 20
chat_history_time_limit: 600
tts: "azure" # azure vits
voice_name: "zh-CN-YunxiNeural" # zh-CN-YunxiNeural
vits_url: "http://192.168.17.141:9880/"
split_skip_comma: False
split_min_length: 10
cache_root: "E:\dp\cache"
api:
www_root: "/var/www/html/"
url_prefix: "http://localhost:8080/"