RagFileParsingConfig Stay organized with collections Save and categorize content based on your preferences.
Specifies the parsing config for RagFiles.
useAdvancedPdfParsing
(deprecated)booleanparserUnion typeparser can be only one of the following:advancedParserobject (AdvancedParser)The Advanced Parser to use for RagFiles.
layoutParserobject (LayoutParser)The Layout Parser to use for RagFiles.
llmParserobject (LlmParser)The LLM Parser to use for RagFiles.
| JSON representation |
|---|
{"useAdvancedPdfParsing":boolean,// parser"advancedParser":{object ( |
AdvancedParser
Specifies the advanced parsing for RagFiles.
useAdvancedPdfParsingbooleanWhether to use advanced PDF parsing.
| JSON representation |
|---|
{"useAdvancedPdfParsing":boolean} |
LayoutParser
Document AI Layout Parser config.
processorNamestringThe full resource name of a Document AI processor or processor version. The processor must have typeLAYOUT_PARSER_PROCESSOR. If specified, theadditionalConfig.parse_as_scanned_pdf field must be false. Format: *projects/{projectId}/locations/{location}/processors/{processorId} *projects/{projectId}/locations/{location}/processors/{processorId}/processorVersions/{processor_version_id}
maxParsingRequestsPerMinintegerThe maximum number of requests the job is allowed to make to the Document AI processor per minute. Consulthttps://cloud.google.com/document-ai/quotas and the Quota page for your project to set an appropriate value here. If unspecified, a default value of 120 QPM would be used.
globalMaxParsingRequestsPerMinintegerThe maximum number of requests the job is allowed to make to the Document AI processor per minute in this project. Consulthttps://cloud.google.com/document-ai/quotas and the Quota page for your project to set an appropriate value here. If this value is not specified, maxParsingRequestsPerMin will be used by indexing pipeline as the global limit.
| JSON representation |
|---|
{"processorName":string,"maxParsingRequestsPerMin":integer,"globalMaxParsingRequestsPerMin":integer} |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-31 UTC.