Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
Required. The actual testable criteria for the rubric.
type
string
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".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-05 UTC."],[],[],null,["message representing a single testable criterion for evaluation. One input prompt could have multiple rubrics.\nFields `rubricId` `string` \nUnique identifier for the rubric. This id is used to refer to this rubric, e.g., in RubricVerdict.\n`content` `object (`[Content](/vertex-ai/generative-ai/docs/reference/rest/v1/Rubric#Content)`)` \nRequired. The actual testable criteria for the rubric.\n`type` `string` \nOptional. 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\".\n`importance` `enum (`[Importance](/vertex-ai/generative-ai/docs/reference/rest/v1/Rubric#Importance)`)` \nOptional. The relative importance of this rubric. \n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"rubricId\": string, \"content\": { object (/vertex-ai/generative-ai/docs/reference/rest/v1/Rubric#Content) }, \"type\": string, \"importance\": enum (/vertex-ai/generative-ai/docs/reference/rest/v1/Rubric#Importance) } ``` |\n\nContent \nContent of the rubric, defining the testable criteria.\nFields \n`content_type` `Union type` \n`content_type` can be only one of the following:\n`property` `object (`[Property](/vertex-ai/generative-ai/docs/reference/rest/v1/Rubric#Property)`)` \nEvaluation criteria based on a specific property. \n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // content_type \"property\": { object (/vertex-ai/generative-ai/docs/reference/rest/v1/Rubric#Property) } // Union type } ``` |\n\nProperty \nDefines criteria based on a specific property.\nFields `description` `string` \ndescription of the property being evaluated. Example: \"The model's response is grammatically correct.\" \n\n| JSON representation |\n|-----------------------------------|\n| ``` { \"description\": string } ``` |\n\nImportance Importance level of the rubric.\n\n| Enums ||\n|--------------------------|------------------------------|\n| `IMPORTANCE_UNSPECIFIED` | Importance is not specified. |\n| `HIGH` | High importance. |\n| `MEDIUM` | Medium importance. |\n| `LOW` | Low importance. |"]]