nearImage

package
v1.20.3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphQLArgumentsProvider

type GraphQLArgumentsProvider struct{}

func New

func (*GraphQLArgumentsProvider) Arguments

type NearImageParams

type NearImageParams struct {
	Image        string
	Certainty    float64
	Distance     float64
	WithDistance bool
}

func (NearImageParams) GetCertainty

func (n NearImageParams) GetCertainty() float64

func (NearImageParams) GetDistance

func (n NearImageParams) GetDistance() float64

func (NearImageParams) SimilarityMetricProvided

func (n NearImageParams) SimilarityMetricProvided() bool

type Searcher

type Searcher struct {
	// contains filtered or unexported fields
}

func NewSearcher

func NewSearcher(vectorizer imgVectorizer) *Searcher

func (*Searcher) VectorSearches

func (s *Searcher) VectorSearches() map[string]modulecapabilities.VectorForParams

Jump to

Keyboard shortcuts

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