ChatResponseUpdate Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy ChatResponseUpdate.
Przeciążenia
| Nazwa | Opis |
|---|---|
| ChatResponseUpdate() |
Inicjuje nowe wystąpienie klasy ChatResponseUpdate. |
| ChatResponseUpdate(Nullable<ChatRole>, IList<AIContent>) |
Inicjuje nowe wystąpienie klasy ChatResponseUpdate. |
| ChatResponseUpdate(Nullable<ChatRole>, String) |
Inicjuje nowe wystąpienie klasy ChatResponseUpdate. |
ChatResponseUpdate()
- Źródło:
- ChatResponseUpdate.cs
Inicjuje nowe wystąpienie klasy ChatResponseUpdate.
public:
ChatResponseUpdate();
[System.Text.Json.Serialization.JsonConstructor]
public ChatResponseUpdate();
Public Sub New ()
- Atrybuty
Dotyczy
ChatResponseUpdate(Nullable<ChatRole>, IList<AIContent>)
- Źródło:
- ChatResponseUpdate.cs
Inicjuje nowe wystąpienie klasy ChatResponseUpdate.
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))
Parametry
Dotyczy
ChatResponseUpdate(Nullable<ChatRole>, String)
- Źródło:
- ChatResponseUpdate.cs
Inicjuje nowe wystąpienie klasy ChatResponseUpdate.
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)
Parametry
- content
- String
Zawartość tekstowa aktualizacji.