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, seeModel versions and lifecycle.
Optional. An optional, pre-defined list of allowed types for generated rubrics. If this field is provided, it impliesinclude_rubric_typeshould be true, and the generated rubric types should be chosen from this ontology.
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.
[[["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,["Specification for how rubrics should be generated.\nFields `promptTemplate` `string` \nTemplate for the prompt used to generate rubrics. The details should be updated based on the most-recent recipe requirements.\n`rubricContentType` `enum (`[RubricContentType](/vertex-ai/generative-ai/docs/reference/rest/v1/RubricGenerationSpec#RubricContentType)`)` \nThe type of rubric content to be generated.\n`rubricTypeOntology[]` `string` \nOptional. 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.\n`modelConfig` `object (`[AutoraterConfig](/vertex-ai/generative-ai/docs/reference/rest/v1/AutoraterConfig)`)` \nConfiguration 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. \n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"promptTemplate\": string, \"rubricContentType\": enum (/vertex-ai/generative-ai/docs/reference/rest/v1/RubricGenerationSpec#RubricContentType), \"rubricTypeOntology\": [ string ], \"modelConfig\": { object (/vertex-ai/generative-ai/docs/reference/rest/v1/AutoraterConfig) } } ``` |\n\nRubricContentType Specifies the type of rubric content to generate.\n\n| Enums ||\n|-----------------------------------|---------------------------------------------------|\n| `RUBRIC_CONTENT_TYPE_UNSPECIFIED` | The content type to generate is not specified. |\n| `PROPERTY` | Generate rubrics based on properties. |\n| `NL_QUESTION_ANSWER` | Generate rubrics in an NL question answer format. |\n| `PYTHON_CODE_ASSERTION` | Generate rubrics in a unit test format. |"]]