Zum Hauptinhalt springen

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>

Source

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

Properties

_objectNodeMapping

_objectNodeMapping: BaseObjectNodeMapping

Source

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


_retriever

_retriever: BaseRetriever

Source

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

Accessors

retriever

get retriever(): BaseRetriever

Returns

BaseRetriever

Source

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

Methods

retrieve()

retrieve(strOrQueryBundle): Promise<T[]>

Parameters

strOrQueryBundle: MessageContent

Returns

Promise<T[]>

Source

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