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>

9 lines (8 loc) 486 B
import type { BaseNode } from "@llamaindex/core/schema"; export type NodeFormatterFunction = (summaryNodes: BaseNode[]) => string; export declare const defaultFormatNodeBatchFn: NodeFormatterFunction; export type ChoiceSelectParseResult = { [docNumber: number]: number; }; export type ChoiceSelectParserFunction = (answer: string, numChoices: number, raiseErr?: boolean) => ChoiceSelectParseResult; export declare const defaultParseChoiceSelectAnswerFn: ChoiceSelectParserFunction;