vectorizer

package
v1.0.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: BSD-2-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vectorizer

type Vectorizer struct {
	basemodelworker.Worker
	// contains filtered or unexported fields
}

Vectorizer implements a Faktory worker for creating and storing a vector representation of WebArticles' titles.

func New

func New(
	conf config.Vectorizer,
	db *gorm.DB,
	bertConn *grpc.ClientConn,
	hnswClient *hnswclient.Client,
	fk *faktory_worker.Manager,
) *Vectorizer

New creates a new WebScraper.

Jump to

Keyboard shortcuts

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