POST /v1:generateInstanceRubrics
Changed onGenerates rubrics for a given prompt. A rubric represents a single testable criterion for evaluation. One input prompt could have multiple rubrics This RPC allows users to get suggested rubrics based on provided prompt, which can then be reviewed and used for subsequent evaluations.
Request
- Base URLhttps://aiplatform.googleapis.com
- Auth
- OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/aiplatformAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/aiplatform
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/cloud-platformAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform
Request body
Response
Successful response
Changes
- info
the security scope
https://www.googleapis.com/auth/aiplatformwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/aiplatformwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas removed from the endpoint's security schemeOauth2c
- info
- info
the security scope
https://www.googleapis.com/auth/aiplatformwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/aiplatformwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas removed from the endpoint's security schemeOauth2c
- info