{ "opencollection": "1.0.0", "info": { "name": "Ask Sage Server Admin Training API", "version": "2.0" }, "request": { "auth": { "type": "apikey", "key": "x-access-tokens", "value": "{{x-access-tokens}}", "placement": "header" } }, "items": [ { "info": { "name": "Training", "type": "folder" }, "items": [ { "info": { "name": "Train the model (GET)", "type": "http" }, "http": { "method": "GET", "url": "{baseUrl}/server/train" }, "docs": "Add new content to the knowledge base" }, { "info": { "name": "Train the model", "type": "http" }, "http": { "method": "POST", "url": "{baseUrl}/server/train", "body": { "type": "json", "data": "{}" } }, "docs": "Add new content to the knowledge base" }, { "info": { "name": "Train with file (GET)", "type": "http" }, "http": { "method": "GET", "url": "{baseUrl}/server/train-with-file" }, "docs": "Train the model using file content" }, { "info": { "name": "Train with file", "type": "http" }, "http": { "method": "POST", "url": "{baseUrl}/server/train-with-file", "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "dataset", "type": "text", "value": "" } ] } }, "docs": "Train the model using file content" }, { "info": { "name": "Train with array of data (GET)", "type": "http" }, "http": { "method": "GET", "url": "{baseUrl}/server/train-with-array" }, "docs": "Train the model using an array of content" }, { "info": { "name": "Train with array of data", "type": "http" }, "http": { "method": "POST", "url": "{baseUrl}/server/train-with-array", "body": { "type": "multipart-form", "data": [ { "name": "data", "type": "text", "value": "" }, { "name": "dataset", "type": "text", "value": "" }, { "name": "context", "type": "text", "value": "" }, { "name": "filename", "type": "text", "value": "" } ] } }, "docs": "Train the model using an array of content" } ] } ], "bundled": true }