Example of response object model : { "name": "promptname", "schema": { "type":…
- User
User: Example of response object model :
code{"name": "prompt_name", "schema": { "type": "string", "code": { "prompt": { "task_name": "task name", "description": "generated description",
"dependencies": [ "generated description as array of instructions for tasks", ], "status": "pending", "isImport": false, } } } }
User: Api function model : exports.apiName = async () => {...}
User: Tasks: "Create a router for task controller.",, "Ensure all necessary API endpoints are defined.",, "Add router parameters where needed.",, "Set isImport to true.",, "Read refrence tasks and create routes using api name",, "Import the controller from ../controller/taskController." Generate dependencies for the listed tasks and provide a JSON response in the following structure:
Response Format: JSON.
Assistant:
- Assistant
Here’s a JSON response object model based on the provided tasks, structured according to your specified format:
json