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': 'Nouvelle-Calédonie', 'api_name': [{'tool_name': 'suivi-colis', 'api_name': 'All', 'api_description': 'Retrieve the entire history of the parcel from its dispatch to the latest status.', 'required_parameters': [{'name': 'colisid', 'type': 'string', 'description': 'The unique identifier for the parcel.', 'default': 'CA107308006SI'}], 'optional_parameters': [], 'method': 'GET'}], 'query': "Fais-moi un récapitulatif de l'historique pour le colis portant le numéro CA408607913DE.", 'relevant_apis': [{'tool_name': 'suivi-colis', 'api_name': 'All'}], 'query_id': 7, 'claude_score': 5, 'gemini_score': 5, 'translated_query': "Fais-moi un récapitulatif de l'historique pour le colis portant le numéro CA408607913DE."} The task is as follows: Fais-moi un récapitulatif de l'historique pour le colis portant le numéro CA408607913DE. You respond:Assistant:
- Assistantjson
{ "Thought": "The task is to retrieve the historical status of a parcel with the specific ID CA408607913DE. The relevant API for this task is the 'suivi-colis', which provides the entire history of a parcel. I will use this API to get the required history.", "Action": "suivi-colis(All, colisid='CA408607913DE')" }