File tree Expand file tree Collapse file tree
google/cloud/aiplatform/v1beta1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -187,6 +187,12 @@ message RagFileChunkingConfig {
187187 int32 chunk_overlap = 2 ;
188188}
189189
190+ // Specifies the parsing config for RagFiles.
191+ message RagFileParsingConfig {
192+ // Whether to use advanced PDF parsing.
193+ bool use_advanced_pdf_parsing = 2 ;
194+ }
195+
190196// Config for uploading RagFile.
191197message UploadRagFileConfig {
192198 // Specifies the size and overlap of chunks after uploading RagFile.
@@ -217,6 +223,9 @@ message ImportRagFilesConfig {
217223 // Specifies the size and overlap of chunks after importing RagFiles.
218224 RagFileChunkingConfig rag_file_chunking_config = 4 ;
219225
226+ // Specifies the parsing config for RagFiles.
227+ RagFileParsingConfig rag_file_parsing_config = 8 ;
228+
220229 // Optional. The max number of queries per minute that this job is allowed to
221230 // make to the embedding model specified on the corpus. This value is specific
222231 // to this job and not shared across other import jobs. Consult the Quotas
You can’t perform that action at this time.
0 commit comments