Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::RagFileParsingConfig::LlmParser (v1.11.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::RagFileParsingConfig::LlmParser.

Specifies the advanced parsing for RagFiles.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#custom_parsing_prompt

def custom_parsing_prompt() -> ::String
Returns
  • (::String) — The prompt to use for parsing. If not specified, a default prompt will be used.

#custom_parsing_prompt=

def custom_parsing_prompt=(value) -> ::String
Parameter
  • value (::String) — The prompt to use for parsing. If not specified, a default prompt will be used.
Returns
  • (::String) — The prompt to use for parsing. If not specified, a default prompt will be used.

#max_parsing_requests_per_min

def max_parsing_requests_per_min() -> ::Integer
Returns
  • (::Integer) — The maximum number of requests the job is allowed to make to the LLM model per minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If unspecified, a default value of 5000 QPM would be used.

#max_parsing_requests_per_min=

def max_parsing_requests_per_min=(value) -> ::Integer
Parameter
  • value (::Integer) — The maximum number of requests the job is allowed to make to the LLM model per minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If unspecified, a default value of 5000 QPM would be used.
Returns
  • (::Integer) — The maximum number of requests the job is allowed to make to the LLM model per minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If unspecified, a default value of 5000 QPM would be used.

#model_name

def model_name() -> ::String
Returns
  • (::String) —

    The name of a LLM model used for parsing. Format:

    • projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}

#model_name=

def model_name=(value) -> ::String
Parameter
  • value (::String) —

    The name of a LLM model used for parsing. Format:

    • projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}
Returns
  • (::String) —

    The name of a LLM model used for parsing. Format:

    • projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}