Versions in this module Expand all Collapse all v0 v0.1.28 Oct 5, 2025 Changes in this version + type Config struct + ApiKey string + ApiKeyHeader string + BaseUrl string + Model string + Timeout time.Duration + type Response struct + Data []struct{ ... } + type Source struct + func New(ds types.DataSource, attached bool) (*Source, error) + func (s *Source) Attach(ctx context.Context, db *db.Pool) (err error) + func (s *Source) CreateEmbedding(ctx context.Context, input string) (types.Vector, error) + func (s *Source) CreateEmbeddings(ctx context.Context, input []string) ([]types.Vector, error) + func (s *Source) Definition() types.DataSource + func (s *Source) Detach(ctx context.Context, db *db.Pool) error + func (s *Source) Engine() engines.Engine + func (s *Source) IsAttached() bool + func (s *Source) Name() string + func (s *Source) ReadOnly() bool