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 @@ -440,13 +440,34 @@ message RagFileParsingConfig {
440440 int32 max_parsing_requests_per_min = 2 ;
441441 }
442442
443+ // Specifies the advanced parsing for RagFiles.
444+ message LlmParser {
445+ // The name of a LLM model used for parsing.
446+ // Format: `gemini-1.5-pro-002`
447+ string model_name = 1 ;
448+
449+ // The maximum number of requests the job is allowed to make to the
450+ // LLM model per minute. Consult
451+ // https://cloud.google.com/vertex-ai/generative-ai/docs/quotas
452+ // and your document size to set an appropriate value here. If unspecified,
453+ // a default value of 5000 QPM would be used.
454+ int32 max_parsing_requests_per_min = 2 ;
455+
456+ // The prompt to use for parsing. If not specified, a default prompt will
457+ // be used.
458+ string custom_parsing_prompt = 3 ;
459+ }
460+
443461 // The parser to use for RagFiles.
444462 oneof parser {
445463 // The Advanced Parser to use for RagFiles.
446464 AdvancedParser advanced_parser = 3 ;
447465
448466 // The Layout Parser to use for RagFiles.
449467 LayoutParser layout_parser = 4 ;
468+
469+ // The LLM Parser to use for RagFiles.
470+ LlmParser llm_parser = 5 ;
450471 }
451472
452473 // Whether to use advanced PDF parsing.
You can’t perform that action at this time.
0 commit comments