Documentation ¶
Index ¶
Constants ¶
View Source
const BasicRetrieverName = "basic"
View Source
const RoutingRetrieverName = "routing"
View Source
const SubqueryRetrieverName = "subquery"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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, datasetID string) ([]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.