aexol-studio
/
samarite_newsletter_w_data
- Public
- 9 runs
Run aexol-studio/samarite_newsletter_w_data with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
url |
string
|
Samarite API URL
|
|
login |
string
|
Samarite API Login
|
|
password |
string
|
Samarite API Password
|
|
data |
string
|
Path to the data file
|
|
predict_type |
string
(enum)
|
rfm-score
Options: rfm-score, segmentation |
Prediction type
|
show_metrics |
boolean
|
False
|
Whether to show the evaluation metrics
|
{
"type": "object",
"title": "Input",
"required": [
"url",
"login",
"password",
"data"
],
"properties": {
"url": {
"type": "string",
"title": "Url",
"format": "password",
"x-order": 0,
"description": "Samarite API URL",
"x-cog-secret": true
},
"data": {
"type": "string",
"title": "Data",
"format": "uri",
"x-order": 3,
"description": "Path to the data file"
},
"login": {
"type": "string",
"title": "Login",
"format": "password",
"x-order": 1,
"description": "Samarite API Login",
"x-cog-secret": true
},
"password": {
"type": "string",
"title": "Password",
"format": "password",
"x-order": 2,
"description": "Samarite API Password",
"x-cog-secret": true
},
"predict_type": {
"enum": [
"rfm-score",
"segmentation"
],
"type": "string",
"title": "predict_type",
"description": "Prediction type",
"default": "rfm-score",
"x-order": 4
},
"show_metrics": {
"type": "boolean",
"title": "Show Metrics",
"default": false,
"x-order": 5,
"description": "Whether to show the evaluation metrics"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output"
}