Documentation ¶
Overview ¶
package vector provides a service for searching vector embeddings. It combines the embedding engine and the vector store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Search(ctx context.Context, collection string, query string, topK uint64, filter map[string]interface{}) ([]store.SearchResult, error) Health(ctx context.Context) error Cancel() }
func NewService ¶
func NewService(s VectorSettings, secrets map[string]string) (Service, error)
Click to show internal directories.
Click to hide internal directories.