Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Enable ¶
func Enable(apiKey, modelName, actionName string) sdk.ClientOption
Enable returns a ClientOption that wires the Google provider. usage: client.New(..., google.Enable("key", "gemini-pro", "my_action"))
Types ¶
type GoogleEmbedder ¶
type GoogleEmbedder struct {
// contains filtered or unexported fields
}
func NewEmbedder ¶
NewEmbedder creates a new embedder using Google GenAI. Default model: "embedding-001" or "text-embedding-004"
func (*GoogleEmbedder) Dimension ¶
func (e *GoogleEmbedder) Dimension() int
func (*GoogleEmbedder) EmbedBatch ¶
Click to show internal directories.
Click to hide internal directories.