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': 'autocomplete usa', 'api_name': 'Autocomplete Addresses', 'api_description': 'Provides autocomplete suggestions for USA addresses.', 'required_parameters': [{'name': 'address', 'type': 'string', 'description': 'The address to autocomplete.', 'default': '48 sunrise dr'}], 'optional_parameters': [], 'method': 'GET'}], 'query': 'I need help auto-completing an address that begins with "456 Oak Avenue."', 'relevant_apis': [{'tool_name': 'autocomplete usa', 'api_name': 'Autocomplete Addresses'}], 'query_id': 2, 'claude_score': 5, 'gemini_score': 5, 'translated_query': 'I need help auto-completing an address that begins with "456 Oak Avenue."'} The task is as follows: I need help auto-completing an address that begins with "456 Oak Avenue." You respond:Assistant:
- Assistantjson
{ "Thought": "To complete the task of auto-completing the address that begins with '456 Oak Avenue', I will use the provided 'Autocomplete Addresses' API, which is specifically designed to provide suggestions for USA addresses.", "Action": "Autocomplete Addresses(address='456 Oak Avenue')" }