nearImu

package
v0.0.0-...-5637490 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "nearIMU"

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphQLArgumentsProvider

type GraphQLArgumentsProvider struct{}

func New

func (*GraphQLArgumentsProvider) Arguments

type NearIMUParams

type NearIMUParams struct {
	IMU           string
	Certainty     float64
	Distance      float64
	WithDistance  bool
	TargetVectors []string
}

func (NearIMUParams) GetCertainty

func (n NearIMUParams) GetCertainty() float64

func (NearIMUParams) GetDistance

func (n NearIMUParams) GetDistance() float64

func (NearIMUParams) GetTargetVectors

func (n NearIMUParams) GetTargetVectors() []string

func (NearIMUParams) SimilarityMetricProvided

func (n NearIMUParams) SimilarityMetricProvided() bool

type Searcher

type Searcher[T types.Embedding] struct {
	// contains filtered or unexported fields
}

func NewSearcher

func NewSearcher[T types.Embedding](vectorizer bindVectorizer[T]) *Searcher[T]

func (*Searcher[T]) VectorSearches

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

Jump to

Keyboard shortcuts

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