Skip to main content

buildAnomalyExplanationPrompt()

buildAnomalyExplanationPrompt(event, profile): string

Defined in: prompt-builder.ts:109

Build a structured prompt for explaining why an execution was anomalous.

Parameters

ParameterTypeDescription
eventExecutionEventThe specific execution event flagged as anomalous.
profileAgentProfileThe agent's derived profile for baseline context.

Returns

string

A structured prompt string.