You are a helpful assistant that generates queries based on API…
- User
Assistant: User: System: You are a helpful assistant that generates queries based on API information in the specified language. User: 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.
Please follow these guidelines:
- 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.
- Do not mention the API's name in your instructions.
- Your instructions should only involve the features provided by these APIs. The instructions that need multiple times of API call is better.
- Generate 10 diverse instructions.
- Use specific nouns and real-world examples from various domains, such as entertainment, sports, or technology.
- Try not to repeat the verb for each instruction to maximize diversity.
- Ensure diversity in language by combining questions with imperative statements and other structures that convey a request.
- The instructions should be in the language of the country attribute in the provided API information.
- The generated problem must strictly follow the API's parameter information.
- If country is Global, please generate 10 instructions in English.
- Avoid using any form of placeholder or generic phrases, such as "this xxx", "a xxx" or "a specific xxx", and provide concrete details instead.
Here is the API information: {'country': 'Global', 'tool_name': 'Text Translator', 'api_list': [{'name': 'translate', 'url': 'https://text-translator2.p.rapidapi.com/translate', 'description': 'This endpoint is used to translate text from one language to another using the POST method.', 'method': 'POST', 'required_parameters': [{'name': 'target_language', 'type': 'STRING', 'description': 'Target language, filled with supported language codes such as: en, eu, id, and many others.', 'default': 'id'}, {'name': 'source_language', 'type': 'STRING', 'description': "Source language, filled with supported language codes such as: en, eu, id, and many others. You can also set the value 'auto' if you want the API to detect the language automatically.", 'default': 'en'}, {'name': 'text', 'type': 'STRING', 'description': 'The field must be filled with text content to be translated, maximum 15,000 characters.', 'default': 'What is your name?'}], 'optional_parameters': [], 'statuscode': '200', 'schema': '"'}]} Please generate the question in the language of the specified country. your response: Assistant: Assistant:
- Assistant
- Could you translate the menu items from Spanish to English for me?
- I need the French subtitles of this movie translated into German, please.
- Help me understand this Russian article by translating it into English.
- Can you convert this email from English to Italian so I can send it to my colleague in Rome?
- I want to read this Japanese book in English; can you translate it?
- Find out what this Korean text means in Indonesian.
- Could you change the lyrics of this song from Portuguese to English?
- Provide a translation of this Chinese recipe into Spanish so I can follow it.
- Help me convert this German blog post into English for my research.
- What does this Arabic document say in French?