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: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ILocalModelModule

type ILocalModelModule interface {
	Search(ctx context.Context, keyword string) ([]*ai_local_dto.LocalModelItem, error)
	ListCanInstall(ctx context.Context, keyword string) ([]*ai_local_dto.LocalModelPackageItem, error)
	Deploy(ctx context.Context, model string, session string) (*ai_provider_local.Pipeline, error)
	CancelDeploy(ctx context.Context, model string) error
	RemoveModel(ctx context.Context, model string) error
	Enable(ctx context.Context, model string) error
	Disable(ctx context.Context, model string) error
	ModelState(ctx context.Context, model string) (*ai_local_dto.DeployState, *ai_local_dto.ModelInfo, error)
	SimpleList(ctx context.Context) ([]*ai_local_dto.SimpleItem, error)
	SaveCache(ctx context.Context, model string, target string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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