Package version:

Interface ExtractiveQueryCaption

Extracts captions from the matching documents that contain passages relevant to the search query.

interface ExtractiveQueryCaption {
    captionType: "extractive";
    highlight?: boolean;
}

Properties

captionType: "extractive"
highlight?: boolean