Documentation ¶
Index ¶
Constants ¶
View Source
const BasicRetrieverName = "basic"
View Source
const RoutingRetrieverName = "routing"
View Source
const SubqueryRetrieverName = "subquery"
Variables ¶
This section is empty.
Functions ¶
func ExtractQuotedSubstrings ¶ added in v0.4.7
Extract double-quoted substrings from a string
Types ¶
type BasicRetriever ¶
type BasicRetriever struct {
TopK int
}
func (*BasicRetriever) Name ¶ added in v0.1.9
func (r *BasicRetriever) Name() string
type Retriever ¶
type Retriever interface { Retrieve(ctx context.Context, store store.Store, query string, datasetIDs []string, where map[string]string, whereDocument []chromem.WhereDocument) ([]vs.Document, error) Name() string }
func GetDefaultRetriever ¶
func GetDefaultRetriever() Retriever
func GetRetriever ¶
type RoutingRetriever ¶ added in v0.1.8
func (*RoutingRetriever) Name ¶ added in v0.1.9
func (r *RoutingRetriever) Name() string
type SubqueryRetriever ¶ added in v0.1.8
func (SubqueryRetriever) Name ¶ added in v0.1.9
func (s SubqueryRetriever) Name() string
Click to show internal directories.
Click to hide internal directories.