Vertex AI API (aiplatform:v1beta1)

2024-04-04

3 new methods

Additions

    Methods
  • aiplatform.projects.updateCacheConfig

      Parameters:

        name

          Description: Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`.

          Location: path

          Pattern: ^projects/[^/]+/cacheConfig$

          Required: Yes

          Type: string

      HTTP Method: PATCH

      Description: Updates a cache config.

      Path: v1beta1/{+name}

      Parameter Order: name

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Flat Path: v1beta1/projects/{projectsId}/cacheConfig

  • aiplatform.projects.getCacheConfig

      Flat Path: v1beta1/projects/{projectsId}/cacheConfig

      Path: v1beta1/{+name}

      Description: Gets a GenAI cache config.

      Parameter Order: name

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Parameters:

        name

          Type: string

          Location: path

          Pattern: ^projects/[^/]+/cacheConfig$

          Description: Required. Name of the cache config. Format: - `projects/{project}/cacheConfig`.

          Required: Yes

      HTTP Method: GET

  • aiplatform.projects.locations.endpoints.chat.completions

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Exposes an OpenAI-compatible endpoint for chat completions.

      Parameter Order: endpoint

      HTTP Method: POST

      Flat Path: v1beta1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}/chat/completions

      Parameters:

        endpoint

          Pattern: ^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$

          Location: path

          Type: string

          Description: Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/openapi`

          Required: Yes

      Path: v1beta1/{+endpoint}/chat/completions