Documentation
¶
Index ¶
- func FactualAliasesForRuntime(c modeldb.ResolvedCatalog, runtimeID string) map[string]string
- func FactualAliasesForService(c modeldb.Catalog, serviceID string) map[string]string
- func ModelForOffering(c modeldb.Catalog, ref modeldb.OfferingRef, opts ProjectionOptions) (llm.Model, bool)
- func ModelsForRuntime(c modeldb.ResolvedCatalog, runtimeID string, routableOnly bool, ...) llm.Models
- func ModelsForService(c modeldb.Catalog, serviceID string, opts ProjectionOptions) llm.Models
- func VisibleModelsForDockerMRRuntime(ctx context.Context, client *http.Client, baseURL string, ...) (llm.Models, error)
- func VisibleModelsForOllamaRuntime(ctx context.Context, client *http.Client, baseURL string, ...) (llm.Models, error)
- func VisibleModelsForRuntime(ctx context.Context, base modeldb.Catalog, runtimeID string, ...) (llm.Models, error)
- type ProjectionOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FactualAliasesForRuntime ¶
func FactualAliasesForRuntime(c modeldb.ResolvedCatalog, runtimeID string) map[string]string
func ModelForOffering ¶
func ModelForOffering(c modeldb.Catalog, ref modeldb.OfferingRef, opts ProjectionOptions) (llm.Model, bool)
func ModelsForRuntime ¶
func ModelsForRuntime(c modeldb.ResolvedCatalog, runtimeID string, routableOnly bool, opts ProjectionOptions) llm.Models
func ModelsForService ¶
Types ¶
type ProjectionOptions ¶
Click to show internal directories.
Click to hide internal directories.