본문으로 건너뛰기

Interface: BaseNodePostprocessor

Implemented by

Methods

postprocessNodes

postprocessNodes(nodes, query?): Promise<NodeWithScore<Metadata>[]>

Send message along with the class's current chat history to the LLM. This version returns a promise for asynchronous operation.

Parameters

NameTypeDescription
nodesNodeWithScore<Metadata>[]Array of nodes with scores.
query?stringOptional query string.

Returns

Promise<NodeWithScore<Metadata>[]>

Defined in

packages/core/src/postprocessors/types.ts:10