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 directly include specific tasks without needing to display any other files for resolution.
- Generate 10 diverse instructions.
- Use specific nouns and real-world examples from various domains, such as entertainment, sports, or technology. Avoid using any form of placeholder or generic phrases, such as "this xxx", "a xxx" or "a specific xxx", and provide concrete details instead.
- 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.
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 help me understand this French email in English?
- Translate my favorite Spanish song lyrics into German, please.
- I need to know what this Italian recipe says in Japanese; can you translate it for me?
- Change this English text into Indonesian for my friend.
- I want to read this book excerpt from Korean to Arabic; would you do that for me?
- Please translate this Chinese travel guide into Portuguese.
- Can you convert this article from Russian to French?
- I'd like to see this blog post in English translated to Dutch.
- Help me read this German letter in Vietnamese.
- Make this Swedish poem understandable in Spanish for me.