combinators

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2023 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Overview

Package combinators contains tools to put various retrieval components together to make full retrievers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RetrieverWithCandidateFinder

type RetrieverWithCandidateFinder struct {
	CandidateFinder    types.CandidateFinder
	CandidateRetriever types.CandidateRetriever
}

RetrieverWithCandidateFinder retrieves from a candidate retriever after first retrieving candidates from a candidate finder

func (RetrieverWithCandidateFinder) Retrieve

type SplitRetriever

type SplitRetriever struct {
	CandidateSplitter   types.CandidateSplitter
	CandidateRetrievers []types.CandidateRetriever
	CoordinationKind    types.CoordinationKind
}

SplitRetriever retrieves by first splitting candidates with a splitter, then passing the split sets to multiple retrievers using the given coordination style

func (SplitRetriever) Retrieve

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL