Class SummaryOptions (2.24.0)

SummaryOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata for document summarization.

Attributes

NameDescription
length google.cloud.documentai_v1beta3.types.SummaryOptions.Length
How long the summary should be.
format_ google.cloud.documentai_v1beta3.types.SummaryOptions.Format
The format the summary should be in.

Classes

Format

Format(value)

The Format enum.

Values: FORMAT_UNSPECIFIED (0): Default. PARAGRAPH (1): Format the output in paragraphs. BULLETS (2): Format the output in bullets.

Length

Length(value)

The Length enum.

Values: LENGTH_UNSPECIFIED (0): Default. BRIEF (1): A brief summary of one or two sentences. MODERATE (2): A paragraph-length summary. COMPREHENSIVE (3): The longest option available.