View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig (google_api_discovery_engine v0.15.0)
A singleton resource of DataStore. It's empty when DataStore is created, which defaults to digital parser. The first call to DataStoreService.UpdateDocumentProcessingConfig method will initialize the config.
Attributes
-
chunkingConfig
(type:GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig.t
, default:nil
) - Whether chunking mode is enabled. -
defaultParsingConfig
(type:GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig.t
, default:nil
) - Configurations for default Document parser. If not specified, we will configure it as default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing. -
name
(type:String.t
, default:nil
) - The full resource name of the Document Processing Config. Format:projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig
. -
parsingConfigOverrides
(type:%{optional(String.t) => GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig.t}
, default:nil
) - Map from file type to override the default parsing configuration based on the file type. Supported keys:pdf
: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported.html
: Override parsing config for HTML files, only digital parsing and layout parsing are supported.docx
: Override parsing config for DOCX files, only digital parsing and layout parsing are supported.pptx
: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. *xlsx
: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig{ chunkingConfig: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig.t() | nil, defaultParsingConfig: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig.t() | nil, name: String.t() | nil, parsingConfigOverrides: %{ optional(String.t()) => GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig.t() } | nil }
Functions
Unwrap a decoded JSON object into its complex fields.