Make Permanent Cached Model Permanent
To use runner
trained model need to be saved permanently. Use this endpoint to make cached models permanent.
https://engine.raccoon-ai.io/api/v1/trainer/ml/permanent/<cached_model_id>
Important: <cached_model_id>
will be available after you trained the model with trainer. Refer trainer
to find <cached_model_id>
.
Authorization
Type | Key | Value |
---|---|---|
API Key | X-Api-Key | rae_########## |
Request Body
Key | Data Type | Required | Description |
---|---|---|---|
model_name | string | true | Name for the trained model |
short_desc | string | true | Short description to explain about the model |
long_desc | string | true | Long description to explain deeply about model (Supports Markdown (MD)). |
Types
{
"model_name": <string>,
"short_desc": <sting>,
"long_desc": <string>
}
Sample
{
"model_name": "My Model",
"short_desc": "This is my model short description",
"long_desc": "This is my model long description. This support **MARKDOWN**"
}
Reponse Body
Key | Data Type | Description |
---|---|---|
success | boolean | Indicate the success of the request |
msg | string | Message indicators |
error_code | int | Error code information, only set if success is false |
result | json | Result, only set if success is true |
gen_at | datetime | Generated datetime |
Types
{
"success": <bool>,
"msg": <string>,
"error": <null> or <string>,
"result": <json>,
"score": <json>,
"generated_ts": <timestamp>
}
Sample