Saltar al contenido principal

Interface: BaseRetriever<Filters>

Retrievers retrieve the nodes that most closely match our query in similarity.

Type parameters

NameType
Filtersunknown

Implemented by

Properties

serviceContext

Optional serviceContext: ServiceContext

Defined in

packages/core/src/Retriever.ts:17

Methods

retrieve

retrieve(params): Promise<NodeWithScore<Metadata>[]>

Parameters

NameType
paramsRetrieveParams<Filters>

Returns

Promise<NodeWithScore<Metadata>[]>

Defined in

packages/core/src/Retriever.ts:14