nearThermal

package
v1.28.3 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "nearThermal"

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphQLArgumentsProvider

type GraphQLArgumentsProvider struct{}

func New

func (*GraphQLArgumentsProvider) Arguments

type NearThermalParams

type NearThermalParams struct {
	Thermal       string
	Certainty     float64
	Distance      float64
	WithDistance  bool
	TargetVectors []string
}

func (NearThermalParams) GetCertainty

func (n NearThermalParams) GetCertainty() float64

func (NearThermalParams) GetDistance

func (n NearThermalParams) GetDistance() float64

func (NearThermalParams) GetTargetVectors

func (n NearThermalParams) GetTargetVectors() []string

func (NearThermalParams) SimilarityMetricProvided

func (n NearThermalParams) 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