Versions in this module Expand all Collapse all v0 v0.1.15 Oct 30, 2024 v0.1.14 Oct 30, 2024 Changes in this version + var ErrInvalidOptions = errors.New("invalid options") + func DoRequest(ctx context.Context, url url.URL, apiKey, method string, payload interface{}) (io.ReadCloser, int, error) + type Option func(p *Store) + func WithAPIKey(apiKey string) Option + func WithCollectionName(name string) Option + func WithContentKey(contentKey string) Option + func WithEmbedder(embedder embeddings.Embedder) Option + func WithURL(qdrantURL url.URL) Option + type Store struct + func New(opts ...Option) (Store, error) + func (s Store) AddDocuments(ctx context.Context, docs []schema.Document, _ ...vectorstores.Option) ([]string, error) + func (s Store) SimilaritySearch(ctx context.Context, query string, numDocuments int, ...) ([]schema.Document, error)