Share via


OpenAIThreadCreationOptions.Messages Property

Definition

Optional messages to initialize thread with..

[System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
public System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.ChatMessageContent>? Messages { get; init; }
[<System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)>]
member this.Messages : System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.ChatMessageContent> with get, set
Public Property Messages As IReadOnlyList(Of ChatMessageContent)

Property Value

Attributes

Applies to