Pular para o conteúdo principal

Class: SimilarityPostprocessor

Implements

Constructors

constructor

new SimilarityPostprocessor(options?)

Parameters

NameType
options?Object
options.similarityCutoff?number

Defined in

packages/core/src/indices/BaseNodePostprocessor.ts:10

Properties

similarityCutoff

Optional similarityCutoff: number

Defined in

packages/core/src/indices/BaseNodePostprocessor.ts:8

Methods

postprocessNodes

postprocessNodes(nodes): NodeWithScore<Metadata>[]

Parameters

NameType
nodesNodeWithScore<Metadata>[]

Returns

NodeWithScore<Metadata>[]

Implementation of

BaseNodePostprocessor.postprocessNodes

Defined in

packages/core/src/indices/BaseNodePostprocessor.ts:14