-
Notifications
You must be signed in to change notification settings - Fork 638
/
example-planner.yaml
43 lines (43 loc) · 1.84 KB
/
example-planner.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
enabled: True
rounds:
- user_query: count the rows of /home/data.csv
state: created
post_list:
- message: count the rows of /home/data.csv
send_from: User
send_to: Planner
attachment_list:
- message: Please load the data file /home/data.csv and count the rows of the loaded data
send_from: Planner
send_to: CodeInterpreter
attachment_list:
- type: init_plan
content: |-
1. load the data file
2. count the rows of the loaded data <sequentially depends on 1>
3. report the result to the user <interactively depends on 2>
- type: plan
content: |-
1. instruct CodeInterpreter to load the data file and count the rows of the loaded data
2. report the result to the user
- type: current_plan_step
content: 1. instruct CodeInterpreter to load the data file and count the rows of the loaded data
- message: Load the data file /home/data.csv successfully and there are 100 rows in the data file
send_from: CodeInterpreter
send_to: Planner
attachment_list:
- message: The data file /home/data.csv is loaded and there are 100 rows in the data file
send_from: Planner
send_to: User
attachment_list:
- type: init_plan
content: |-
1. load the data file
2. count the rows of the loaded data <sequentially depends on 1>
3. report the result to the user <interactively depends on 2>
- type: plan
content: |-
1. instruct CodeInterpreter to load the data file and count the rows of the loaded data
2. report the result to the user
- type: current_plan_step
content: 2. report the result to the user