Class: Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig

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

Overview

Config for importing documents. Each batch can have its own dataset split type.

Defined Under Namespace

Classes: AutoSplitConfig

Instance Attribute Summary collapse

Instance Attribute Details

#auto_split_config::Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig::AutoSplitConfig

Returns If set, documents will be automatically split into training and test split category with the specified ratio.

Returns:



69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'proto_docs/google/cloud/documentai/v1beta3/document_service.rb', line 69

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

  # The config for auto-split.
  # @!attribute [rw] training_split_ratio
  #   @return [::Float]
  #     Ratio of training dataset split.
  class AutoSplitConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#batch_input_config::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig

Returns The common config to specify a set of documents used as input.

Returns:



69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'proto_docs/google/cloud/documentai/v1beta3/document_service.rb', line 69

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

  # The config for auto-split.
  # @!attribute [rw] training_split_ratio
  #   @return [::Float]
  #     Ratio of training dataset split.
  class AutoSplitConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#dataset_split::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType

Returns Target dataset split where the documents must be stored.

Returns:



69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'proto_docs/google/cloud/documentai/v1beta3/document_service.rb', line 69

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

  # The config for auto-split.
  # @!attribute [rw] training_split_ratio
  #   @return [::Float]
  #     Ratio of training dataset split.
  class AutoSplitConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end