Interface GenerateInstanceRubricsRequestOrBuilder (3.100.0)

public interface GenerateInstanceRubricsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAgentConfig()

public abstract EvaluationInstance.DeprecatedAgentConfig getAgentConfig()

Optional. Agent configuration, required for agent-based rubric generation.

.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig agent_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationInstance.DeprecatedAgentConfig

The agentConfig.

getAgentConfigOrBuilder()

public abstract EvaluationInstance.DeprecatedAgentConfigOrBuilder getAgentConfigOrBuilder()

Optional. Agent configuration, required for agent-based rubric generation.

.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig agent_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationInstance.DeprecatedAgentConfigOrBuilder

getContents(int index)

public abstract Content getContents(int index)

Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Content

getContentsCount()

public abstract int getContentsCount()

Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getContentsList()

public abstract List<Content> getContentsList()

Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Content>

getContentsOrBuilder(int index)

public abstract ContentOrBuilder getContentsOrBuilder(int index)

Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ContentOrBuilder

getContentsOrBuilderList()

public abstract List<? extends ContentOrBuilder> getContentsOrBuilderList()

Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ContentOrBuilder>

getLocation()

public abstract String getLocation()

Required. The resource name of the Location to generate rubrics from. Format: projects/{project}/locations/{location}

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Required. The resource name of the Location to generate rubrics from. Format: projects/{project}/locations/{location}

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for location.

getPredefinedRubricGenerationSpec()

public abstract PredefinedMetricSpec getPredefinedRubricGenerationSpec()

Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. "generic_quality_v1" and "instruction_following_v1". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. "fully_customized_generic_quality_v1". If this field is set, the rubric_generation_spec field will be ignored.

.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PredefinedMetricSpec

The predefinedRubricGenerationSpec.

getPredefinedRubricGenerationSpecOrBuilder()

public abstract PredefinedMetricSpecOrBuilder getPredefinedRubricGenerationSpecOrBuilder()

Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. "generic_quality_v1" and "instruction_following_v1". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. "fully_customized_generic_quality_v1". If this field is set, the rubric_generation_spec field will be ignored.

.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PredefinedMetricSpecOrBuilder

getRubricGenerationSpec()

public abstract RubricGenerationSpec getRubricGenerationSpec()

Optional. Specification for how the rubrics should be generated.

.google.cloud.aiplatform.v1beta1.RubricGenerationSpec rubric_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RubricGenerationSpec

The rubricGenerationSpec.

getRubricGenerationSpecOrBuilder()

public abstract RubricGenerationSpecOrBuilder getRubricGenerationSpecOrBuilder()

Optional. Specification for how the rubrics should be generated.

.google.cloud.aiplatform.v1beta1.RubricGenerationSpec rubric_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RubricGenerationSpecOrBuilder

hasAgentConfig()

public abstract boolean hasAgentConfig()

Optional. Agent configuration, required for agent-based rubric generation.

.google.cloud.aiplatform.v1beta1.EvaluationInstance.DeprecatedAgentConfig agent_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the agentConfig field is set.

hasPredefinedRubricGenerationSpec()

public abstract boolean hasPredefinedRubricGenerationSpec()

Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. "generic_quality_v1" and "instruction_following_v1". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. "fully_customized_generic_quality_v1". If this field is set, the rubric_generation_spec field will be ignored.

.google.cloud.aiplatform.v1beta1.PredefinedMetricSpec predefined_rubric_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the predefinedRubricGenerationSpec field is set.

hasRubricGenerationSpec()

public abstract boolean hasRubricGenerationSpec()

Optional. Specification for how the rubrics should be generated.

.google.cloud.aiplatform.v1beta1.RubricGenerationSpec rubric_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rubricGenerationSpec field is set.