-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathg1.json
More file actions
137 lines (136 loc) · 4.84 KB
/
Copy pathg1.json
File metadata and controls
137 lines (136 loc) · 4.84 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"audio_device":{
"device_name": "USB Audio Device",
"channels": 1,
"chunk_size": 512
},
"asr":{
"app_id": "5919896644",
"access_key": "xxxx",
"end_window_size": 600,
"rate": 44100,
"seg_duration": 200,
"url": "wss://openspeech.bytedance.com/api/v3/sauc/bigmodel_async"
},
"tts":{
"app_id": "5919896644",
"access_key": "xxxx",
"voice_type": "zh_male_m191_uranus_bigtts",
"resource_id": "seed-tts-2.0",
"endpoint": "wss://openspeech.bytedance.com/api/v3/tts/bidirection"
},
"llm":{
"llm_doubao_model": "doubao-seed-2-0-lite-260215",
"ark_api_key": "xxxx",
"ark_base_url": "https://ark.cn-beijing.volces.com/api/v3"
},
"work_dir": "~/.config/g1",
"language": "zh",
"wake_up_text": "地瓜地瓜",
"sleep_text": "再见",
"system_prompt_zh_path":"~/.config/g1/g1_system_prompt_zh.txt",
"system_prompt_en_path":"~/.config/g1/g1_system_prompt_en.txt",
"hooks":{
"wake_sleep_hooks": [
{
"name": "wake_up",
"order": 1,
"response_zh": "我在我在, 我是地瓜君",
"response_en": "I'm here, I'm G1Chat",
"signal": "signal:wave_hands"
},
{
"name": "sleep",
"order": 2,
"response_zh": "再见,我要去休息了",
"response_en": "Goodbye, have a nice day!",
"signal": "signal:wave_hands"
}
],
"asr_hooks": [
{
"name": ["停止"],
"relate": "and",
"order": 1,
"response_zh": "好的, 我要停止了",
"response_en": "OK, I'm stopping",
"signal": "signal:stop"
},
{
"name": ["进电梯"],
"relate": "and",
"order": 2,
"response_zh": "好的, 我要进电梯了",
"response_en": "OK, I'm going to the elevator",
"signal": "signal:enter_elevator"
},
{
"name": ["出电梯"],
"relate": "and",
"order": 3,
"response_zh": "好的, 我要出电梯了",
"response_en": "OK, I'm leaving the elevator",
"signal": "signal:leave_elevator"
},
{
"name": ["切换8楼地图","切换八楼地图"],
"relate": "or",
"order": 4,
"response_zh": "好的, 我要切换8楼地图了",
"response_en": "OK, I'm switching to the 8th floor map",
"signal": "signal:switch_8th_floor_map"
},
{
"name": ["切换4楼地图", "切换四楼地图"],
"relate": "or",
"order": 6,
"response_zh": "好的, 我要切换4楼地图了",
"response_en": "OK, I'm switching to the 4th floor map",
"signal": "signal:switch_4th_floor_map"
},
{
"name": ["继续寻找目标点"],
"relate": "and",
"order": 7,
"response_zh": "好的, 我要继续寻找目标点了",
"response_en": "OK, I'm continuing to find the target point",
"signal": "signal:continue_find_target_point"
},
{
"name": ["introduce", "horizon"],
"relate": "and",
"order": 8,
"response_zh": "好的, 我要介绍地平线了",
"response_en": "Horizon Robotics was founded in 2015 and is headquartered in Beijing.",
"signal": "signal:introduce_horizon"
},
{
"name": ["watch", "demo"],
"relate": "and",
"order": 9,
"response_zh": "好的, 我要带你去机器人实验室了",
"response_en": "No problem, please follow me.",
"signal": "signal:watch_demo"
}
],
"location_hooks": [
{
"name": ["机器人实验室"],
"relate": "and",
"order": 1,
"response_zh": "好的, 我要带你去机器人实验室了",
"response_en": "No problem, please follow me.",
"signal": "signal:go_to_robot_lab"
}
],
"control_hooks": {
"one_point_1_waypoint_1":{
"response_zh": "好的, 我已经到导航点了",
"response_en": "I'm at the navigation point."
}
},
"control_signals": [
"one_point_1_waypoint_1"
]
}
}