zeroshotclassifier

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2021 License: BSD-2-Clause Imports: 14 Imported by: 0

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.

Jump to

Keyboard shortcuts

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