MetadataReplacementPostProcessor
Defined in: .build/typescript/packages/llamaindex/src/postprocessors/MetadataReplacementPostProcessor.ts:5
Implements
Section titled “Implements”BaseNodePostprocessor
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new MetadataReplacementPostProcessor(
targetMetadataKey
):MetadataReplacementPostProcessor
Defined in: .build/typescript/packages/llamaindex/src/postprocessors/MetadataReplacementPostProcessor.ts:8
Parameters
Section titled “Parameters”targetMetadataKey
Section titled “targetMetadataKey”string
Returns
Section titled “Returns”MetadataReplacementPostProcessor
Properties
Section titled “Properties”targetMetadataKey
Section titled “targetMetadataKey”targetMetadataKey:
string
Defined in: .build/typescript/packages/llamaindex/src/postprocessors/MetadataReplacementPostProcessor.ts:6
Methods
Section titled “Methods”postprocessNodes()
Section titled “postprocessNodes()”postprocessNodes(
nodes
):Promise
<NodeWithScore
<Metadata
>[]>
Defined in: .build/typescript/packages/llamaindex/src/postprocessors/MetadataReplacementPostProcessor.ts:12
Send message along with the class’s current chat history to the LLM. This version returns a promise for asynchronous operation.
Parameters
Section titled “Parameters”NodeWithScore
<Metadata
>[]
Array of nodes with scores.
Returns
Section titled “Returns”Promise
<NodeWithScore
<Metadata
>[]>
Implementation of
Section titled “Implementation of”BaseNodePostprocessor.postprocessNodes