modelsindex

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AIModel

type AIModel struct {
	ID                 string            `yaml:"-"`
	Name               string            `yaml:"name"`
	ModuleDescription  string            `yaml:"description"`
	Runner             string            `yaml:"runner"`
	Bricks             []string          `yaml:"bricks,omitempty"`
	ModelLabels        []string          `yaml:"model_labels,omitempty"`
	Metadata           map[string]string `yaml:"metadata,omitempty"`
	ModelConfiguration map[string]string `yaml:"model_configuration,omitempty"`
}

type ModelsIndex

type ModelsIndex struct {
	// contains filtered or unexported fields
}

func GenerateModelsIndexFromFile

func GenerateModelsIndexFromFile(dir *paths.Path) (*ModelsIndex, error)

func (*ModelsIndex) GetModelByID

func (m *ModelsIndex) GetModelByID(id string) (*AIModel, bool)

func (*ModelsIndex) GetModels

func (m *ModelsIndex) GetModels() []AIModel

func (*ModelsIndex) GetModelsByBrick

func (m *ModelsIndex) GetModelsByBrick(brick string) []AIModel

func (*ModelsIndex) GetModelsByBricks

func (m *ModelsIndex) GetModelsByBricks(bricks []string) []AIModel

Jump to

Keyboard shortcuts

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