File size: 3,379 Bytes
2b91026
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
{
  "Global prompt:": "请根据给定的指令,利用给定的函数一步一步地完成任务,每一步你必须要从以下函数库中选择一个或者多个无依赖关系的函数,并且为函数生成对应的参数。以json的格式生成每一步如下:step1={\n \"arg1\": [arg1,arg2...],\n \"function1\": \"%s\",\n \"output1\": \"%s\",\n \"description1\": \"%s\"\n},step2={\n \"arg1\": [arg1,arg2..],\n \"function1\": \"%s\",\n \"output1\": \"%s\",\n \"description1\": \"%s\"\n}###, 请注意每步的选择的多个函数之间必须无依赖关系, 并行地生成对应多个result_i, 后面步骤的函数使用之前的result作为参数输入,以###结尾",
  "Function Library:": "",
  "Instruction: 爬取新浪财经当前最新的财经消息和市场动态新闻": "###Function Call: step1={\n \"arg1\": [\"sina\"],\n \"function1\": \"get_latest_new_from_web\",\n \"output1\": \"result1\",\n \"description1\": \"当前最新的财经新闻数据\"\n}###",
  "Instruction: 获取20120711到20220711期间每月的cpi全国同比变化时序数据": "###Function Call: step1={\n \"arg1\": [\"20120711\",\"20220711\",\"cpi\",\"nt_yoy\"],\n \"function1\": \"get_cpi_ppi_currency_supply_data\",\n \"output1\": \"result1\",\n \"description1\": \"cpi全国同比时序数据\"\n}###",
  "Instruction: 获取20120711到20220711中国每季度GDP增速同比数据": "###Function Call: step1={\n \"arg1\": [\"20120711\",\"20220711\",\"gdp_yoy\"],\n \"function1\": \"get_GDP_data\",\n \"output1\": \"result1\",\n \"description1\": \"gdp同比增速数据\"\n}###",
  "Instruction: 获取20120711到20220711中国每月货币供应M2增速同比数据": "###Function Call: step1={\n \"arg1\": [\"20120711\",\"20220711\",\"currency_supply\",\"m2_yoy\"],\n \"function1\": \"get_cpi_ppi_currency_supply_data\",\n \"output1\": \"result1\",\n \"description1\": \"M2同比增速数据\"\n}###",
  "Instruction: 获取上市公司贵州茅台和其主营业务介绍信息": "###Function Call: step1={\n \"arg1\": [\"贵州茅台\"],\n \"function1\": \"get_company_info\",\n \"output1\": \"result1\",\n \"description1\": \"贵州茅台的信息\"\n}###",
  "Instruction: 获取20220101到20230510这段时间北向资金每日净流入和每日累计流入时序数据": "###Function Call: step1={\n \"arg1\": [\"20220101\",\"20230510\"],\n \"function1\": \"get_north_south_money\",\n \"output1\": \"result1\",\n \"description1\": \"北向资金的每日的数据\"\n},step2={\n \"arg1\": [\"result1\",\"accumulate_north_money\"],\n \"function1\": \"calculate_stock_index\",\n \"output1\": \"result2\",\n \"description1\": \"北向资金每日的累计净流入量时序数据\",\n \"arg2\": [\"result1\",\"north_money\"],\n \"function2\": \"calculate_stock_index\",\n \"output2\": \"result3\",\n \"description2\": \"北向资金每日的净流入量的时序数据\"\n}###",
  "Instruction: 获取从20000101到20210523的季度GDP数据并预测此后的12个月的数据": "###Function Call: step1={\n \"arg1\": [\"2000101\",\"20210523\",\"gdp_yoy\"],\n \"function1\": \"get_GDP_data\",\n \"output1\": \"result1\",\n \"description1\": \"gdp同比增速数据\"\n},step2={\n \"arg1\": [\"result1\",\"gdp_yoy\",12],\n \"function1\": \"predict_next_value\",\n \"output1\": \"result2\",\n \"description1\": \"未来12个季度gdp同比增速数据预测数据\"\n}###"
}