Interfaces
BaseNodePostprocessor
Defined in: packages/core/src/postprocessor/type.ts:4
Methods
postprocessNodes()
postprocessNodes(
nodes
,query?
):Promise
<NodeWithScore
<Metadata
>[]>
Defined in: packages/core/src/postprocessor/type.ts:11
Send message along with the class's current chat history to the LLM. This version returns a promise for asynchronous operation.
Parameters
nodes
Array of nodes with scores.
query?
Optional query string.
Returns
Promise
<NodeWithScore
<Metadata
>[]>