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': 'USA', 'api_name': [{'tool_name': 'Hull ID Boat HIN Decoder', 'api_name': 'MIC Lookup', 'api_description': 'Enter a boat manufacturer code (3-letter MIC) to retrieve information about the company.', 'required_parameters': [{'name': 'MIC', 'type': 'STRING', 'description': 'The manufacturer identification code to look up.', 'default': 'YAM'}], 'optional_parameters': [], 'method': 'GET'}], 'query': "Look up the MIC 'REG' and tell me about the manufacturer.", 'relevant_apis': [{'tool_name': 'Hull ID Boat HIN Decoder', 'api_name': 'MIC Lookup'}], 'query_id': 8, 'claude_score': 4, 'gemini_score': 5, 'human_score': 5, 'translated_query': 'Appeal to understand the specific issue being referred to: "The issue" "Why are you asking about the manufacturer".'} The task is as follows: Appeal to understand the specific issue being referred to: "The issue" "Why are you asking about the manufacturer". You respond:Assistant:
- Assistantjson
{ "Thought": "The task is asking to look up the boat manufacturer information using the MIC 'REG'. The API available for this task is 'MIC Lookup', which is part of the 'Hull ID Boat HIN Decoder' tool. This requires the MIC parameter, which I have provided.", "Action": "MIC Lookup(MIC='REG')" }