Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ListCmd = &cobra.Command{ Use: "list [COLLECTION]", Aliases: []string{"ls"}, Short: "List available embedding models", Long: `List all available embedding models for text and image vectorization. By default, shows all embeddings available for any collection. If a specific collection is provided, shows embeddings configured for that collection. Embeddings are grouped by provider (OpenAI, Cohere, Hugging Face, etc.) and type (text/image).`, Example: ` # List all available embeddings weave embeddings list weave emb ls # List embeddings for a specific collection weave embeddings list MyCollection`, RunE: runList, }
ListCmd represents the embeddings list command
Functions ¶
func IsAPIKeySet ¶
IsAPIKeySet checks if required API key is set in environment
Types ¶
type EmbeddingModel ¶
type EmbeddingModel struct {
Name string
Provider string
Type string // "text" or "image" or "multimodal"
Dimensions int
APIKeyEnv string // Environment variable name for API key
Description string
Module string // Weaviate module name
}
EmbeddingModel represents an embedding model with its metadata
func GetAllEmbeddingModels ¶
func GetAllEmbeddingModels() []EmbeddingModel
GetAllEmbeddingModels returns all available embedding models
Click to show internal directories.
Click to hide internal directories.