model

package
v0.0.0-...-58c3220 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployedModel

type DeployedModel struct {
	// deploymentID is ModelDeployment that deploys this model
	DeploymentID string      `json:"deploymentID"`
	ServedModel  ServedModel `json:"servedModel"`
}

DeployedModel contains information about deployed model

type Metadata

type Metadata struct {
	ModelName    string `json:"modelName"`
	ModelVersion string `json:"modelVersion"`
	// Optional metadata key, value
	Others map[string]string `json:"others"`
}

Metadata of a model

type ServedModel

type ServedModel struct {
	Metadata Metadata `json:"metadata"`
	Swagger  Swagger2 `json:"swagger2"`
}

ServedModel contains information about served model

type Swagger2

type Swagger2 struct {
	// Base64 encoded OpenAPI 2.0 definition of MLServer API
	Raw []byte `json:"raw" swaggertype:"string" format:"base64"`
}

Swagger is base64 encoded OpenAPI 2.0 definition of MLServer API

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL