ChatCompletionAgent.InstructionsRole Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.