github.com/anchore/syft@v1.38.2/syft/pkg/cataloger/ai/cataloger.go (about) 1 /* 2 Package ai provides concrete Cataloger implementations for AI artifacts and machine learning models, 3 including support for GGUF (GPT-Generated Unified Format) model files. 4 */ 5 package ai 6 7 import ( 8 "github.com/anchore/syft/syft/pkg" 9 "github.com/anchore/syft/syft/pkg/cataloger/generic" 10 ) 11 12 // NewGGUFCataloger returns a new cataloger instance for GGUF model files. 13 func NewGGUFCataloger() pkg.Cataloger { 14 return generic.NewCataloger("gguf-cataloger"). 15 WithParserByGlobs(parseGGUFModel, "**/*.gguf") 16 }