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: instructions to create a api functions for user register, accept user email, password, name, adress , validate user exist , save data in to User db import from ../models/User, send response to user with inserted user details , read the response user schema and recive and insert all required data Generate dependencies for the listed tasks and provide a JSON response in the following structure:
Response Format: JSON.
Assistant:
- Assistant
Here's a structured JSON response that outlines the dependencies and instructions for creating an API function for user registration based on the tasks you provided:
json