Package com.google.cloud.aiplatform.v1
Interface RagFileParsingConfig.LlmParserOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RagFileParsingConfig.LlmParser,RagFileParsingConfig.LlmParser.Builder
- Enclosing class:
- RagFileParsingConfig
public static interface RagFileParsingConfig.LlmParserOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe prompt to use for parsing.com.google.protobuf.ByteStringThe prompt to use for parsing.intThe maximum number of requests the job is allowed to make to the LLM model per minute.The name of a LLM model used for parsing.com.google.protobuf.ByteStringThe name of a LLM model used for parsing.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getModelName
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:
- The modelName.
-
getModelNameBytes
com.google.protobuf.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:
- The bytes for modelName.
-
getMaxParsingRequestsPerMin
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:
- The maxParsingRequestsPerMin.
-
getCustomParsingPrompt
String getCustomParsingPrompt()The prompt to use for parsing. If not specified, a default prompt will be used.
string custom_parsing_prompt = 3;- Returns:
- The customParsingPrompt.
-
getCustomParsingPromptBytes
com.google.protobuf.ByteString getCustomParsingPromptBytes()The prompt to use for parsing. If not specified, a default prompt will be used.
string custom_parsing_prompt = 3;- Returns:
- The bytes for customParsingPrompt.
-