modrerankercontextualai

package
v1.35.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "reranker-contextualai"

Variables

This section is empty.

Functions

This section is empty.

Types

type ReRankerContextualAIClient

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

type ReRankerContextualAIModule

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

func New

func (*ReRankerContextualAIModule) AdditionalProperties

func (*ReRankerContextualAIModule) ClassConfigDefaults

func (m *ReRankerContextualAIModule) ClassConfigDefaults() map[string]any

func (*ReRankerContextualAIModule) Init

func (*ReRankerContextualAIModule) MetaInfo

func (m *ReRankerContextualAIModule) MetaInfo() (map[string]any, error)

func (*ReRankerContextualAIModule) Name

func (*ReRankerContextualAIModule) PropertyConfigDefaults

func (m *ReRankerContextualAIModule) PropertyConfigDefaults(
	dt *schema.DataType,
) map[string]any

func (*ReRankerContextualAIModule) Type

func (*ReRankerContextualAIModule) ValidateClass

func (m *ReRankerContextualAIModule) 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