Language

ChatClientAgent.Instructions Property

Definition

Gets the system instructions that guide the agent's behavior during conversations.

public string? Instructions { get; }
member this.Instructions : string
Public ReadOnly Property Instructions As String

Property Value

A string containing the system instructions that are provided to the underlying chat client to establish the agent's role, personality, and behavioral guidelines. May be null if no specific instructions were configured.

Remarks

These instructions are typically provided to the AI model as system messages to establish the context and expected behavior for the agent's responses.

Applies to