Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEmbedder ¶
func NewEmbedder(client *ollama.LLM) *embedder
NewEmbedder initializes a new embedder with the specified options.
Types ¶
type EmbeddingData ¶
type EmbeddingData struct {
// Common embedding data structure.
Data onex.EmbeddingData
ImagePath string
}
EmbeddingData holds the information needed for embedding operations. It includes both common embedding data and additional attributes for image embedding.
Click to show internal directories.
Click to hide internal directories.