ent

package
v1.27.21 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TODO: replace docker internal host with actual host
	DefaultBaseURL               = "https://api.embedding.weaviate.io"
	DefaultWeaviateModel         = SnowflakeArcticEmbedL
	DefaultTruncate              = "right"
	DefaultVectorizeClassName    = true
	DefaultPropertyIndexed       = true
	DefaultVectorizePropertyName = false
	LowerCaseInput               = false
)
View Source
const (
	SnowflakeArcticEmbedL = "Snowflake/snowflake-arctic-embed-l-v2.0"
	SnowflakeArcticEmbedM = "Snowflake/snowflake-arctic-embed-m-v1.5"
)

Variables

View Source
var (
	SnowflakeArcticEmbedLDefaultDimensions int64 = 1024
	SnowflakeArcticEmbedMDefaultDimensions int64 = 768
)

Functions

func NewClassSettings

func NewClassSettings(cfg moduletools.ClassConfig) *classSettings

func PickDefaultDimensions

func PickDefaultDimensions(model string) *int64

Types

type VectorizationConfig

type VectorizationConfig struct {
	Model      string
	Truncate   string
	BaseURL    string
	Dimensions *int64
}

Jump to

Keyboard shortcuts

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