ent

package
v1.26.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Default values for model, WaitForModel, useGPU and useCache cannot be changed before we solve how old classes
	// that have the defaults NOT set will handle the change
	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