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 upload any 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
Sure! Here are 10 diverse instructions based on the Text Translator API:
- Could you help me translate "I love visiting historical landmarks" from English to Spanish?
- I need to understand this Italian recipe; please convert it to English.
- Can you figure out what "Bonjour tout le monde" means in Indonesian?
- I'd like the translation of "Where is the nearest hospital?" into French, please.
- Could you translate "Este producto es increíble" from Spanish to Japanese?
- Help me decode this Russian message to English, saying "Как дела?"
- Please convert "Guten Morgen" from German to Italian.
- I want to know how to say "Thank you for your support" in Korean.
- Can you turn the Portuguese phrase "Você fala inglês?" into English?
- Translate "Saludos desde México" from Spanish to Russian for me.