public sealed class DocumentProcessingConfig : IMessage<DocumentProcessingConfig>, IEquatable<DocumentProcessingConfig>, IDeepCloneable<DocumentProcessingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class DocumentProcessingConfig.
A singleton resource of [DataStore][google.cloud.discoveryengine.v1.DataStore]. It's empty when [DataStore][google.cloud.discoveryengine.v1.DataStore] is created, which defaults to digital parser. The first call to [DataStoreService.UpdateDocumentProcessingConfig][] method will initialize the config.
Implements
IMessageDocumentProcessingConfig, IEquatableDocumentProcessingConfig, IDeepCloneableDocumentProcessingConfig, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
DocumentProcessingConfig()
public DocumentProcessingConfig()
DocumentProcessingConfig(DocumentProcessingConfig)
public DocumentProcessingConfig(DocumentProcessingConfig other)
Parameter | |
---|---|
Name | Description |
other |
DocumentProcessingConfig |
Properties
ChunkingConfig
public DocumentProcessingConfig.Types.ChunkingConfig ChunkingConfig { get; set; }
Whether chunking mode is enabled.
Property Value | |
---|---|
Type | Description |
DocumentProcessingConfigTypesChunkingConfig |
DefaultParsingConfig
public DocumentProcessingConfig.Types.ParsingConfig DefaultParsingConfig { get; set; }
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.
Property Value | |
---|---|
Type | Description |
DocumentProcessingConfigTypesParsingConfig |
DocumentProcessingConfigName
public DocumentProcessingConfigName DocumentProcessingConfigName { get; set; }
DocumentProcessingConfigName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
DocumentProcessingConfigName |
Name
public string Name { get; set; }
The full resource name of the Document Processing Config.
Format:
projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig
.
Property Value | |
---|---|
Type | Description |
string |
ParsingConfigOverrides
public MapField<string, DocumentProcessingConfig.Types.ParsingConfig> ParsingConfigOverrides { get; }
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.
Property Value | |
---|---|
Type | Description |
MapFieldstringDocumentProcessingConfigTypesParsingConfig |