Sprache

ChatResponseUpdate Konstruktoren

Definition

Initialisiert eine neue Instanz der ChatResponseUpdate-Klasse.

Überlädt

Name Beschreibung
ChatResponseUpdate()

Initialisiert eine neue Instanz der ChatResponseUpdate-Klasse.

ChatResponseUpdate(Nullable<ChatRole>, IList<AIContent>)

Initialisiert eine neue Instanz der ChatResponseUpdate-Klasse.

ChatResponseUpdate(Nullable<ChatRole>, String)

Initialisiert eine neue Instanz der ChatResponseUpdate-Klasse.

ChatResponseUpdate()

Quelle:
ChatResponseUpdate.cs

Initialisiert eine neue Instanz der ChatResponseUpdate-Klasse.

public:
 ChatResponseUpdate();
[System.Text.Json.Serialization.JsonConstructor]
public ChatResponseUpdate();
Public Sub New ()
Attribute

Gilt für:

ChatResponseUpdate(Nullable<ChatRole>, IList<AIContent>)

Quelle:
ChatResponseUpdate.cs

Initialisiert eine neue Instanz der ChatResponseUpdate-Klasse.

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))

Parameter

role
Nullable<ChatRole>

Die Rolle des Autors des Updates.

contents
IList<AIContent>

Der Inhalt des Updates.

Gilt für:

ChatResponseUpdate(Nullable<ChatRole>, String)

Quelle:
ChatResponseUpdate.cs

Initialisiert eine neue Instanz der ChatResponseUpdate-Klasse.

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)

Parameter

role
Nullable<ChatRole>

Die Rolle des Autors des Updates.

content
String

Der Textinhalt der Aktualisierung.

Gilt für: