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? | string | Optional query string. |
Returns
Promise
<NodeWithScore
<Metadata
>[]>