Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotADirectory = errors.New("db folder is not a directory")
)
Functions ¶
func New ¶
func New(em embeddings.Embedder, opts ...Option) (vectorstores.VectorStore, error)
Types ¶
type Option ¶
type Option func(*storageOptions)
func WithCollection ¶
func WithDBPath ¶
func WithLogger ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) AddDocuments ¶
Click to show internal directories.
Click to hide internal directories.