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': 'Je souhaite savoir où se trouve le colis identifié par CA107508376UK.', 'relevant_apis': [{'tool_name': 'suivi-colis', 'api_name': 'All'}], 'query_id': 6, 'claude_score': 4, 'gemini_score': 4, 'translated_query': 'Je souhaite savoir où se trouve le colis identifié par CA107508376UK.'} The task is as follows: Je souhaite savoir où se trouve le colis identifié par CA107508376UK. You respond:Assistant:
- Assistantjson
{ "Thought": "I need to retrieve the entire history of the parcel with the unique identifier CA107508376UK. The relevant API to use is 'suivi-colis'.", "Action": "suivi-colis(All, colisid='CA107508376UK')" }