public sealed class ChatCompletionsRequest : IMessage<ChatCompletionsRequest>, IEquatable<ChatCompletionsRequest>, IDeepCloneable<ChatCompletionsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class ChatCompletionsRequest.
Request message for [PredictionService.ChatCompletions]
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eChatCompletionsRequest\u003c/code\u003e class is a request message for the \u003ccode\u003ePredictionService.ChatCompletions\u003c/code\u003e within the Vertex AI v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace and is contained within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eChatCompletionsRequest\u003c/code\u003e class has properties like \u003ccode\u003eEndpoint\u003c/code\u003e, which is the required endpoint name for the prediction service, and \u003ccode\u003eHttpBody\u003c/code\u003e, which is for the optional prediction input with HTTP headers and arbitrary data.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two constructors: one default constructor, and another that takes another \u003ccode\u003eChatCompletionsRequest\u003c/code\u003e as a parameter for creating a copy.\u003c/p\u003e\n"]]],[],null,[]]