Freigeben über


AuthorRole(String) Constructor

Definition

Creates a new AuthorRole instance with the provided label.

[System.Text.Json.Serialization.JsonConstructor]
public AuthorRole (string label);
[<System.Text.Json.Serialization.JsonConstructor>]
new Microsoft.SemanticKernel.ChatCompletion.AuthorRole : string -> Microsoft.SemanticKernel.ChatCompletion.AuthorRole
Public Sub New (label As String)

Parameters

label
String

The label to associate with this AuthorRole.

Attributes

Applies to