Ana içeriğe geç

Class: MetadataReplacementPostProcessor

Implements

Constructors

constructor

new MetadataReplacementPostProcessor(targetMetadataKey)

Parameters

NameType
targetMetadataKeystring

Defined in

packages/core/src/postprocessors/MetadataReplacementPostProcessor.ts:7

Properties

targetMetadataKey

targetMetadataKey: string

Defined in

packages/core/src/postprocessors/MetadataReplacementPostProcessor.ts:5

Methods

postprocessNodes

postprocessNodes(nodes): NodeWithScore<Metadata>[]

Parameters

NameType
nodesNodeWithScore<Metadata>[]

Returns

NodeWithScore<Metadata>[]

Implementation of

BaseNodePostprocessor.postprocessNodes

Defined in

packages/core/src/postprocessors/MetadataReplacementPostProcessor.ts:11