Versions in this module Expand all Collapse all v0 v0.2.0 Apr 30, 2026 Changes in this version + func HashText(text string) string + type Cache struct + func Open(path string) (*Cache, error) + func (c *Cache) Close() error + func (c *Cache) Count(ctx context.Context) (int, error) + func (c *Cache) EmbedBatch(ctx context.Context, e embed.Embedder, modelID string, task embed.EmbedTask, ...) ([][]float32, error) + func (c *Cache) Get(ctx context.Context, modelID string, dim int, text string) ([]float32, bool, error) + func (c *Cache) Put(ctx context.Context, modelID string, dim int, text string, vec []float32) error