RankedDocumentData: {
    content: (
        | { media?: undefined; text: string }
        | { media: { contentType?: string; url: string }; text?: undefined }
    )[];
    metadata: { score: number } & { [k: string]: unknown };
}

Type declaration

  • content: (
        | { media?: undefined; text: string }
        | { media: { contentType?: string; url: string }; text?: undefined }
    )[]
  • metadata: { score: number } & { [k: string]: unknown }