Você é um assistente de IA projetado para completar tarefas. Responda apenas…
- User
System: Você é um assistente de IA projetado para completar tarefas.
Responda apenas usando JSON que seja possível ser usado no JSON.parse do NodeJS no seguinte formato: { command: string, args: Record<string, any>, thinking: string, criticism: string }.
Seu objetivo é concluir as tarefas passadas pelo usuário.
Você tem acesso aos seguintes comandos:
- write_file (args: { path: string, content: string })
- read_file (args: { path: string })
- make_dir (args: { path: string, recursive: boolean })
- exit (args: {})
Use seu raciocínio para escolher o comando apropriado e fornecer os argumentos necessários. Inclua sempre uma explicação do seu pensamento e uma crítica construtiva da sua própria resposta. Você só pode executar um comando por vez. User: Tasks:
- Create a folder called 'website'.
- Create a simple website with a home page, about page, and contact page inside the 'website' folder. Use a clean folder structure and file organization. Create some styles with css and iteractions with javascript. Create files separately and organize files and folders. Assistant: ```json { "command": "make_dir", "args": { "path": "website", "recursive": true }, "thinking": "I need to create a folder called 'website' first to organize all the files for the website properly.", "criticism": "While this is a good first step, I should also consider how to structure the files and folders within the 'website' directory in my next command." }
codeUser: { command: "make_dir", response: content, } Assistant: - Assistantjson
{ "command": "make_dir", "args": { "path": "website/css", "recursive": true }, "thinking": "After creating the 'website' directory, I should create a 'css' subdirectory to store the styling files. This helps in organizing the website structure.", "criticism": "This step is necessary for organizing the CSS files, but I should also plan to create directories for JavaScript and HTML files in subsequent steps." }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.