Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZeroShotClassifier ¶
type ZeroShotClassifier struct { basemodelworker.Worker // contains filtered or unexported fields }
ZeroShotClassifier implements a Faktory worker for classifying existing WebArticles with spaGO BART zero-shot classification service.
func New ¶
func New( conf config.ZeroShotClassifier, db *gorm.DB, bartConn *grpc.ClientConn, fk *faktory_worker.Manager, ) *ZeroShotClassifier
New creates a new ZeroShotClassifier.
Click to show internal directories.
Click to hide internal directories.