Skip to main content

Class: ObjectRetriever<T>

Type Parameters

T = unknown

Constructors

new ObjectRetriever()

new ObjectRetriever<T>(retriever, objectNodeMapping): ObjectRetriever<T>

Parameters

retriever: BaseRetriever

objectNodeMapping: BaseObjectNodeMapping

Returns

ObjectRetriever<T>

Defined in

packages/llamaindex/src/objects/base.ts:59

Properties

_objectNodeMapping

_objectNodeMapping: BaseObjectNodeMapping

Defined in

packages/llamaindex/src/objects/base.ts:57


_retriever

_retriever: BaseRetriever

Defined in

packages/llamaindex/src/objects/base.ts:56

Accessors

retriever

get retriever(): BaseRetriever

Returns

BaseRetriever

Defined in

packages/llamaindex/src/objects/base.ts:68

Methods

retrieve()

retrieve(strOrQueryBundle): Promise<T[]>

Parameters

strOrQueryBundle: MessageContent

Returns

Promise<T[]>

Defined in

packages/llamaindex/src/objects/base.ts:73