inference

package
v2.59.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeploymentMarshalerFunc added in v2.46.0

func DeploymentMarshalerFunc(i any, opt *human.MarshalOpt) (string, error)

func GetCommands

func GetCommands() *core.Commands

func GetGeneratedCommands

func GetGeneratedCommands() *core.Commands

Types

type ListServerlessModelsResponse added in v2.59.0

type ListServerlessModelsResponse struct {
	Object string  `json:"object"`
	Data   []Model `json:"data"`
}

type Model added in v2.59.0

type Model struct {
	ID      string `json:"id"`
	Object  string `json:"object"`
	Created int64  `json:"created"`
	OwnedBy string `json:"owned_by"`
}

type ModelCustom added in v2.59.0

type ModelCustom struct {
	ID               string    `json:"id"`
	CreatedAt        time.Time `json:"created_at"`
	OwnedBy          string    `json:"owned_by"`
	ConsumptionMode  string    `json:"consumption_mode"`
	InputTokenPrice  float64   `json:"input_token_price"`
	OutputTokenPrice float64   `json:"output_token_price"`
	Tasks            []string  `json:"tasks"`
	Reasoning        bool      `json:"reasoning"`
}

Jump to

Keyboard shortcuts

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