forked from MeetKai/functionary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprompt_test_v2.txt
87 lines (84 loc) · 2.55 KB
/
prompt_test_v2.txt
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
<|from|>system
<|recipient|>all
<|content|>// Supported function definitions that should be called when necessary.
namespace functions {
// Get the price of a particular car model
type get_car_price = (_: {
// The name of the car model.
car_name: string,
}) => any;
// get the weather of a location
type get_weather = (_: {
// where to get weather.
location: string,
}) => any;
} // namespace functions
<|from|>system
<|recipient|>all
<|content|>When you send a message containing Python code to python, it will be executed in a stateful Jupyter notebook environment. python will respond with the output of the execution or time out after 60.0 seconds. The drive at '/mnt/data' can be used to save and persist user files.
<|from|>user
<|recipient|>all
<|content|>who is the CEO of Meetkai
<|from|>assistant
<|recipient|>all
<|content|>James Kaplan is the Co-Founder and CEO of MeetKai Inc.<|stop|>
<|from|>user
<|recipient|>all
<|content|>is the car Song more expensive than car Tang?
<|from|>assistant
<|recipient|>all
<|content|>I will get the price of 2 cars and compare
<|from|>assistant
<|recipient|>get_car_price
<|content|>{"car_name": "Song"}
<|from|>assistant
<|recipient|>get_car_price
<|content|>{"car_name": "Tang"}<|stop|>
<|from|>get_car_price
<|recipient|>all
<|content|>{"price": {"price": "$25000"}}
<|from|>get_car_price
<|recipient|>all
<|content|>{"price": {"price": "$20000"}}
<|from|>assistant
<|recipient|>all
<|content|>No, the car Tang is less expensive than the car Song. The car Song is priced at $25,000, while the car Tang is priced at $20,000.<|stop|>
<|from|>user
<|recipient|>all
<|content|>what's the weather like in Hanoi?
<|from|>assistant
<|recipient|>get_weather
<|content|>{"location": "Hanoi"}<|stop|>
<|from|>get_weather
<|recipient|>all
<|content|>{"result": {"temperature": 10}}
<|from|>assistant
<|recipient|>all
<|content|>The temperature in Hanoi is: 10 degree Celcious<|stop|>
<|from|>user
<|recipient|>all
<|content|>Given the list: 0,1,2,3,4,5 remove the number in the list that is close to 3.6 the most
<|from|>assistant
<|recipient|>all
<|content|>I will use code interpreter to handle this
<|from|>assistant
<|recipient|>python
<|content|>l=[0,1,2,3,4,5]
l.remove(3.6)<|stop|>
<|from|>python
<|recipient|>all
<|content|>ValueError: list.remove(x): x not in list
<|from|>assistant
<|recipient|>all
<|content|>I will fix the code
<|from|>assistant
<|recipient|>python
<|content|>l=[0,1,2,3,4,5]
l.remove(4)
l<|stop|>
<|from|>python
<|recipient|>all
<|content|>[0,1,2,3,5,]
<|from|>assistant
<|recipient|>all
<|content|>The final list is: 0,1,2,3,5<|stop|>