public static interface RagFileParsingConfig.LlmParserOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. |
getGlobalMaxParsingRequestsPerMin()
public abstract int getGlobalMaxParsingRequestsPerMin()
The maximum number of requests the job is allowed to make to the LLM model per minute in this project. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If this value is not specified, max_parsing_requests_per_min will be used by indexing pipeline job as the global limit.
int32 global_max_parsing_requests_per_min = 4;
Returns | |
---|---|
Type | Description |
int |
The globalMaxParsingRequestsPerMin. |
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:
projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}
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:
projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}
string model_name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for modelName. |