Share via


ChatRole(String) Constructor

Definition

public:
 ChatRole(System::String ^ value);
[System.Text.Json.Serialization.JsonConstructor]
public ChatRole (string value);
[<System.Text.Json.Serialization.JsonConstructor>]
new Microsoft.Extensions.AI.ChatRole : string -> Microsoft.Extensions.AI.ChatRole
Public Sub New (value As String)

Parameters

value
String
Attributes

Applies to