Interface: BaseNodePostprocessor
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
• nodes: NodeWithScore
<Metadata
>[]
Array of nodes with scores.
• query?: string
Optional query string.
Returns
Promise
<NodeWithScore
<Metadata
>[]>