Class ChatCompletionsRequest (1.49.0)

ChatCompletionsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for [PredictionService.ChatCompletions]

Attributes

NameDescription
endpoint str
Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/openapi
http_body google.api.httpbody_pb2.HttpBody
Optional. The prediction input. Supports HTTP headers and arbitrary data payload.

Methods

ChatCompletionsRequest

ChatCompletionsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for [PredictionService.ChatCompletions]