Iterate on a CAD model with a promptdeprecated
deprecated
HTTP Request
application/json
//kcl_version:
string,//original_source_code:
string,//project_name:
string,//prompt:
string,//:
[[ ... ]//- //
file:
string,//prompt:
string,//:
{{ ... }//:
{{ ... },//column:
numberuint32,//line:
numberuint32//
}
:
{{ ... }//column:
numberuint32,//line:
numberuint32//
}
}
}
]
}
Response
- 201 Created
- //
code:
string,//completed_at:
stringISO-8601,//conversation_id:
stringUUID,//created_at:
stringISO-8601,//error:
string,//id:
stringUUID,//model_version:
string,//original_source_code:
string,//prompt:
string,//started_at:
stringISO-8601,//updated_at:
stringISO-8601,//user_id:
stringUUID,//feedback:
,"thumbs_up"+3▾- //Thumbs up.
"thumbs_up" - //Thumbs down.
"thumbs_down" - //Accepted.
"accepted" - //Rejected.
"rejected"
//model:
,"cad"+2▾- //CAD.
"cad" - //KCL.
"kcl" - //KCL iteration.
"kcl_iteration"
//:
[[ ... ],//- //
file:
string,//prompt:
string,//:
{{ ... }//:
{{ ... },//column:
numberuint32,//line:
numberuint32//
}
:
{{ ... }//column:
numberuint32,//line:
numberuint32//
}
}
}
]
status:
"queued"+4▾- //The async API call is queued.
"queued" - //The async API call was uploaded to be converted.
"uploaded" - //The async API call is in progress.
"in_progress" - //The async API call has completed.
"completed" - //The async API call has failed.
"failed"
//
}
Examples
post
/ml/text-to-cad/iteration201 Created
Response