Skip to content

Commit a353d25

Browse files
Google APIscopybara-github
authored andcommitted
feat: release advanced parsing options for rag files
PiperOrigin-RevId: 660965686
1 parent 7601a10 commit a353d25

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/vertex_rag_data.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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.
191197
message 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

0 commit comments

Comments
 (0)