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': 'Brasil', 'api_name': [{'tool_name': 'Consulta CNPJ Grátis', 'api_name': 'Consulta Unificada', 'api_description': 'Retorna todos os dados presentes no Comprovante de Inscrição do Cadastro Nacional da Pessoa Jurídica junto a Receita Federal.', 'required_parameters': [{'name': 'CNPJ', 'type': 'string', 'description': 'CNPJ da Empresa que se deseja consultar.', 'default': '00000000000191'}], 'optional_parameters': [], 'method': 'GET'}], 'query': 'I need to check the registration status of a company; can you look up the CNPJ for me?', 'relevant_apis': [{'tool_name': 'Consulta CNPJ Grátis', 'api_name': 'Consulta Unificada'}], 'query_id': 2, 'claude_score': 4, 'gemini_score': 4, 'translated_query': 'Preciso verificar o status de registro de uma empresa; pode consultar o CNPJ para mim?.'} The task is as follows: Preciso verificar o status de registro de uma empresa; pode consultar o CNPJ para mim?. You respond:Assistant:
- Assistant
{ "Thought": "The task requires checking the registration status of a company using a specific CNPJ. The provided API 'Consulta Unificada' is designed to retrieve all data regarding a company's registration status with the Brazilian Federal Revenue using the CNPJ number.", "Action": "Consulta Unificada(CNPJ='00000000000191')" }