Click or drag to resize

AIAgentOverrideSystemPrompt Method

Replaces the leading system message in Messages with prompt. If prompt is null or whitespace the existing system message (if any) is simply removed. Call this before Chat(String, ICancelOperation, ReportExecutionLog, ReportExecutionLog, Int32, ActionString) to inject a parameter-driven system prompt that overrides the one from EffectiveSystemPrompt (kept until Clear: the configuration prompt is no longer re-applied at each turn).

Namespace: Seal.AI
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.2.0.0+da7797057e6d5ef3b02633ee3e36991921c726cb
Syntax
C#
public void OverrideSystemPrompt(
	string prompt
)

Parameters

prompt  String
 
See Also