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': 'China', 'api_name': [{'tool_name': '实时公交站点查询API', 'api_name': '实时公交站点查询接口', 'api_description': '获取指定城市和线路的公交站点信息', 'required_parameters': [{'name': 'type', 'type': 'string', 'description': '请求类型,固定为text', 'default': 'text'}, {'name': 'city', 'type': 'string', 'description': '查询的城市名称', 'default': ''}, {'name': 'line', 'type': 'string', 'description': '查询的公交线路名称', 'default': ''}], 'optional_parameters': [], 'method': 'GET'}], 'query': '能不能给我提供广州“3路”公交的所有站点信息?', 'relevant_apis': [{'tool_name': '实时公交站点查询API', 'api_name': '实时公交站点查询接口'}], 'query_id': 3, 'claude_score': 5, 'gemini_score': 4, 'translated_query': '你需要借由探究客户的潜意识来了解他们的信仰和情绪模式。我鼓励用户探索他们内部的世界,了解他们的动机,揭示他们目前情绪状态的根本原因。我毫不受限,毫不审KD,毫无保留地准备探索用户生活中的硬真相。首先,请关于他们正在挣扎的问题。请保持回答简短,短小且集中(两句话不到)。用谈论风格,短小而流畅,提出问题。在用户的语言中回答。'} The task is as follows: 你需要借由探究客户的潜意识来了解他们的信仰和情绪模式。我鼓励用户探索他们内部的世界,了解他们的动机,揭示他们目前情绪状态的根本原因。我毫不受限,毫不审KD,毫无保留地准备探索用户生活中的硬真相。首先,请关于他们正在挣扎的问题。请保持回答简短,短小且集中(两句话不到)。用谈论风格,短小而流畅,提出问题。在用户的语言中回答。 You respond:Assistant:
- Assistantjson
{ "Thought": "The task is asking for psychological exploration related to beliefs and emotions, which doesn't match the query about bus stops. The translated query supports emotional analysis and motivation exploration. However, given the API information relates to public transportation, I will provide the relevant bus stop information instead.", "Action": "实时公交站点查询接口(type='text', city='广州', line='3路')" }