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. 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
- Can you translate the opening paragraph of "Pride and Prejudice" to French for me?
- I need the instructions from this Italian cooking recipe converted into English, could you help with that?
- Please take the lyrics from this Spanish song and translate them to German.
- Could you transform this Portuguese poem into a Japanese version?
- I'm curious about this article in Mandarin; can you get it into English for me?
- Would you be able to change this French email into Spanish so I can understand it better?
- Could you assist by turning this news article from Russian into Arabic?
- Help me by converting this German research paper into English.
- Do you mind translating this Thai travel guide into English for my trip?
- Please switch this Chinese short story into Italian for my class.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.