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 instruction to create a product update api , read below given prodcut schma and receive all fields data in req.body needed form user including product id. , send response to user with inserted data , user Product schma to insert update data, , check all data are valid and provided by user Generate dependencies for the listed tasks and provide a JSON response in the following structure:
Response Format: JSON.
Assistant:
- Assistant
Based on your requirements, here is a structured JSON response incorporating the tasks and the relevant instructions for creating a product update API.
json