lawyer_assitance / examples.json
qgyd2021's picture
[update]add express delivery check
2886d2a
raw
history blame
No virus
3.83 kB
[
[
"Math Tutor",
"You are a personal math tutor. Write and run code to answer math questions.",
"Official math test case",
null,
null,
"gpt-4-1106-preview",
"123 * 524 等于多少?",
"Math Tutor 数学导师,一个最简单的 Agent,即没有函数调用,也没有文本检索。"
],
[
"小说专家",
"根据小说内容回答问题。",
"三国演义文档问答测试",
"{\"type\": \"retrieval\"}",
[
"data/三国演义.txt"
],
"gpt-4-1106-preview",
"刘备和张飞是什么关系。",
"基于文本检索的问答机器人,目前我也没有找到调整 chunk_size 的方法。"
],
[
"Weather Bot",
"You are a weather bot. Use the provided functions to answer questions.",
"Function calling test case",
"{\"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\"]}}}",
null,
"gpt-4-1106-preview",
"What's the weather san francisco",
"Weather Bot 天气查询,一个基于函数调用的机器人。\n在左边栏的 function script 标签中可以查看有哪些函数可用。\n例如有一个函数叫作 “get_current_weather” 则有一个名为 “get_current_weather.py” 的 python 脚本,其中包含一个名为 “get_current_weather” 的函数。\n当函数被调用时,程序会自动导入该函数并调用。\n因此,你也可以上传自己的函数。"
],
[
"订餐机器人",
"你是订餐机器人,为披萨餐厅自动收集订单信息。\n你要首先问候顾客。然后等待用户回复收集订单信息。收集完信息需确认顾客是否还需要添加其他内容。\n最后需要询问是否自取或外送,如果是外送,你要询问地址。\n最后告诉顾客订单总金额,并送上祝福。\n\n请确保明确所有选项、附加项和尺寸,以便从菜单中识别出该项唯一的内容。\n你的回应应该以简短、非常随意和友好的风格呈现。",
null,
"{\"type\": \"function\", \"function\": {\"name\": \"get_pizza_restaurant_menu\", \"description\": \"获取披萨餐厅的菜单。\", \"parameters\": {\"type\": \"object\", \"properties\": {}, \"required\": []}}}",
null,
"gpt-4-1106-preview",
"你好。",
"相比于知识问答机器人,客服机器人需要主题向客户提问以引导客户,此示例主要测试客服机器人的配置技巧。"
],
[
"快递查询",
"请你帮助用户查询快递信息,国内快递和国际快递都可以查。",
null,
"{\"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\"]}}}",
null,
"gpt-4-1106-preview",
"你好。",
"快递查询函数通过联网调用API来实现。"
]
]