Endpoint SDK

Use SDK to upload your dataset and predict

Let's start๐Ÿ”œ

Import package

from innocuous_sdk.endpoint import Endpoint

Login

Use user_name and user_token to login, and start to use the following methods

endpoint = Endpoint('<user_name>', '<user_token>')

Methods

List all running endpoint

List all running endpoint

endpoint_list = endpoint.list_endpoint()

Get endpoint id by name

endpoint_id = endpoint.get_endpoint_id('<my-endpoint-nema>')

Get endpoint information

Predict with json body

Predict with local files

Upload dataset

Last updated

Was this helpful?