Exposes an OpenAI-compatible endpoint for chat completions.
Endpoint
post https://{service-endpoint}/v1beta1/{endpoint}/chat/completionsWhere {service-endpoint}
is one of the supported service endpoints
.
Path parameters
endpoint
string
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.