File tree Expand file tree Collapse file tree
google/cloud/aiplatform/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -347,10 +347,32 @@ message RagFileParsingConfig {
347347 int32 max_parsing_requests_per_min = 2 ;
348348 }
349349
350+ // Specifies the advanced parsing for RagFiles.
351+ message LlmParser {
352+ // The name of a LLM model used for parsing.
353+ // Format:
354+ // * `projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}`
355+ string model_name = 1 ;
356+
357+ // The maximum number of requests the job is allowed to make to the
358+ // LLM model per minute. Consult
359+ // https://cloud.google.com/vertex-ai/generative-ai/docs/quotas
360+ // and your document size to set an appropriate value here. If unspecified,
361+ // a default value of 5000 QPM would be used.
362+ int32 max_parsing_requests_per_min = 2 ;
363+
364+ // The prompt to use for parsing. If not specified, a default prompt will
365+ // be used.
366+ string custom_parsing_prompt = 3 ;
367+ }
368+
350369 // The parser to use for RagFiles.
351370 oneof parser {
352371 // The Layout Parser to use for RagFiles.
353372 LayoutParser layout_parser = 4 ;
373+
374+ // The LLM Parser to use for RagFiles.
375+ LlmParser llm_parser = 5 ;
354376 }
355377}
356378
You can’t perform that action at this time.
0 commit comments