buildAnomalyExplanationPrompt()
buildAnomalyExplanationPrompt(
event,profile):string
Defined in: prompt-builder.ts:109
Build a structured prompt for explaining why an execution was anomalous.
Parameters
| Parameter | Type | Description |
|---|---|---|
event | ExecutionEvent | The specific execution event flagged as anomalous. |
profile | AgentProfile | The agent's derived profile for baseline context. |
Returns
string
A structured prompt string.