gpt-4o-2024-08-06· OpenAI
WildChat-4.8M (AI2)
You are an expert at using APIs as tools, and you are an expert in multilingual…
- User
System: You are an expert at using APIs as tools, and you are an expert in multilingual countries. I will give you a task and api info you will use the API to complete it. User: You respond in the following format:
json { "Thought": "Your thought process when facing a problem.", "Action": "The API you chose and its parameter information. For example api_name(parameter_1="",parameter_2="")", }codeThe API information is as follows: {'country': 'USA', 'api_name': [{'tool_name': 'Proxy List', 'api_name': '/proxy/get', 'api_description': 'Returns the list of proxies based on the given parameters. The list is updated every minute and only includes proxies that are working at the time of the check.', 'required_parameters': [], 'optional_parameters': [{'name': 'type', 'type': 'STRING', 'description': 'Specifies the type of proxy. Possible values: http, https, socks4, socks5.', 'default': 'http'}, {'name': 'country', 'type': 'STRING', 'description': 'Use country code to filter proxies by country. Refer to https://www.nationsonline.org/oneworld/country_code_list.htm for country codes.', 'default': 'US'}, {'name': 'anonymity', 'type': 'STRING', 'description': 'Specifies the level of anonymity. Possible values: high, anonymous, transparent.', 'default': 'high'}], 'method': 'GET'}], 'query': 'I need a list of working proxies; can you ensure they are all from the USA?', 'relevant_apis': [{'tool_name': 'Proxy List', 'api_name': '/proxy/get'}], 'query_id': 10, 'claude_score': 4, 'gemini_score': 4, 'translated_query': 'Can you clarify if you need USA-based working proxies for a specific purpose? It will help me better understand and provide the most relevant options for you.'} The task is as follows: Can you clarify if you need USA-based working proxies for a specific purpose? It will help me better understand and provide the most relevant options for you. You respond: - Assistantjson
{ "Thought": "The user has clarified that they need a list of working proxies specifically based in the USA. Since the purpose is not specified, I will focus on retrieving a general list of USA-based working proxies using the default parameters.", "Action": "Proxy List(type='http', country='US', anonymity='high')" }