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="")", }codeThe 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': '请帮我确认快递单号777888999的快递公司和最新动态。', 'relevant_apis': [{'tool_name': '快递100快递查询', 'api_name': '快递100快递查询API'}], 'query_id': 5, 'claude_score': 5, 'gemini_score': 5, 'translated_query': '请帮我确认快递单号777888999的快递公司和最新动态。'} The task is as follows: 请帮我确认快递单号777888999的快递公司和最新动态。 You respond:Assistant:
- Assistantjson
{ "Thought": "The task requires querying information about a specific package using its tracking number. The relevant API for this task is the '快递100快递查询API', which is designed for querying express delivery information by tracking number.", "Action": "快递100快递查询API(dh='777888999')" }