UNPKG

llamaindex

Version:

<p align="center"> <img height="100" width="100" alt="LlamaIndex logo" src="https://ts.llamaindex.ai/square.svg" /> </p> <h1 align="center">LlamaIndex.TS</h1> <h3 align="center"> Data framework for your LLM application. </h3>

8 lines (7 loc) 377 B
import type { BaseNodePostprocessor } from "@llamaindex/core/postprocessor"; import type { NodeWithScore } from "@llamaindex/core/schema"; export declare class MetadataReplacementPostProcessor implements BaseNodePostprocessor { targetMetadataKey: string; constructor(targetMetadataKey: string); postprocessNodes(nodes: NodeWithScore[]): Promise<NodeWithScore[]>; }