FormatDocument<Metadata>: ((document: Toolkit<Metadata>) => {
    id: string;
    name: string;
    score: number;
    text: string;
})

Type Parameters

  • Metadata extends Record<string, any> = Record<string, any>