| Method | Request Type | Response Type | Description |
|---|---|---|---|
| Inference | Payload | Payload | Inference |
| GetImage | ImageDownloadRequest | ImageDownloadResponse | Website utils |
| GetMetrics | Empty | MetricItems | |
| GetToken | Empty | RateLimitToken | Rate limiting |
| ListModels | Empty | ListModelsResponse | Database |
| CreateUser | User | Empty | |
| CreateModel | Model | Empty | |
| GetUser | User | Empty |
Web
| Field | Description | Type | Go | Python |
|---|---|---|---|---|
| KVPair | message | |||
| key | string | string | str/unicode | |
| value | string | string | str/unicode |
| Field | Description | Type | Go | Python |
|---|---|---|---|---|
| string> | map<string, | |||
| image_data_url | string | string | str/unicode | |
| model_name | string | string | str/unicode | |
| access_token | string | string | str/unicode |
Downloader
Empty field.
Empty field.
message RateLimitExceeded { string token = 1; uint64 quota = 2; google.protobuf.Timestamp restore_at = 3; }
Empty field.
| Field | Description | Type | Go | Python |
|---|---|---|---|---|
| Metric | message | |||
| key | string | string | str/unicode | |
| value | string | string | str/unicode | |
| unit | string | string | str/unicode | |
| metrics | (slice of) Metric |
| Field | Description | Type | Go | Python |
|---|---|---|---|---|
| model_name | string | string | str/unicode | |
| metadata | (slice of) KVPair |
| Field | Description | Type | Go | Python |
|---|---|---|---|---|
| type | PayloadType | |||
| payload | oneof | |||
| image | Image | |||
| text | Text | |||
| table | Table |
Empty field.
| Field | Description | Type | Go | Python |
|---|---|---|---|---|
| string> | map<string, | |||
| model_name | string | string | str/unicode | |
| access_token | string | string | str/unicode | |
| Row | message | |||
| Row> | map<string, | |||
| column_names | (slice of) string | (slice of) string | (slice of) str/unicode |
Text is a list of string
| Field | Description | Type | Go | Python |
|---|---|---|---|---|
| string> | map<string, | |||
| texts | (slice of) string | (slice of) string | (slice of) str/unicode | |
| model_name | string | string | str/unicode | |
| access_token | string | string | str/unicode |
| Field | Description | Type | Go | Python |
|---|---|---|---|---|
| string | string | str/unicode | ||
| password | string | string | str/unicode |