Class SubsystemDigestPrompt

java.lang.Object
com.inductiveautomation.ignition.gateway.ai.SubsystemDigestPrompt

public final class SubsystemDigestPrompt extends Object
Canonical system-prompt preambles shared by every subsystem diagnostic-digest agent. Lives next to GatewayAiContext so both platform-side digest agents (in Platform/gateway) and third-party consumer modules can import them without depending on the AI module.

Two siblings cover the two flows:

  • SUMMARY_TEXT — terse instructions for the cheap, on-page-load summary agent.
  • ANALYSIS_TEXT — fuller instructions for the click-driven analysis agent.

Subsystem authors never name these constants directly; SubsystemDigestAgents wires the matching preamble into each half of the pair. Authors contribute only subsystem-specific framing and context.

  • Field Details

    • SUMMARY_TEXT

      public static final String SUMMARY_TEXT
      Preamble for the page-load summary agent. The model is told it is producing a DiagnosticDigestSummary as structured JSON — one or two sentences plus a stoplight status.
      See Also:
    • ANALYSIS_TEXT

      public static final String ANALYSIS_TEXT
      Preamble for the click-driven analysis agent. The model is told it is producing a DiagnosticDigestAnalysis as structured JSON — markdown synthesis prose plus a list of concrete, severity-ranked issues.
      See Also: