modrerankerjinaai

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: 13 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "reranker-jinaai"

Variables

This section is empty.

Functions

This section is empty.

Types

type ReRankerJinaaiClient

type ReRankerJinaaiClient interface {
	Rank(ctx context.Context, query string, documents []string, cfg moduletools.ClassConfig) (*ent.RankResult, error)
	MetaInfo() (map[string]interface{}, error)
}

type ReRankerJinaaiModule

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

func New

func New() *ReRankerJinaaiModule

func (*ReRankerJinaaiModule) AdditionalProperties

func (m *ReRankerJinaaiModule) AdditionalProperties() map[string]modulecapabilities.AdditionalProperty

func (*ReRankerJinaaiModule) ClassConfigDefaults

func (m *ReRankerJinaaiModule) ClassConfigDefaults() map[string]interface{}

func (*ReRankerJinaaiModule) Init

func (*ReRankerJinaaiModule) MetaInfo

func (m *ReRankerJinaaiModule) MetaInfo() (map[string]interface{}, error)

func (*ReRankerJinaaiModule) Name

func (m *ReRankerJinaaiModule) Name() string

func (*ReRankerJinaaiModule) PropertyConfigDefaults

func (m *ReRankerJinaaiModule) PropertyConfigDefaults(
	dt *schema.DataType,
) map[string]interface{}

func (*ReRankerJinaaiModule) RootHandler

func (m *ReRankerJinaaiModule) RootHandler() http.Handler

func (*ReRankerJinaaiModule) Type

func (*ReRankerJinaaiModule) ValidateClass

func (m *ReRankerJinaaiModule) ValidateClass(ctx context.Context,
	class *models.Class, cfg moduletools.ClassConfig,
) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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