ent

package
v1.32.21 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultOpenAIDocumentType    = "text"
	DefaultOpenAIModel           = "text-embedding-3-small"
	DefaultVectorizeClassName    = true
	DefaultPropertyIndexed       = true
	DefaultVectorizePropertyName = false
	DefaultBaseURL               = "https://api.openai.com"
	DefaultApiVersion            = "2024-02-01"
	LowerCaseInput               = false
)
View Source
const (
	TextEmbedding3Small = "text-embedding-3-small"
	TextEmbedding3Large = "text-embedding-3-large"
)

Variables

View Source
var (
	TextEmbedding3SmallDefaultDimensions int64 = 1536
	TextEmbedding3LargeDefaultDimensions int64 = 3072
)

Functions

func NewClassSettings added in v1.25.0

func NewClassSettings(cfg moduletools.ClassConfig) *classSettings

func PickDefaultDimensions added in v1.25.0

func PickDefaultDimensions(model string) *int64

func PickDefaultModelVersion added in v1.25.0

func PickDefaultModelVersion(model, docType string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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