public sealed class Rubric : IMessage<Rubric>, IEquatable<Rubric>, IDeepCloneable<Rubric>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class Rubric.
Message representing a single testable criterion for evaluation. One input prompt could have multiple rubrics.
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
Rubric()
public Rubric()Rubric(Rubric)
public Rubric(Rubric other)| Parameter | |
|---|---|
| Name | Description |
other |
Rubric |
Properties
Content
public Rubric.Types.Content Content { get; set; }Required. The actual testable criteria for the rubric.
| Property Value | |
|---|---|
| Type | Description |
RubricTypesContent |
|
HasImportance
public bool HasImportance { get; }Gets whether the "importance" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasType
public bool HasType { get; }Gets whether the "type" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Importance
public Rubric.Types.Importance Importance { get; set; }Optional. The relative importance of this rubric.
| Property Value | |
|---|---|
| Type | Description |
RubricTypesImportance |
|
RubricId
public string RubricId { get; set; }Unique identifier for the rubric. This ID is used to refer to this rubric, e.g., in RubricVerdict.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Type
public string Type { get; set; }Optional. A type designator for the rubric, which can inform how it's evaluated or interpreted by systems or users. It's recommended to use consistent, well-defined, upper snake_case strings. Examples: "SUMMARIZATION_QUALITY", "SAFETY_HARMFUL_CONTENT", "INSTRUCTION_ADHERENCE".
| Property Value | |
|---|---|
| Type | Description |
string |
|