Interface RagFileParsingConfig.LlmParserOrBuilder (3.56.0)

public static interface RagFileParsingConfig.LlmParserOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomParsingPrompt()

public abstract String getCustomParsingPrompt()

The prompt to use for parsing. If not specified, a default prompt will be used.

string custom_parsing_prompt = 3;

Returns
Type Description
String

The customParsingPrompt.

getCustomParsingPromptBytes()

public abstract ByteString getCustomParsingPromptBytes()

The prompt to use for parsing. If not specified, a default prompt will be used.

string custom_parsing_prompt = 3;

Returns
Type Description
ByteString

The bytes for customParsingPrompt.

getMaxParsingRequestsPerMin()

public abstract int getMaxParsingRequestsPerMin()

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.

int32 max_parsing_requests_per_min = 2;

Returns
Type Description
int

The maxParsingRequestsPerMin.

getModelName()

public abstract String getModelName()

The name of a LLM model used for parsing. Format: gemini-1.5-pro-002

string model_name = 1;

Returns
Type Description
String

The modelName.

getModelNameBytes()

public abstract ByteString getModelNameBytes()

The name of a LLM model used for parsing. Format: gemini-1.5-pro-002

string model_name = 1;

Returns
Type Description
ByteString

The bytes for modelName.