Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatVectorForClickHouse ¶
FormatVectorForClickHouse returns the raw []float32 slice, which the clickhouse-go driver binds natively to Array(Float32) parameters.
func FormatVectorForPgvector ¶
FormatVectorForPgvector converts a slice of floats into a PostgreSQL vector literal string: '[x, y, z]'
Types ¶
type EmbeddingModel ¶
type EmbeddingModelConfig ¶
type EmbeddingModelConfig interface {
EmbeddingModelConfigType() string
Initialize(context.Context) (EmbeddingModel, error)
}
EmbeddingModelConfig is the interface for configuring embedding models.