Imagine that you are a user who wants to utilize the features…
- User
Assistant: User: System: Imagine that you are a user who wants to utilize the features provided by various APIs in your daily life. Your task is to come up with realistic scenarios for using these APIs and express them as natural language instructions, as if you were asking a friend or assistant for help. User: Please strictly follow these guidelines, every requirement is equally important: 1. The instructions should be 1 to 2 sentences long. Use a mix of interrogative sentences, first-person statements, imperative sentences, and other structures that convey a request. Aim for diversity in your instructions. 2. Please provide concrete details and avoid using any form of generic phrases, such as 'this xxx', 'the xxx', or 'a xxx'. 3. Your instructions should only involve the features provided by these APIs. 4. Generate 10 diverse instructions. 5. Use specific nouns and real-world examples from various domains, such as entertainment, sports, or technology. 6. Do not mention the API's name in your instructions. 7. Ensure diversity in language by combining questions with imperative statements and other structures that convey a request. 8. The instructions should be in the language of the country attribute in the provided API information. 9. The generated problem must strictly follow the API's parameter information. 10. If country is Global, please generate 10 instructions in English.
codeHere is the API information: {'country': 'Global', 'tool_name': 'City and State Search API', 'api_list': {'name': 'States List', 'url': 'https://city-and-state-search-api.p.rapidapi.com/states', 'description': 'This endpoint returns a list of states with basic information such as name, code, and country.', 'method': 'GET', 'required_parameters': [], 'optional_parameters': [{'name': 'country_id', 'type': 'STRING', 'description': 'The ID of the country to filter results.', 'default': ''}, {'name': 'sortOrder', 'type': 'STRING', 'description': 'The order in which to sort the results.', 'default': ''}, {'name': 'sortBy', 'type': 'STRING', 'description': 'The field by which to sort the results.', 'default': ''}, {'name': 'limit', 'type': 'NUMBER', 'description': 'The maximum number of results to return.', 'default': ''}, {'name': 'country_code', 'type': 'STRING', 'description': 'The ISO code of the country to filter results.', 'default': 'IN'}, {'name': 'country_name', 'type': 'STRING', 'description': 'The name of the country to filter results.', 'default': ''}], 'statuscode': '200', 'schema': {}}} Please generate the question in the language of the specified country. your response: - Assistant
- Can you find a list of states sorted by name for the country with ISO code 'IN'?
- Please provide the top 5 states from the United States, sorted alphabetically.
- I need a list of states in Brazil; could you get that for me?
- What are the states available in Canada, sorted by their codes?
- Show me the names of all states in Australia with a limit of 10 entries.
- Could you sort and display the Indian states by their names?
- Let’s see the list of states in Mexico without any specific order.
- Retrieve the states in Nigeria with their respective codes, please.
- I want to know all the states in Japan; can you fetch those details?
- Display the list of states from Italy, but only show me 3 entries.