v1

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRoutes

func BuildRoutes(f *fiber.App, middlewares ...fiber.Handler) error

BuildRoutes builds v1 endpoint routes.

Types

type BechmarkBestRequest added in v0.1.3

type BechmarkBestRequest struct {
	Metrics []string
}

BechmarkBestRequest represents a request to pull best models for each metric.

type CreateBenchmarkRequest added in v0.1.3

type CreateBenchmarkRequest struct {
	Name           string
	EagerStart     bool
	AutoTag        bool
	Tag            string
	DecisionMetric string
	Registries     []string
	Metrics        []types.BenchMetric
	DatasetName    string
	DatasetURL     string
	DatasetFromS3  bool
}

CreateBenchmarkRequest represents a request to create a new benchmark.

type Experiment

type Experiment struct {
	Details string    `json:"details"`
	Runs    []runInfo `json:"runs"`
	Metrics []string  `json:"metrics"`
}

Experiment struct returned by Experiment endpoint.

type Registry

type Registry struct {
	Details     string            `json:"details"`
	Name        string            `json:"name"`
	LastVer     int64             `json:"lastVer"`
	Tags        map[string][]int  `json:"tags"`
	CreatedAt   time.Time         `json:"createdAt,format:datetime"`
	EntriesInfo map[int]entryInfo `json:"entriesInfo"`
}

Registry struct returned by registry endpoint.

Jump to

Keyboard shortcuts

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