Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetModelDimensions ¶
GetModelDimensions returns the vector dimensions for a known embedding model
func IsKnownModel ¶
IsKnownModel returns true if the model is in the registry
Types ¶
type ModelInfo ¶
type ModelInfo struct {
Name string
Dimensions int
Provider string
MaxTokens int
OSS bool // true for open-source models
}
ModelInfo contains information about an embedding model
func GetModelInfo ¶
GetModelInfo returns detailed information about a known embedding model
func GetOSSModels ¶
func GetOSSModels() []ModelInfo
GetOSSModels returns all open-source embedding models
func ListKnownModels ¶
func ListKnownModels() []ModelInfo
ListKnownModels returns a list of all known models
func ListModelsByProvider ¶
ListModelsByProvider returns models from a specific provider
Click to show internal directories.
Click to hide internal directories.