ChatResponseUpdate Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ChatResponseUpdate() |
Initializes a new instance of the ChatResponseUpdate class. |
ChatResponseUpdate(Nullable<ChatRole>, IList<AIContent>) |
Initializes a new instance of the ChatResponseUpdate class. |
ChatResponseUpdate(Nullable<ChatRole>, String) |
Initializes a new instance of the ChatResponseUpdate class. |
ChatResponseUpdate()
- Source:
- ChatResponseUpdate.cs
Initializes a new instance of the ChatResponseUpdate class.
public:
ChatResponseUpdate();
[System.Text.Json.Serialization.JsonConstructor]
public ChatResponseUpdate();
Public Sub New ()
- Attributes
Applies to
ChatResponseUpdate(Nullable<ChatRole>, IList<AIContent>)
- Source:
- ChatResponseUpdate.cs
Initializes a new instance of the ChatResponseUpdate class.
public:
ChatResponseUpdate(Nullable<Microsoft::Extensions::AI::ChatRole> role, System::Collections::Generic::IList<Microsoft::Extensions::AI::AIContent ^> ^ contents);
public ChatResponseUpdate(Microsoft.Extensions.AI.ChatRole? role, System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent>? contents);
new Microsoft.Extensions.AI.ChatResponseUpdate : Nullable<Microsoft.Extensions.AI.ChatRole> * System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent> -> Microsoft.Extensions.AI.ChatResponseUpdate
Public Sub New (role As Nullable(Of ChatRole), contents As IList(Of AIContent))
Parameters
Applies to
ChatResponseUpdate(Nullable<ChatRole>, String)
- Source:
- ChatResponseUpdate.cs
Initializes a new instance of the ChatResponseUpdate class.
public:
ChatResponseUpdate(Nullable<Microsoft::Extensions::AI::ChatRole> role, System::String ^ content);
public ChatResponseUpdate(Microsoft.Extensions.AI.ChatRole? role, string? content);
new Microsoft.Extensions.AI.ChatResponseUpdate : Nullable<Microsoft.Extensions.AI.ChatRole> * string -> Microsoft.Extensions.AI.ChatResponseUpdate
Public Sub New (role As Nullable(Of ChatRole), content As String)
Parameters
- content
- String
The text content of the update.