|
54 | 54 | "endpointUrl": "https://asia-south1-aiplatform.googleapis.com/", |
55 | 55 | "location": "asia-south1" |
56 | 56 | }, |
| 57 | + { |
| 58 | + "description": "Locational Endpoint", |
| 59 | + "endpointUrl": "https://asia-south2-aiplatform.googleapis.com/", |
| 60 | + "location": "asia-south2" |
| 61 | + }, |
57 | 62 | { |
58 | 63 | "description": "Locational Endpoint", |
59 | 64 | "endpointUrl": "https://asia-southeast1-aiplatform.googleapis.com/", |
|
1073 | 1078 | "name" |
1074 | 1079 | ], |
1075 | 1080 | "parameters": { |
| 1081 | + "extraLocationTypes": { |
| 1082 | + "description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", |
| 1083 | + "location": "query", |
| 1084 | + "repeated": true, |
| 1085 | + "type": "string" |
| 1086 | + }, |
1076 | 1087 | "filter": { |
1077 | 1088 | "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", |
1078 | 1089 | "location": "query", |
|
15391 | 15402 | "name" |
15392 | 15403 | ], |
15393 | 15404 | "parameters": { |
| 15405 | + "force": { |
| 15406 | + "description": "Optional. If set to true, child resources of this reasoning engine will also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error when the reasoning engine has undeleted child resources.", |
| 15407 | + "location": "query", |
| 15408 | + "type": "boolean" |
| 15409 | + }, |
15394 | 15410 | "name": { |
15395 | 15411 | "description": "Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", |
15396 | 15412 | "location": "path", |
|
19539 | 19555 | } |
19540 | 19556 | } |
19541 | 19557 | }, |
19542 | | - "revision": "20250319", |
| 19558 | + "revision": "20250322", |
19543 | 19559 | "rootUrl": "https://aiplatform.googleapis.com/", |
19544 | 19560 | "schemas": { |
19545 | 19561 | "CloudAiLargeModelsVisionGenerateVideoResponse": { |
|
21931 | 21947 | }, |
21932 | 21948 | "type": "object" |
21933 | 21949 | }, |
| 21950 | + "GoogleCloudAiplatformV1ContentMap": { |
| 21951 | + "description": "Map of placeholder in metric prompt template to contents of model input.", |
| 21952 | + "id": "GoogleCloudAiplatformV1ContentMap", |
| 21953 | + "properties": { |
| 21954 | + "values": { |
| 21955 | + "additionalProperties": { |
| 21956 | + "$ref": "GoogleCloudAiplatformV1ContentMapContents" |
| 21957 | + }, |
| 21958 | + "description": "Optional. Map of placeholder to contents.", |
| 21959 | + "type": "object" |
| 21960 | + } |
| 21961 | + }, |
| 21962 | + "type": "object" |
| 21963 | + }, |
| 21964 | + "GoogleCloudAiplatformV1ContentMapContents": { |
| 21965 | + "description": "Repeated Content type.", |
| 21966 | + "id": "GoogleCloudAiplatformV1ContentMapContents", |
| 21967 | + "properties": { |
| 21968 | + "contents": { |
| 21969 | + "description": "Optional. Repeated contents.", |
| 21970 | + "items": { |
| 21971 | + "$ref": "GoogleCloudAiplatformV1Content" |
| 21972 | + }, |
| 21973 | + "type": "array" |
| 21974 | + } |
| 21975 | + }, |
| 21976 | + "type": "object" |
| 21977 | + }, |
21934 | 21978 | "GoogleCloudAiplatformV1Context": { |
21935 | 21979 | "description": "Instance of a general context.", |
21936 | 21980 | "id": "GoogleCloudAiplatformV1Context", |
|
22730 | 22774 | }, |
22731 | 22775 | "type": "object" |
22732 | 22776 | }, |
| 22777 | + "GoogleCloudAiplatformV1CustomOutput": { |
| 22778 | + "description": "Spec for custom output.", |
| 22779 | + "id": "GoogleCloudAiplatformV1CustomOutput", |
| 22780 | + "properties": { |
| 22781 | + "rawOutputs": { |
| 22782 | + "$ref": "GoogleCloudAiplatformV1RawOutput", |
| 22783 | + "description": "Output only. List of raw output strings.", |
| 22784 | + "readOnly": true |
| 22785 | + } |
| 22786 | + }, |
| 22787 | + "type": "object" |
| 22788 | + }, |
| 22789 | + "GoogleCloudAiplatformV1CustomOutputFormatConfig": { |
| 22790 | + "description": "Spec for custom output format configuration.", |
| 22791 | + "id": "GoogleCloudAiplatformV1CustomOutputFormatConfig", |
| 22792 | + "properties": { |
| 22793 | + "returnRawOutput": { |
| 22794 | + "description": "Optional. Whether to return raw output.", |
| 22795 | + "type": "boolean" |
| 22796 | + } |
| 22797 | + }, |
| 22798 | + "type": "object" |
| 22799 | + }, |
22733 | 22800 | "GoogleCloudAiplatformV1DataItem": { |
22734 | 22801 | "description": "A piece of data in a Dataset. Could be an image, a video, a document or plain text.", |
22735 | 22802 | "id": "GoogleCloudAiplatformV1DataItem", |
|
23778 | 23845 | "type": "string" |
23779 | 23846 | }, |
23780 | 23847 | "dedicatedEndpointDns": { |
23781 | | - "description": "Output only. DNS of the dedicated endpoint. Will only be populated if dedicated_endpoint_enabled is true. Format: `https://{endpoint_id}.{region}-{project_number}.prediction.vertexai.goog`.", |
| 23848 | + "description": "Output only. DNS of the dedicated endpoint. Will only be populated if dedicated_endpoint_enabled is true. Depending on the features enabled, uid might be a random number or a string. For example, if fast_tryout is enabled, uid will be fasttryout. Format: `https://{endpoint_id}.{region}-{uid}.prediction.vertexai.goog`.", |
23782 | 23849 | "readOnly": true, |
23783 | 23850 | "type": "string" |
23784 | 23851 | }, |
|
24030 | 24097 | "properties": { |
24031 | 24098 | "autoraterConfig": { |
24032 | 24099 | "$ref": "GoogleCloudAiplatformV1AutoraterConfig", |
24033 | | - "description": "Optional. Autorater config used for evaluation." |
| 24100 | + "description": "Optional. Autorater config used for evaluation. Currently only publisher Gemini models are supported. Format: `projects/{PROJECT}/locations/{LOCATION}/publishers/google/models/{MODEL}.`" |
24034 | 24101 | }, |
24035 | 24102 | "dataset": { |
24036 | 24103 | "$ref": "GoogleCloudAiplatformV1EvaluationDataset", |
|
24126 | 24193 | "$ref": "GoogleCloudAiplatformV1RougeInput", |
24127 | 24194 | "description": "Instances and metric spec for rouge metric." |
24128 | 24195 | }, |
| 24196 | + "rubricBasedInstructionFollowingInput": { |
| 24197 | + "$ref": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput", |
| 24198 | + "description": "Rubric Based Instruction Following metric." |
| 24199 | + }, |
24129 | 24200 | "safetyInput": { |
24130 | 24201 | "$ref": "GoogleCloudAiplatformV1SafetyInput", |
24131 | 24202 | "description": "Input for safety metric." |
|
24257 | 24328 | "$ref": "GoogleCloudAiplatformV1RougeResults", |
24258 | 24329 | "description": "Results for rouge metric." |
24259 | 24330 | }, |
| 24331 | + "rubricBasedInstructionFollowingResult": { |
| 24332 | + "$ref": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult", |
| 24333 | + "description": "Result for rubric based instruction following metric." |
| 24334 | + }, |
24260 | 24335 | "safetyResult": { |
24261 | 24336 | "$ref": "GoogleCloudAiplatformV1SafetyResult", |
24262 | 24337 | "description": "Result for safety metric." |
|
24405 | 24480 | }, |
24406 | 24481 | "gcsSource": { |
24407 | 24482 | "$ref": "GoogleCloudAiplatformV1GcsSource", |
24408 | | - "description": "Cloud storage source holds the dataset." |
| 24483 | + "description": "Cloud storage source holds the dataset. Currently only one Cloud Storage file path is supported." |
24409 | 24484 | } |
24410 | 24485 | }, |
24411 | 24486 | "type": "object" |
|
27361 | 27436 | "description": "Total token count for prompt, response candidates, and tool-use prompts (if present).", |
27362 | 27437 | "format": "int32", |
27363 | 27438 | "type": "integer" |
| 27439 | + }, |
| 27440 | + "trafficType": { |
| 27441 | + "description": "Output only. Traffic type. This shows whether a request consumes Pay-As-You-Go or Provisioned Throughput quota.", |
| 27442 | + "enum": [ |
| 27443 | + "TRAFFIC_TYPE_UNSPECIFIED", |
| 27444 | + "ON_DEMAND", |
| 27445 | + "PROVISIONED_THROUGHPUT" |
| 27446 | + ], |
| 27447 | + "enumDescriptions": [ |
| 27448 | + "Unspecified request traffic type.", |
| 27449 | + "Type for Pay-As-You-Go traffic.", |
| 27450 | + "Type for Provisioned Throughput traffic." |
| 27451 | + ], |
| 27452 | + "readOnly": true, |
| 27453 | + "type": "string" |
27364 | 27454 | } |
27365 | 27455 | }, |
27366 | 27456 | "type": "object" |
|
33067 | 33157 | "description": "Pairwise metric instance. Usually one instance corresponds to one row in an evaluation dataset.", |
33068 | 33158 | "id": "GoogleCloudAiplatformV1PairwiseMetricInstance", |
33069 | 33159 | "properties": { |
| 33160 | + "contentMapInstance": { |
| 33161 | + "$ref": "GoogleCloudAiplatformV1ContentMap", |
| 33162 | + "description": "Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc. The key is placeholder in metric prompt template, and the value is the multimodal content." |
| 33163 | + }, |
33070 | 33164 | "jsonInstance": { |
33071 | 33165 | "description": "Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template.", |
33072 | 33166 | "type": "string" |
|
33078 | 33172 | "description": "Spec for pairwise metric result.", |
33079 | 33173 | "id": "GoogleCloudAiplatformV1PairwiseMetricResult", |
33080 | 33174 | "properties": { |
| 33175 | + "customOutput": { |
| 33176 | + "$ref": "GoogleCloudAiplatformV1CustomOutput", |
| 33177 | + "description": "Output only. Spec for custom output.", |
| 33178 | + "readOnly": true |
| 33179 | + }, |
33081 | 33180 | "explanation": { |
33082 | 33181 | "description": "Output only. Explanation for pairwise metric score.", |
33083 | 33182 | "readOnly": true, |
|
33115 | 33214 | "description": "Optional. The field name of the candidate response.", |
33116 | 33215 | "type": "string" |
33117 | 33216 | }, |
| 33217 | + "customOutputFormatConfig": { |
| 33218 | + "$ref": "GoogleCloudAiplatformV1CustomOutputFormatConfig", |
| 33219 | + "description": "Optional. CustomOutputFormatConfig allows customization of metric output. When this config is set, the default output is replaced with the raw output string. If a custom format is chosen, the `pairwise_choice` and `explanation` fields in the corresponding metric result will be empty." |
| 33220 | + }, |
33118 | 33221 | "metricPromptTemplate": { |
33119 | 33222 | "description": "Required. Metric prompt template for pairwise metric.", |
33120 | 33223 | "type": "string" |
|
33976 | 34079 | "description": "Pointwise metric instance. Usually one instance corresponds to one row in an evaluation dataset.", |
33977 | 34080 | "id": "GoogleCloudAiplatformV1PointwiseMetricInstance", |
33978 | 34081 | "properties": { |
| 34082 | + "contentMapInstance": { |
| 34083 | + "$ref": "GoogleCloudAiplatformV1ContentMap", |
| 34084 | + "description": "Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc. The key is placeholder in metric prompt template, and the value is the multimodal content." |
| 34085 | + }, |
33979 | 34086 | "jsonInstance": { |
33980 | 34087 | "description": "Instance specified as a json string. String key-value pairs are expected in the json_instance to render PointwiseMetricSpec.instance_prompt_template.", |
33981 | 34088 | "type": "string" |
|
33987 | 34094 | "description": "Spec for pointwise metric result.", |
33988 | 34095 | "id": "GoogleCloudAiplatformV1PointwiseMetricResult", |
33989 | 34096 | "properties": { |
| 34097 | + "customOutput": { |
| 34098 | + "$ref": "GoogleCloudAiplatformV1CustomOutput", |
| 34099 | + "description": "Output only. Spec for custom output.", |
| 34100 | + "readOnly": true |
| 34101 | + }, |
33990 | 34102 | "explanation": { |
33991 | 34103 | "description": "Output only. Explanation for pointwise metric score.", |
33992 | 34104 | "readOnly": true, |
|
34005 | 34117 | "description": "Spec for pointwise metric.", |
34006 | 34118 | "id": "GoogleCloudAiplatformV1PointwiseMetricSpec", |
34007 | 34119 | "properties": { |
| 34120 | + "customOutputFormatConfig": { |
| 34121 | + "$ref": "GoogleCloudAiplatformV1CustomOutputFormatConfig", |
| 34122 | + "description": "Optional. CustomOutputFormatConfig allows customization of metric output. By default, metrics return a score and explanation. When this config is set, the default output is replaced with either: - The raw output string. - A parsed output based on a user-defined schema. If a custom format is chosen, the `score` and `explanation` fields in the corresponding metric result will be empty." |
| 34123 | + }, |
34008 | 34124 | "metricPromptTemplate": { |
34009 | 34125 | "description": "Required. Metric prompt template for pointwise metric.", |
34010 | 34126 | "type": "string" |
|
35749 | 35865 | }, |
35750 | 35866 | "type": "object" |
35751 | 35867 | }, |
| 35868 | + "GoogleCloudAiplatformV1RawOutput": { |
| 35869 | + "description": "Raw output.", |
| 35870 | + "id": "GoogleCloudAiplatformV1RawOutput", |
| 35871 | + "properties": { |
| 35872 | + "rawOutput": { |
| 35873 | + "description": "Output only. Raw output string.", |
| 35874 | + "items": { |
| 35875 | + "type": "string" |
| 35876 | + }, |
| 35877 | + "readOnly": true, |
| 35878 | + "type": "array" |
| 35879 | + } |
| 35880 | + }, |
| 35881 | + "type": "object" |
| 35882 | + }, |
35752 | 35883 | "GoogleCloudAiplatformV1RawPredictRequest": { |
35753 | 35884 | "description": "Request message for PredictionService.RawPredict.", |
35754 | 35885 | "id": "GoogleCloudAiplatformV1RawPredictRequest", |
|
36561 | 36692 | }, |
36562 | 36693 | "type": "object" |
36563 | 36694 | }, |
| 36695 | + "GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput": { |
| 36696 | + "description": "Instance and metric spec for RubricBasedInstructionFollowing metric.", |
| 36697 | + "id": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput", |
| 36698 | + "properties": { |
| 36699 | + "instance": { |
| 36700 | + "$ref": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance", |
| 36701 | + "description": "Required. Instance for RubricBasedInstructionFollowing metric." |
| 36702 | + }, |
| 36703 | + "metricSpec": { |
| 36704 | + "$ref": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec", |
| 36705 | + "description": "Required. Spec for RubricBasedInstructionFollowing metric." |
| 36706 | + } |
| 36707 | + }, |
| 36708 | + "type": "object" |
| 36709 | + }, |
| 36710 | + "GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance": { |
| 36711 | + "description": "Instance for RubricBasedInstructionFollowing metric - one instance corresponds to one row in an evaluation dataset.", |
| 36712 | + "id": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance", |
| 36713 | + "properties": { |
| 36714 | + "jsonInstance": { |
| 36715 | + "description": "Required. Instance specified as a json string. String key-value pairs are expected in the json_instance to render RubricBasedInstructionFollowing prompt templates.", |
| 36716 | + "type": "string" |
| 36717 | + } |
| 36718 | + }, |
| 36719 | + "type": "object" |
| 36720 | + }, |
| 36721 | + "GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult": { |
| 36722 | + "description": "Result for RubricBasedInstructionFollowing metric.", |
| 36723 | + "id": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult", |
| 36724 | + "properties": { |
| 36725 | + "rubricCritiqueResults": { |
| 36726 | + "description": "Output only. List of per rubric critique results.", |
| 36727 | + "items": { |
| 36728 | + "$ref": "GoogleCloudAiplatformV1RubricCritiqueResult" |
| 36729 | + }, |
| 36730 | + "readOnly": true, |
| 36731 | + "type": "array" |
| 36732 | + }, |
| 36733 | + "score": { |
| 36734 | + "description": "Output only. Overall score for the instruction following.", |
| 36735 | + "format": "float", |
| 36736 | + "readOnly": true, |
| 36737 | + "type": "number" |
| 36738 | + } |
| 36739 | + }, |
| 36740 | + "type": "object" |
| 36741 | + }, |
| 36742 | + "GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec": { |
| 36743 | + "description": "Spec for RubricBasedInstructionFollowing metric - returns rubrics and verdicts corresponding to rubrics along with overall score.", |
| 36744 | + "id": "GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec", |
| 36745 | + "properties": {}, |
| 36746 | + "type": "object" |
| 36747 | + }, |
| 36748 | + "GoogleCloudAiplatformV1RubricCritiqueResult": { |
| 36749 | + "description": "Rubric critique result.", |
| 36750 | + "id": "GoogleCloudAiplatformV1RubricCritiqueResult", |
| 36751 | + "properties": { |
| 36752 | + "rubric": { |
| 36753 | + "description": "Output only. Rubric to be evaluated.", |
| 36754 | + "readOnly": true, |
| 36755 | + "type": "string" |
| 36756 | + }, |
| 36757 | + "verdict": { |
| 36758 | + "description": "Output only. Verdict for the rubric - true if the rubric is met, false otherwise.", |
| 36759 | + "readOnly": true, |
| 36760 | + "type": "boolean" |
| 36761 | + } |
| 36762 | + }, |
| 36763 | + "type": "object" |
| 36764 | + }, |
36564 | 36765 | "GoogleCloudAiplatformV1SafetyInput": { |
36565 | 36766 | "description": "Input for safety metric.", |
36566 | 36767 | "id": "GoogleCloudAiplatformV1SafetyInput", |
|
0 commit comments