Vertex AI API (aiplatform:v1)

2023-11-11

4 new methods

Additions

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

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

      Description: Perform a token counting.

      Path: v1/{+endpoint}:countTokens

      HTTP Method: POST

      Parameters:

        endpoint

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

          Location: path

          Required: Yes

          Type: string

          Description: Required. The name of the Endpoint requested to perform token counting. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`

      Parameter Order: endpoint

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:countTokens

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

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

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

      Parameter Order: endpoint

      Parameters:

        endpoint

          Location: path

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

          Required: Yes

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

          Type: string

      Path: v1/{+endpoint}:computeTokens

      HTTP Method: POST

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

  • aiplatform.projects.locations.endpoints.computeTokens

      HTTP Method: POST

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

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

      Path: v1/{+endpoint}:computeTokens

      Parameters:

        endpoint

          Location: path

          Type: string

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

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

          Required: Yes

      Parameter Order: endpoint

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

  • aiplatform.projects.locations.endpoints.countTokens

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:countTokens

      Parameter Order: endpoint

      Description: Perform a token counting.

      Path: v1/{+endpoint}:countTokens

      Parameters:

        endpoint

          Description: Required. The name of the Endpoint requested to perform token counting. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`

          Type: string

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

          Required: Yes

          Location: path

      HTTP Method: POST

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