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="")", }The API information is as follows: {'country': 'Nouvelle-Calédonie', 'api_name': [{'tool_name': 'suivi-colis', 'api_name': 'Latest', 'api_description': 'Retrieve the current status of the parcel (i.e., the latest status).', 'required_parameters': [{'name': 'colisId', 'type': 'string', 'description': 'The unique identifier for the parcel.', 'default': 'CA107308006SI'}], 'optional_parameters': [], 'method': 'GET'}], 'query': "J'ai besoin de connaître l'état de mon colis, peux-tu le faire avec le numéro CA107308006SI ?", 'relevant_apis': [{'tool_name': 'suivi-colis', 'api_name': 'Latest'}], 'query_id': 6, 'claude_score': 4, 'gemini_score': 5, 'translated_query': "J'ai besoin de connaître l'état de mon colis, peux-tu le faire avec le numéro CA107308006SI ?"} The task is as follows: J'ai besoin de connaître l'état de mon colis, peux-tu le faire avec le numéro CA107308006SI ? You respond:Assistant:
- Assistant
{ "Thought": "The user wants to know the current status of their parcel using the provided parcel number. The relevant API is 'suivi-colis' with the 'Latest' method that retrieves the latest status of a parcel. I will use this API with the provided parcel number as a parameter.", "Action": "Latest(colisId='CA107308006SI')" }