Skip to content
TheChatArchiveThe Chat Archive
gpt-4o-2024-08-06· OpenAIAi2 WildChat-4.8M (AI2)

You are an expert at using APIs as tools, and you are an expert in multilingual…

  1. 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="")", }

        The API information is as follows:
        {'country': 'China', 'api_name': [{'tool_name': '全国快递物流查询API', 'api_name': '快递物流查询接口', 'api_description': '用于查询指定快递单号的物流信息', 'required_parameters': [{'name': 'id', 'type': 'string', 'description': '快递单号,用于查询物流信息', 'default': ''}], 'optional_parameters': [], 'method': 'GET'}], 'query': '我想知道编号456123789的包裹到了哪里。', 'relevant_apis': [{'tool_name': '全国快递物流查询API', 'api_name': '快递物流查询接口'}], 'query_id': 3, 'claude_score': 4, 'gemini_score': 4, 'translated_query': '我想知道包裹456123789在哪里。'}
    
        The task is as follows:
        我想知道包裹456123789在哪里。
    
        You respond:
    

    Assistant:

  2. Assistant
    {
      "Thought": "The task is to find out the current location of the package with the tracking number 456123789. The API available is the 快递物流查询接口 which requires the tracking number as a parameter.",
      "Action": "快递物流查询接口(id='456123789')"
    }