Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "nearImage"
Variables ¶
This section is empty.
Functions ¶
func ValidateNearImageFn ¶
func ValidateNearImageFn(param interface{}) error
Types ¶
type GraphQLArgumentsProvider ¶
type GraphQLArgumentsProvider struct{}
func New ¶
func New() *GraphQLArgumentsProvider
func (*GraphQLArgumentsProvider) Arguments ¶
func (g *GraphQLArgumentsProvider) Arguments() map[string]modulecapabilities.GraphQLArgument
type NearImageParams ¶
type NearImageParams struct {
Image string
Certainty float64
Distance float64
WithDistance bool
TargetVectors []string
}
func (NearImageParams) GetCertainty ¶
func (n NearImageParams) GetCertainty() float64
func (NearImageParams) GetDistance ¶
func (n NearImageParams) GetDistance() float64
func (NearImageParams) GetTargetVectors ¶
func (n NearImageParams) GetTargetVectors() []string
func (NearImageParams) SimilarityMetricProvided ¶
func (n NearImageParams) SimilarityMetricProvided() bool
type Searcher ¶
func NewSearcher ¶
func (*Searcher[T]) VectorSearches ¶
func (s *Searcher[T]) VectorSearches() map[string]modulecapabilities.VectorForParams[T]
Click to show internal directories.
Click to hide internal directories.