MCPcopy
hub / github.com/docker/docker-agent / isEmbeddingModel

Function isEmbeddingModel

cmd/root/models.go:367–371  ·  view source on GitHub ↗
(family, name string)

Source from the content-addressed store, hash-verified

365}
366
367func isEmbeddingModel(family, name string) bool {
368 fl := strings.ToLower(family)
369 nl := strings.ToLower(name)
370 return strings.Contains(fl, "embed") || strings.Contains(nl, "embed")
371}
372
373func (f *modelsListFlags) renderTable(cmd *cobra.Command, rows []modelRow) {
374 w := tabwriter.NewWriter(cmd.OutOrStdout(), 0, 2, 3, ' ', 0)

Callers 1

collectModelsMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected