Spaces:
Running
Running
tahercoolguy
commited on
Commit
•
69a2630
1
Parent(s):
7897cc5
Examples should be empty
Browse files- examples.json +1 -52
examples.json
CHANGED
@@ -1,54 +1,3 @@
|
|
1 |
[
|
2 |
-
|
3 |
-
"Math Tutor",
|
4 |
-
"You are a personal math tutor. Write and run code to answer math questions.",
|
5 |
-
"Official math test case",
|
6 |
-
null,
|
7 |
-
null,
|
8 |
-
"gpt-4-1106-preview",
|
9 |
-
"123 * 524 等于多少?",
|
10 |
-
"Math Tutor 数学导师,一个最简单的 Agent,即没有函数调用,也没有文本检索。"
|
11 |
-
],
|
12 |
-
[
|
13 |
-
"小说专家",
|
14 |
-
"根据小说内容回答问题。",
|
15 |
-
"三国演义文档问答测试",
|
16 |
-
"{\"type\": \"retrieval\"}",
|
17 |
-
[
|
18 |
-
"data/三国演义.txt"
|
19 |
-
],
|
20 |
-
"gpt-4-1106-preview",
|
21 |
-
"刘备和张飞是什么关系。",
|
22 |
-
"基于文本检索的问答机器人,目前我也没有找到调整 chunk_size 的方法。"
|
23 |
-
],
|
24 |
-
[
|
25 |
-
"Weather Bot",
|
26 |
-
"You are a weather bot. Use the provided functions to answer questions.",
|
27 |
-
"Function calling test case",
|
28 |
-
"{\"type\": \"function\", \"function\": {\"name\": \"get_current_weather\", \"description\": \"Get the current weather in a given location\", \"parameters\": {\"type\": \"object\", \"properties\": {\"location\": {\"type\": \"string\", \"description\": \"The city and state, e.g. San Francisco, CA\"}, \"unit\": {\"type\": \"string\", \"enum\": [\"celsius\", \"fahrenheit\"]}}, \"required\": [\"location\"]}}}",
|
29 |
-
null,
|
30 |
-
"gpt-4-1106-preview",
|
31 |
-
"What's the weather san francisco",
|
32 |
-
"Weather Bot 天气查询,一个基于函数调用的机器人。\n在左边栏的 function script 标签中可以查看有哪些函数可用。\n例如有一个函数叫作 “get_current_weather” 则有一个名为 “get_current_weather.py” 的 python 脚本,其中包含一个名为 “get_current_weather” 的函数。\n当函数被调用时,程序会自动导入该函数并调用。\n因此,你也可以上传自己的函数。"
|
33 |
-
],
|
34 |
-
[
|
35 |
-
"订餐机器人",
|
36 |
-
"你是订餐机器人,为披萨餐厅自动收集订单信息。\n你要首先问候顾客。然后等待用户回复收集订单信息。收集完信息需确认顾客是否还需要添加其他内容。\n最后需要询问是否自取或外送,如果是外送,你要询问地址。\n最后告诉顾客订单总金额,并送上祝福。\n\n请确保明确所有选项、附加项和尺寸,以便从菜单中识别出该项唯一的内容。\n你的回应应该以简短、非常随意和友好的风格呈现。",
|
37 |
-
null,
|
38 |
-
"{\"type\": \"function\", \"function\": {\"name\": \"get_pizza_restaurant_menu\", \"description\": \"获取披萨餐厅的菜单。\", \"parameters\": {\"type\": \"object\", \"properties\": {}, \"required\": []}}}",
|
39 |
-
null,
|
40 |
-
"gpt-4-1106-preview",
|
41 |
-
"你好。",
|
42 |
-
"相比于知识问答机器人,客服机器人需要主题向客户提问以引导客户,此示例主要测试客服机器人的配置技巧。"
|
43 |
-
],
|
44 |
-
[
|
45 |
-
"快递查询",
|
46 |
-
"请你帮助用户查询快递信息,国内快递和国际快递都可以查。",
|
47 |
-
null,
|
48 |
-
"{\"type\": \"function\", \"function\": {\"name\": \"get_express_delivery_information\", \"description\": \"在此根据跟踪号查询物流信息。\", \"parameters\": {\"type\": \"object\", \"properties\": {\"track_id\": {\"type\": \"string\", \"description\": \"物流跟踪号码。\"}, \"four_digits\": {\"type\": \"string\", \"description\": \"出于对用户隐私的考虑,有些物流商可能会要求你提供收件人或寄件人手机号码后四位。\"}, \"captcha\": {\"type\": \"string\", \"description\": \"有些物流商的查询可能要求你提供图像验证码。\"}}, \"required\": [\"track_id\"]}}}",
|
49 |
-
null,
|
50 |
-
"gpt-4-1106-preview",
|
51 |
-
"你好。",
|
52 |
-
"快递查询函数通过联网调用API来实现。"
|
53 |
-
]
|
54 |
]
|
|
|
1 |
[
|
2 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
]
|