Del via


OpenAIChatCompletionRequest.Messages Property

Definition

Gets the chat messages specified in the completion request.

public:
 property System::Collections::Generic::IList<Microsoft::Extensions::AI::ChatMessage ^> ^ Messages { System::Collections::Generic::IList<Microsoft::Extensions::AI::ChatMessage ^> ^ get(); void set(System::Collections::Generic::IList<Microsoft::Extensions::AI::ChatMessage ^> ^ value); };
public System.Collections.Generic.IList<Microsoft.Extensions.AI.ChatMessage> Messages { get; init; }
member this.Messages : System.Collections.Generic.IList<Microsoft.Extensions.AI.ChatMessage> with get, set
Public Property Messages As IList(Of ChatMessage)

Property Value

Applies to