Full name: projects.locations.endpoints.chat.completions
Exposes an OpenAI-compatible endpoint for chat completions.
Endpoint
posthttps://{service-endpoint}/v1beta1/{endpoint}/chat/completions
Where {service-endpoint} is one of the supported service endpoints.
Path parameters
endpointstring
Required. The name of the endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}
Request body
The request body contains an instance of HttpBody.
Response body
If successful, the response is a generic HTTP response whose format is defined by the method.