Class: Google::Cloud::DocumentAI::V1beta3::SummaryOptions

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/documentai/v1beta3/document_schema.rb

Overview

Metadata for document summarization.

Defined Under Namespace

Modules: Format, Length

Instance Attribute Summary collapse

Instance Attribute Details

#format::Google::Cloud::DocumentAI::V1beta3::SummaryOptions::Format

Returns The format the summary should be in.

Returns:



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# File 'proto_docs/google/cloud/documentai/v1beta3/document_schema.rb', line 31

class SummaryOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The Length enum.
  module Length
    # Default.
    LENGTH_UNSPECIFIED = 0

    # A brief summary of one or two sentences.
    BRIEF = 1

    # A paragraph-length summary.
    MODERATE = 2

    # The longest option available.
    COMPREHENSIVE = 3
  end

  # The Format enum.
  module Format
    # Default.
    FORMAT_UNSPECIFIED = 0

    # Format the output in paragraphs.
    PARAGRAPH = 1

    # Format the output in bullets.
    BULLETS = 2
  end
end

#length::Google::Cloud::DocumentAI::V1beta3::SummaryOptions::Length

Returns How long the summary should be.

Returns:



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# File 'proto_docs/google/cloud/documentai/v1beta3/document_schema.rb', line 31

class SummaryOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The Length enum.
  module Length
    # Default.
    LENGTH_UNSPECIFIED = 0

    # A brief summary of one or two sentences.
    BRIEF = 1

    # A paragraph-length summary.
    MODERATE = 2

    # The longest option available.
    COMPREHENSIVE = 3
  end

  # The Format enum.
  module Format
    # Default.
    FORMAT_UNSPECIFIED = 0

    # Format the output in paragraphs.
    PARAGRAPH = 1

    # Format the output in bullets.
    BULLETS = 2
  end
end