PDFCora AI for Web
    Preparing search index...

    Type Alias PdfAnswer

    PdfAnswer:
        | {
            citations: readonly PdfCitation[];
            grounded: boolean;
            kind: "answered";
            pagesWithoutText: readonly number[];
            text: string;
        }
        | { kind: "notFound"; pagesWithoutText: readonly number[] }

    Type Declaration

    • {
          citations: readonly PdfCitation[];
          grounded: boolean;
          kind: "answered";
          pagesWithoutText: readonly number[];
          text: string;
      }
      • Readonlycitations: readonly PdfCitation[]
      • Readonlygrounded: boolean

        False when any quote the model gave could not be found in the document (ANS-3).

      • Readonlykind: "answered"
      • ReadonlypagesWithoutText: readonly number[]
      • Readonlytext: string
    • { kind: "notFound"; pagesWithoutText: readonly number[] }