Cloud AI Platform v1beta1 API - Class ChatCompletionsRequest (1.0.0-beta10)

public sealed class ChatCompletionsRequest : IMessage<ChatCompletionsRequest>, IEquatable<ChatCompletionsRequest>, IDeepCloneable<ChatCompletionsRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class ChatCompletionsRequest.

Request message for [PredictionService.ChatCompletions]

Inheritance

object > ChatCompletionsRequest

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

ChatCompletionsRequest()

public ChatCompletionsRequest()

ChatCompletionsRequest(ChatCompletionsRequest)

public ChatCompletionsRequest(ChatCompletionsRequest other)
Parameter
Name Description
other ChatCompletionsRequest

Properties

Endpoint

public string Endpoint { get; set; }

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

Property Value
Type Description
string

EndpointAsEndpointName

public EndpointName EndpointAsEndpointName { get; set; }

EndpointName-typed view over the Endpoint resource name property.

Property Value
Type Description
EndpointName

HttpBody

public HttpBody HttpBody { get; set; }

Optional. The prediction input. Supports HTTP headers and arbitrary data payload.

Property Value
Type Description
HttpBody