Versions in this module Expand all Collapse all v1 v1.1.0 Oct 12, 2026 v1.0.0 Sep 19, 2026 Changes in this version + const DefaultEndpoint + const DefaultModel + func CosineSimilarity(a, b []float64) float64 + func DeserializeLegacyVector(b []byte) []float64 + func DeserializeVector(b []byte) []float64 + func SerializeVector(v []float64) []byte + type Client struct + func NewClient() *Client + func NewClientWithModel(model string) *Client + func (c *Client) Available() bool + func (c *Client) Embed(text string) ([]float64, error) + func (c *Client) Endpoint() string + func (c *Client) Model() string