nearAudio

package
v1.29.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "nearAudio"

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphQLArgumentsProvider

type GraphQLArgumentsProvider struct{}

func New

func (*GraphQLArgumentsProvider) Arguments

type NearAudioParams

type NearAudioParams struct {
	Audio         string
	Certainty     float64
	Distance      float64
	WithDistance  bool
	TargetVectors []string
}

func (NearAudioParams) GetCertainty

func (n NearAudioParams) GetCertainty() float64

func (NearAudioParams) GetDistance

func (n NearAudioParams) GetDistance() float64

func (NearAudioParams) GetTargetVectors

func (n NearAudioParams) GetTargetVectors() []string

func (NearAudioParams) SimilarityMetricProvided

func (n NearAudioParams) SimilarityMetricProvided() bool

type Searcher

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

func NewSearcher

func NewSearcher[T dto.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