public sealed class RubricGenerationSpec : IMessage<RubricGenerationSpec>, IEquatable<RubricGenerationSpec>, IDeepCloneable<RubricGenerationSpec>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class RubricGenerationSpec.
Specification for how rubrics should be generated.
Implements
IMessageRubricGenerationSpec, IEquatableRubricGenerationSpec, IDeepCloneableRubricGenerationSpec, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
RubricGenerationSpec()
public RubricGenerationSpec()RubricGenerationSpec(RubricGenerationSpec)
public RubricGenerationSpec(RubricGenerationSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
RubricGenerationSpec |
Properties
ModelConfig
public AutoraterConfig ModelConfig { get; set; }Configuration for the model used in rubric generation. Configs including sampling count and base model can be specified here. Flipping is not supported for rubric generation.
| Property Value | |
|---|---|
| Type | Description |
AutoraterConfig |
|
PromptTemplate
public string PromptTemplate { get; set; }Template for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements.
| Property Value | |
|---|---|
| Type | Description |
string |
|
RubricContentType
public RubricGenerationSpec.Types.RubricContentType RubricContentType { get; set; }The type of rubric content to be generated.
| Property Value | |
|---|---|
| Type | Description |
RubricGenerationSpecTypesRubricContentType |
|
RubricTypeOntology
public RepeatedField<string> RubricTypeOntology { get; }Optional. An optional, pre-defined list of allowed types for generated
rubrics. If this field is provided, it implies include_rubric_type should
be true, and the generated rubric types should be chosen from this
ontology.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|