Vertex AI API (aiplatform:v1beta1)

2023-11-11

2 new methods

Additions

    Methods
  • aiplatform.projects.locations.publishers.models.computeTokens

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

      Parameters :

        endpoint

          Description : Required. The name of the Endpoint requested to get lists of tokens and token ids.

          Required : Yes

          Type : string

          Pattern : ^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$

          Location : path

      Path : v1beta1/{+endpoint}:computeTokens

      Description : Return a list of tokens based on the input text.

      Flat Path : v1beta1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:computeTokens

      Parameter Order : endpoint

      HTTP Method : POST

  • aiplatform.projects.locations.endpoints.computeTokens

      HTTP Method : POST

      Parameters :

        endpoint

          Type : string

          Location : path

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

          Required : Yes

          Description : Required. The name of the Endpoint requested to get lists of tokens and token ids.

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

      Description : Return a list of tokens based on the input text.

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

      Path : v1beta1/{+endpoint}:computeTokens

      Parameter Order : endpoint