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
Name | Type | Description |
---|---|---|
nodes | NodeWithScore <Metadata >[] | Array of nodes with scores. |
query? | MessageContent | QueryBundle | Optional query to use for postprocessing. |
Returns
Promise
<NodeWithScore
<Metadata
>[]>