ai_local

package
v1.5.0-beta Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ILocalModelController

type ILocalModelController interface {
	Search(ctx *gin.Context, keyword string) ([]*ai_local_dto.LocalModelItem, error)
	ListCanInstall(ctx *gin.Context, keyword string) ([]*ai_local_dto.LocalModelPackageItem, error)
	Deploy(ctx *gin.Context)
	DeployStart(ctx *gin.Context, input *ai_local_dto.DeployInput) error
	CancelDeploy(ctx *gin.Context, input *ai_local_dto.CancelDeploy) error
	RemoveModel(ctx *gin.Context, model string) error
	Update(ctx *gin.Context, model string, input *ai_local_dto.Update) error
	State(ctx *gin.Context, model string) (*ai_local_dto.DeployState, *ai_local_dto.ModelInfo, error)
	SimpleList(ctx *gin.Context) ([]*ai_local_dto.SimpleItem, error)
}

Jump to

Keyboard shortcuts

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