ask

package
v1.24.11 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 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 AskParams

type AskParams struct {
	Question     string
	Certainty    float64
	Distance     float64
	WithDistance bool
	Properties   []string
	Autocorrect  bool
}

func (AskParams) GetCertainty

func (n AskParams) GetCertainty() float64

func (AskParams) GetDistance

func (n AskParams) GetDistance() float64

func (AskParams) SimilarityMetricProvided

func (n AskParams) SimilarityMetricProvided() bool

type GraphQLArgumentsProvider

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

func (*GraphQLArgumentsProvider) Arguments

type ParamsHelper

type ParamsHelper struct{}

func NewParamsHelper

func NewParamsHelper() *ParamsHelper

func (*ParamsHelper) GetCertainty

func (p *ParamsHelper) GetCertainty(params interface{}) float64

func (*ParamsHelper) GetDistance

func (p *ParamsHelper) GetDistance(params interface{}) float64

func (*ParamsHelper) GetProperties

func (p *ParamsHelper) GetProperties(params interface{}) []string

func (*ParamsHelper) GetQuestion

func (p *ParamsHelper) GetQuestion(params interface{}) string

type Searcher

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

func NewSearcher

func NewSearcher(nearTextDeps []modulecapabilities.Dependency) *Searcher

func (*Searcher) VectorSearches

Jump to

Keyboard shortcuts

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