Share via


ChatCompletionAgent.InstructionsRole Property

Definition

Gets the role used for agent instructions. Defaults to "system".

public Microsoft.SemanticKernel.ChatCompletion.AuthorRole InstructionsRole { get; init; }
member this.InstructionsRole : Microsoft.SemanticKernel.ChatCompletion.AuthorRole with get, set
Public Property InstructionsRole As AuthorRole

Property Value

Remarks

Certain versions of "O*" series (deep reasoning) models require the instructions to be provided as "developer" role. Other versions support neither role and an agent targeting such a model cannot provide instructions. Agent functionality will be dictated entirely by the provided plugins.

Applies to