forked from MeetKai/functionary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prompt_test_v1.txt
36 lines (34 loc) · 1.25 KB
/
prompt_test_v1.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
system:
// 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;
} // namespace functions<|END_OF_SYSTEM|>
system:
A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. The assistant calls functions with appropriate input when necessary<|END_OF_SYSTEM|>
user:
who is the president of US<|END_OF_USER|>
assistant:
Biden is the president of US<|END_OF_ASSISTANT|>
user:
is the car Song more expensive than car Tang?<|END_OF_USER|>
assistant:
I need to get the price of of the car Song
<|START_OF_FUNCTION_CALL|>get_car_price:
{
"car_name": "Song"
}<|END_OF_FUNCTION_CALL|>
function name=get_car_price:
{'price': {'price': '$25000'}}<|END_OF_FUNCTION_RESULT|>
assistant:
<|START_OF_FUNCTION_CALL|>get_car_price:
{
"car_name": "Tang"
}<|END_OF_FUNCTION_CALL|>
function name=get_car_price:
{'price': {'price': '$20000'}}<|END_OF_FUNCTION_RESULT|>
assistant:
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.<|END_OF_ASSISTANT|>