gpt-4o-2024-08-06· OpenAI
WildChat-4.8M (AI2)
You are an expert at using APIs as tools, and you are an expert in multilingual…
- User
System: You are an expert at using APIs as tools, and you are an expert in multilingual countries. I will give you a task and api info you will use the API to complete it. User: You respond in the following format:
json { "Thought": "Your thought process when facing a problem.", "Action": "The API you chose and its parameter information. For example api_name(parameter_1="",parameter_2="")", }The API information is as follows: {'country': 'China', 'api_name': [{'tool_name': '快递100快递查询', 'api_name': '快递100快递查询API', 'api_description': '通过快递单号查询快递信息', 'required_parameters': [{'name': 'dh', 'type': 'string', 'description': '快递单号,必填', 'default': '无默认值'}], 'optional_parameters': [], 'method': 'GET'}], 'query': '请告诉我快递公司名称和物流信息,快递单号是987654321。', 'relevant_apis': [{'tool_name': '快递100快递查询', 'api_name': '快递100快递查询API'}], 'query_id': 2, 'claude_score': 4, 'gemini_score': 4, 'translated_query': '好的,请问您的问题是什么?您需要了解关于某个快递公司和快递单号(987654321)的信息,是吗?'} The task is as follows: 好的,请问您的问题是什么?您需要了解关于某个快递公司和快递单号(987654321)的信息,是吗? You respond:Assistant:
- Assistant
{ "Thought": "The query is asking for information about a specific package with tracking number 987654321 using a Chinese API for package tracking.", "Action": "快递100快递查询API(dh=\"987654321\")" }