-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathSETTINGS.yaml
58 lines (58 loc) · 1.33 KB
/
SETTINGS.yaml
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
# Debug Settings
DEBUG: false
# Model Settings
MODEL_CLIENT: "OAIClient"
#MODEL_URL: "<Your-Base-URL>"
MODEL_AUTH:
api_key: "<Your-API-Key>"
MODEL_OPTIONS:
model: "gpt-4"
# Proxy Settings
#PROXY: "http://127.0.0.1:7890"
# Initial Status
INITIAL_STATUS:
camera_status:
camera_1:
power: 1
zoom_factor: 1.0
camera_2:
power: 0
zoom_factor: 1.0
# Controllers
CONTROLLERS:
turn_on_camera:
desc: "turn on the camera"
args:
camera_name:
$type: "'camera_1' | 'camera_2'"
$desc: "[Required]"
func: "turn_on_camera"
get:
- "camera_status"
set:
"camera_status.<$camera_name>.power": "<$power>"
turn_off_camera:
desc: "turn off the camera"
args:
camera_name:
$type: "'camera_1' | 'camera_2'"
$desc: "[Required]"
func: "turn_off_camera"
get:
- "camera_status"
set:
"camera_status.<$camera_name>.power": "<$power>"
zoom:
desc: "change zoom factor"
args:
target_camera:
$type: "'camera_1' | 'camera_2'"
$desc: "[Required]"
target_zoom_factor:
$type: "float"
$desc: "[Optional] Reset current zoom factor of the camera to target zoom factor."
func: "zoom_camera"
get:
- "camera_status"
set:
"camera_status.<$camera_name>.zoom_factor": "<$zoom_factor>"