Vertex AI API (aiplatform:v1)

2024-10-08

1 new method

Additions

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

      HTTP Method: POST

      Parameter Order: endpoint

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

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

      Parameters:

        endpoint

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

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

          Required: Yes

          Location: path

          Type: string

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

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-platform.read-only