Help us shape the future of Go! Take the 2026 Go Developer Survey

llm

package
v0.4.45 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelCatalog

type ModelCatalog interface {
	CatalogModels() []ModelEntry
}

ModelCatalog is implemented by protocol LLM plugins that participate in llm/router exact-match routing. Instances used only as router default may still implement ModelCatalog for per-model modalities metadata.

type ModelEntry

type ModelEntry struct {
	ID         string   `json:"id"`
	Modalities []string `json:"modalities,omitempty"`
}

ModelEntry declares a routable model id and optional input modalities for that id.

Jump to

Keyboard shortcuts

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