ent

package
v1.26.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultHuggingFaceModel      = "sentence-transformers/msmarco-bert-base-dot-v5"
	DefaultOptionWaitForModel    = false
	DefaultOptionUseGPU          = false
	DefaultOptionUseCache        = true
	DefaultVectorizeClassName    = true
	DefaultPropertyIndexed       = true
	DefaultVectorizePropertyName = false
)

Variables

This section is empty.

Functions

func NewClassSettings added in v1.25.1

func NewClassSettings(cfg moduletools.ClassConfig) *classSettings

Types

type VectorizationConfig

type VectorizationConfig struct {
	EndpointURL                    string
	Model                          string
	WaitForModel, UseGPU, UseCache bool
}

Jump to

Keyboard shortcuts

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