Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2822)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Oct 13, 2024
1 parent 8e28fb5 commit 02a3fa0
Show file tree
Hide file tree
Showing 128 changed files with 32,990 additions and 21,799 deletions.
87 changes: 83 additions & 4 deletions aiplatform/v1/aiplatform-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -4106,6 +4106,39 @@
}
},
"resources": {
"chat": {
"methods": {
"completions": {
"description": "Exposes an OpenAI-compatible endpoint for chat completions.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}/chat/completions",
"httpMethod": "POST",
"id": "aiplatform.projects.locations.endpoints.chat.completions",
"parameterOrder": [
"endpoint"
],
"parameters": {
"endpoint": {
"description": "Required. The name of the endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+endpoint}/chat/completions",
"request": {
"$ref": "GoogleApiHttpBody"
},
"response": {
"$ref": "GoogleApiHttpBody"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
}
}
},
"operations": {
"methods": {
"cancel": {
Expand Down Expand Up @@ -17813,7 +17846,7 @@
}
}
},
"revision": "20240925",
"revision": "20241001",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"CloudAiLargeModelsVisionGenerateVideoResponse": {
Expand Down Expand Up @@ -21435,6 +21468,30 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1DynamicRetrievalConfig": {
"description": "Describes the options to customize dynamic retrieval.",
"id": "GoogleCloudAiplatformV1DynamicRetrievalConfig",
"properties": {
"dynamicThreshold": {
"description": "Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.",
"format": "float",
"type": "number"
},
"mode": {
"description": "The mode of the predictor to be used in dynamic retrieval.",
"enum": [
"MODE_UNSPECIFIED",
"MODE_DYNAMIC"
],
"enumDescriptions": [
"Always trigger retrieval.",
"Run retrieval only when system decides it is necessary."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1EncryptionSpec": {
"description": "Represents a customer-managed encryption key spec that can be applied to a top-level resource.",
"id": "GoogleCloudAiplatformV1EncryptionSpec",
Expand Down Expand Up @@ -24836,7 +24893,12 @@
"GoogleCloudAiplatformV1GoogleSearchRetrieval": {
"description": "Tool to retrieve public web data for grounding, powered by Google.",
"id": "GoogleCloudAiplatformV1GoogleSearchRetrieval",
"properties": {},
"properties": {
"dynamicRetrievalConfig": {
"$ref": "GoogleCloudAiplatformV1DynamicRetrievalConfig",
"description": "Specifies the dynamic retrieval configuration for the given source."
}
},
"type": "object"
},
"GoogleCloudAiplatformV1GroundednessInput": {
Expand Down Expand Up @@ -24968,6 +25030,11 @@
},
"type": "array"
},
"retrievalMetadata": {
"$ref": "GoogleCloudAiplatformV1RetrievalMetadata",
"description": "Optional. Output only. Retrieval metadata.",
"readOnly": true
},
"searchEntryPoint": {
"$ref": "GoogleCloudAiplatformV1SearchEntryPoint",
"description": "Optional. Google search entry for the following-up web searches."
Expand Down Expand Up @@ -26763,11 +26830,11 @@
"type": "number"
},
"token": {
"description": "The candidates token string value.",
"description": "The candidate's token string value.",
"type": "string"
},
"tokenId": {
"description": "The candidates token id value.",
"description": "The candidate's token id value.",
"format": "int32",
"type": "integer"
}
Expand Down Expand Up @@ -32288,6 +32355,18 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1RetrievalMetadata": {
"description": "Metadata related to retrieval in the grounding flow.",
"id": "GoogleCloudAiplatformV1RetrievalMetadata",
"properties": {
"googleSearchDynamicRetrievalScore": {
"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.",
"format": "float",
"type": "number"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1RougeInput": {
"description": "Input for rouge metric.",
"id": "GoogleCloudAiplatformV1RougeInput",
Expand Down
Loading

0 comments on commit 02a3fa0

Please sign in to comment.