|
4106 | 4106 | }
|
4107 | 4107 | },
|
4108 | 4108 | "resources": {
|
| 4109 | + "chat": { |
| 4110 | + "methods": { |
| 4111 | + "completions": { |
| 4112 | + "description": "Exposes an OpenAI-compatible endpoint for chat completions.", |
| 4113 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}/chat/completions", |
| 4114 | + "httpMethod": "POST", |
| 4115 | + "id": "aiplatform.projects.locations.endpoints.chat.completions", |
| 4116 | + "parameterOrder": [ |
| 4117 | + "endpoint" |
| 4118 | + ], |
| 4119 | + "parameters": { |
| 4120 | + "endpoint": { |
| 4121 | + "description": "Required. The name of the endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", |
| 4122 | + "location": "path", |
| 4123 | + "pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", |
| 4124 | + "required": true, |
| 4125 | + "type": "string" |
| 4126 | + } |
| 4127 | + }, |
| 4128 | + "path": "v1/{+endpoint}/chat/completions", |
| 4129 | + "request": { |
| 4130 | + "$ref": "GoogleApiHttpBody" |
| 4131 | + }, |
| 4132 | + "response": { |
| 4133 | + "$ref": "GoogleApiHttpBody" |
| 4134 | + }, |
| 4135 | + "scopes": [ |
| 4136 | + "https://www.googleapis.com/auth/cloud-platform", |
| 4137 | + "https://www.googleapis.com/auth/cloud-platform.read-only" |
| 4138 | + ] |
| 4139 | + } |
| 4140 | + } |
| 4141 | + }, |
4109 | 4142 | "operations": {
|
4110 | 4143 | "methods": {
|
4111 | 4144 | "cancel": {
|
|
17813 | 17846 | }
|
17814 | 17847 | }
|
17815 | 17848 | },
|
17816 |
| - "revision": "20240925", |
| 17849 | + "revision": "20241001", |
17817 | 17850 | "rootUrl": "https://aiplatform.googleapis.com/",
|
17818 | 17851 | "schemas": {
|
17819 | 17852 | "CloudAiLargeModelsVisionGenerateVideoResponse": {
|
|
21435 | 21468 | },
|
21436 | 21469 | "type": "object"
|
21437 | 21470 | },
|
| 21471 | + "GoogleCloudAiplatformV1DynamicRetrievalConfig": { |
| 21472 | + "description": "Describes the options to customize dynamic retrieval.", |
| 21473 | + "id": "GoogleCloudAiplatformV1DynamicRetrievalConfig", |
| 21474 | + "properties": { |
| 21475 | + "dynamicThreshold": { |
| 21476 | + "description": "Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.", |
| 21477 | + "format": "float", |
| 21478 | + "type": "number" |
| 21479 | + }, |
| 21480 | + "mode": { |
| 21481 | + "description": "The mode of the predictor to be used in dynamic retrieval.", |
| 21482 | + "enum": [ |
| 21483 | + "MODE_UNSPECIFIED", |
| 21484 | + "MODE_DYNAMIC" |
| 21485 | + ], |
| 21486 | + "enumDescriptions": [ |
| 21487 | + "Always trigger retrieval.", |
| 21488 | + "Run retrieval only when system decides it is necessary." |
| 21489 | + ], |
| 21490 | + "type": "string" |
| 21491 | + } |
| 21492 | + }, |
| 21493 | + "type": "object" |
| 21494 | + }, |
21438 | 21495 | "GoogleCloudAiplatformV1EncryptionSpec": {
|
21439 | 21496 | "description": "Represents a customer-managed encryption key spec that can be applied to a top-level resource.",
|
21440 | 21497 | "id": "GoogleCloudAiplatformV1EncryptionSpec",
|
|
24836 | 24893 | "GoogleCloudAiplatformV1GoogleSearchRetrieval": {
|
24837 | 24894 | "description": "Tool to retrieve public web data for grounding, powered by Google.",
|
24838 | 24895 | "id": "GoogleCloudAiplatformV1GoogleSearchRetrieval",
|
24839 |
| - "properties": {}, |
| 24896 | + "properties": { |
| 24897 | + "dynamicRetrievalConfig": { |
| 24898 | + "$ref": "GoogleCloudAiplatformV1DynamicRetrievalConfig", |
| 24899 | + "description": "Specifies the dynamic retrieval configuration for the given source." |
| 24900 | + } |
| 24901 | + }, |
24840 | 24902 | "type": "object"
|
24841 | 24903 | },
|
24842 | 24904 | "GoogleCloudAiplatformV1GroundednessInput": {
|
|
24968 | 25030 | },
|
24969 | 25031 | "type": "array"
|
24970 | 25032 | },
|
| 25033 | + "retrievalMetadata": { |
| 25034 | + "$ref": "GoogleCloudAiplatformV1RetrievalMetadata", |
| 25035 | + "description": "Optional. Output only. Retrieval metadata.", |
| 25036 | + "readOnly": true |
| 25037 | + }, |
24971 | 25038 | "searchEntryPoint": {
|
24972 | 25039 | "$ref": "GoogleCloudAiplatformV1SearchEntryPoint",
|
24973 | 25040 | "description": "Optional. Google search entry for the following-up web searches."
|
@@ -26763,11 +26830,11 @@
|
26763 | 26830 | "type": "number"
|
26764 | 26831 | },
|
26765 | 26832 | "token": {
|
26766 |
| - "description": "The candidate’s token string value.", |
| 26833 | + "description": "The candidate's token string value.", |
26767 | 26834 | "type": "string"
|
26768 | 26835 | },
|
26769 | 26836 | "tokenId": {
|
26770 |
| - "description": "The candidate’s token id value.", |
| 26837 | + "description": "The candidate's token id value.", |
26771 | 26838 | "format": "int32",
|
26772 | 26839 | "type": "integer"
|
26773 | 26840 | }
|
|
32288 | 32355 | },
|
32289 | 32356 | "type": "object"
|
32290 | 32357 | },
|
| 32358 | + "GoogleCloudAiplatformV1RetrievalMetadata": { |
| 32359 | + "description": "Metadata related to retrieval in the grounding flow.", |
| 32360 | + "id": "GoogleCloudAiplatformV1RetrievalMetadata", |
| 32361 | + "properties": { |
| 32362 | + "googleSearchDynamicRetrievalScore": { |
| 32363 | + "description": "Optional. Score indicating how likely information from Google Search could help answer the prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most likely. This score is only populated when Google Search grounding and dynamic retrieval is enabled. It will be compared to the threshold to determine whether to trigger Google Search.", |
| 32364 | + "format": "float", |
| 32365 | + "type": "number" |
| 32366 | + } |
| 32367 | + }, |
| 32368 | + "type": "object" |
| 32369 | + }, |
32291 | 32370 | "GoogleCloudAiplatformV1RougeInput": {
|
32292 | 32371 | "description": "Input for rouge metric.",
|
32293 | 32372 | "id": "GoogleCloudAiplatformV1RougeInput",
|
|
0 commit comments