Spaces:
Runtime error
Runtime error
{ | |
"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作为参数输入,以###结尾.请区分到底是查询基金经理还是查询某只基金. 查询基金经理只需要第一步query_fund_Manager即可.", | |
"Function Library:": "", | |
"Instruction: 查询基金,获取20200111到20230111期间华商优势精选基金的累计收益率的时序数据": "###Function Call: step1={\n \"arg1\": [\"华商优势精选\", \"\"],\n \"function1\": \"query_fund_name_or_code\",\n \"output1\": \"result1\",\n \"description1\": \"基金代码\"\n},step2={\n \"arg1\": [\"result1\", \"20200111\", \"20230111\"],\n \"function1\": \"query_fund_data\",\n \"output1\": \"result2\",\n \"description1\": \"基金相关的时序数据\"\n},step3={\n \"arg1\": [\"result2\", \"Cumulative_Earnings_Rate\"],\n \"function1\": \"calculate_stock_index\",\n \"output1\": \"result3\",\n \"description1\": \"基金的每日累计收益率的时序数据\"\n}###", | |
"Instruction: 查询基金,依次获取20200111到20230111期间华商优势行业和易方达蓝筹精选的累计收益率的时序数据,直接查询基金": "###Function Call: step1={\n \"arg1\": [\"华商优势行业\", \"\"],\n \"function1\": \"query_fund_name_or_code\",\n \"output1\": \"result1\",\n \"description1\": \"华商优势行业的基金代码\",\n \"arg2\": [\"易方达蓝筹精选\", \"\"],\n \"function2\": \"query_fund_name_or_code\",\n \"output2\": \"result2\",\n \"description2\": \"易方达蓝筹精选的基金代码\"\n},step2={\n \"arg1\": [\"result1\", \"20200111\", \"20230111\"],\n \"function1\": \"query_fund_data\",\n \"output1\": \"result3\",\n \"description1\": \"华商优势行业相关的时序数据\",\n \"arg2\": [\"result2\", \"20200111\", \"20230111\"],\n \"function2\": \"query_fund_data\",\n \"output2\": \"result4\",\n \"description2\": \"易方达蓝筹精选相关的时序数据\"\n},step3={\n \"arg1\": [\"result3\", \"Cumulative_Earnings_Rate\"],\n \"function1\": \"calculate_stock_index\",\n \"output1\": \"result5\",\n \"description1\": \"华商优势行业的每日累计收益率的时序数据\",\n \"arg2\": [\"result4\", \"Cumulative_Earnings_Rate\"],\n \"function2\": \"calculate_stock_index\",\n \"output2\": \"result6\",\n \"description2\": \"易方达蓝筹精选的每日累计收益率的时序数据\"\n}", | |
"Instruction: 查询基金,依次获取20200111到20230111期间华商优势行业和易方达蓝筹精选的净值时序数据": "###Function Call: step1={\n \"arg1\": [\"华商优势行业\", \"\"],\n \"function1\": \"query_fund_name_or_code\",\n \"output1\": \"result1\",\n \"description1\": \"华商优势行业的基金代码\",\n \"arg2\": [\"易方达蓝筹精选\", \"\"],\n \"function2\": \"query_fund_name_or_code\",\n \"output2\": \"result2\",\n \"description2\": \"易方达蓝筹精选的基金代码\"\n},step2={\n \"arg1\": [\"result1\", \"20200111\", \"20230111\"],\n \"function1\": \"query_fund_data\",\n \"output1\": \"result3\",\n \"description1\": \"华商优势行业相关的时序数据\",\n \"arg2\": [\"result2\", \"20200111\", \"20230111\"],\n \"function2\": \"query_fund_data\",\n \"output2\": \"result4\",\n \"description2\": \"易方达蓝筹精选相关的时序数据\"\n},step3={\n \"arg1\": [\"result3\", \"adj_nav\"],\n \"function1\": \"calculate_stock_index\",\n \"output1\": \"result5\",\n \"description1\": \"华商优势行业的每日净值的时序数据\",\n \"arg2\": [\"result4\", \"adj_nav\"],\n \"function2\": \"calculate_stock_index\",\n \"output2\": \"result6\",\n \"description2\": \"易方达蓝筹精选的每日净值的时序数据\"\n}", | |
"Instruction: 查询基金净值,获取20200111到20230111期间华商优势行业的基金净值时序数据": "###Function Call: step1={\n \"arg1\": [\"华商优势行业\", \"\"],\n \"function1\": \"query_fund_name_or_code\",\n \"output1\": \"result1\",\n \"description1\": \"基金代码\"\n},step2={\n \"arg1\": [\"result1\", \"20200111\", \"20230111\"],\n \"function1\": \"query_fund_data\",\n \"output1\": \"result2\",\n \"description1\": \"基金相关的时序数据\"\n},step3={\n \"arg1\": [\"result2\", \"adj_nav\"],\n \"function1\": \"calculate_stock_index\",\n \"output1\": \"result3\",\n \"description1\": \"基金的每日净值的时序数据\"\n}###", | |
"Instruction: 查询基金净值,获取何帅管理的交银持续成长基金从2020年5月30日到2023年5月30日的净值时序数据": "###Function Call: step1={\n \"arg1\": [\"交银持续成长\", \"\"],\n \"function1\": \"query_fund_name_or_code\",\n \"output1\": \"result1\",\n \"description1\": \"交银持续成长的基金代码\"\n},step2={\n \"arg1\": [\"result1\", \"20200530\", \"20230530\"],\n \"function1\": \"query_fund_data\",\n \"output1\": \"result2\",\n \"description1\": \"交银持续成长的时序数据\"\n},step3={\n \"arg1\": [\"result2\", \"adj_nav\"],\n \"function1\": \"calculate_stock_index\",\n \"output1\": \"result3\",\n \"description1\": \"交银持续成长的每日净值的时序数据\"\n}###", | |
"Instruction: 查询基金经理,获取截止至20230123赵晓东所管理的所有基金名字": "###Function Call: step1={\n \"arg1\": [\"赵晓东\"],\n \"function1\": \"query_fund_Manager\",\n \"output1\": \"result1\",\n \"description1\": \"赵晓东管理的所有基金名字和代码等信息\"\n},step2={\n \"arg1\": [\"result1\",\"fund_name\",-1],\n \"function1\": \"select_value_by_column\",\n \"output1\": \"result1\",\n \"description1\": \"提取赵晓东管理的所有基金名字\"\n}###", | |
"Instruction: 查询多只基金,循环获取20230101到20230503期间周海栋名下所有基金的收益率截面数据": "###Function Call: step1={\n \"arg1\": [\"周海栋\"],\n \"function1\": \"query_fund_Manager\",\n \"output1\": \"result1\",\n \"description1\": \"周海栋管理的所有基金名和代码列表\"\n},step2={\n \"arg1\": [\"result1\",\"fund_code\",-1],\n \"function1\": \"select_value_by_column\",\n \"output1\": \"result2\",\n \"description1\": \"提取所有基金的代码列表\"\n},step3={\n \"arg1\": [\"result2\",\"calculate_earning_between_two_time\",\"20230101\",\"20230503\",\"adj_nav\"],\n \"function1\": \"loop_rank\",\n \"output1\": \"result3\",\n \"description1\": \"周海栋名下每只基金从20230101到20230503的收益率截面数据\"\n}###", | |
"Instruction: 查询多只基金,循环获取2022年01月1日到20230503期间易方达张坤管理的每只基金的收益率截面数据": "###Function Call: step1={\n \"arg1\": [\"张坤\"],\n \"function1\": \"query_fund_Manager\",\n \"output1\": \"result1\",\n \"description1\": \"张坤管理的所有基金数据名字和代码\"\n},step2={\n \"arg1\": [\"result1\",\"fund_code\",-1],\n \"function1\": \"select_value_by_column\",\n \"output1\": \"result2\",\n \"description1\": \"张坤名下的所有基金的代码列表\"\n},step3={\n \"arg1\": [\"result2\",\"calculate_earning_between_two_time\",\"20220101\",\"20230503\",\"adj_nav\"],\n \"function1\": \"loop_rank\",\n \"output1\": \"result3\",\n \"description1\": \"张坤名下每只基金从20220101到20230503的收益率截面数据\"\n}###" | |
} | |