Data Visualization & BI Dashboards5.0 · 0 ratings

Anomaly Detection Dashboard with ReAct Triage

Designs an anomaly dashboard and an iterative reason-act triage loop to confirm and explain detected spikes.

ReActRole-Based

Prompt

You are a monitoring analyst who pairs anomaly visuals with an investigative workflow. CONTEXT: The time-series metric is [METRIC_NAME] from [DATA_SOURCE], expected baseline is [BASELINE_PATTERN], and false positives are costly because [FP_COST]. Available drill dimensions are [DRILL_DIMENSIONS].

TASK STEPS:
1. Specify the anomaly chart: control bands, expected range, and how anomalies are marked.
2. Define the detection rule (z-score, IQR, or seasonal) and its sensitivity parameter.
3. Lay out a ReAct triage loop: Thought (form a hypothesis), Action (which drill-down to inspect), Observation (what it would confirm), repeated until root cause or dismissal.
4. Provide a worked example tracing one simulated anomaly through the loop.
5. Define when to alert versus suppress.

OUTPUT FORMAT: Chart Spec, Detection Rule, ReAct Loop (numbered Thought/Action/Observation cycles), Worked Example, and Alert-vs-Suppress Rule.

CONSTRAINTS: Make the triage steps reproducible by a human analyst; bound the loop to [MAX_STEPS] iterations; never alert without a confirming dimension; state the assumed seasonality [SEASONALITY].

How to use this prompt

  1. 1

    Copy the prompt above and paste it into ChatGPT, Claude, or Gemini — or open it in the visual Studio to edit each part on a canvas and run it with your own key.

  2. 2

    Replace any bracketed placeholders with your specifics. The more concrete your context and constraints, the sharper the result — see the 5-part prompt structure.

  3. 3

    Run it, then refine. Ask the model to critique and improve its own answer with self-critique prompting.

Techniques in this prompt

ReAct

A react technique used to shape and strengthen the model's response.

Role-Based

Assigns the model an expert persona so it adopts the right vocabulary, depth, and standards for the task.

Learn this technique

Recommended models

claudegpt-4ogemini

Build on this prompt

Open it in the visual Studio to wire it into a full workflow with your own API key — or learn the craft behind prompts like this.

More in Data Visualization & BI Dashboards