Package com.inductiveautomation.ignition.designer.ai.opc
Data flow
OpcPromptAssist supplies
@opc: references from enabled OPC connections and bounded node browses, carrying each as a typed
OpcReferenceBody. Embedded prompt
composers pass their inserted references to OpcPromptContextLoader, which recovers the OPC
bodies by type and adds an <opcSourceContext> block to a model prompt.
Runtime boundaries
This package treats OPC references as source context only. The browse data is structural metadata used to ground assistant suggestions; it is not an Ignition tag provider, not a writable destination, and not a live value read. Host editors remain responsible for deciding how that context affects their own suggestions, validation, preview, and save flows.
Extension points
OPC token syntax, reference-body parsing, and bounded prompt enrichment belong here so
Designer AI features can share the same interpretation of @opc: references.
Editor-specific target context, UDT semantics, plan validation, and persistence should stay in the
consuming editor packages.
-
ClassDescriptionPrompt assist provider for selecting OPC source nodes for Designer AI prompts.Builds bounded OPC source context for Designer AI prompt composers.The resolved body of an
@opc:prompt reference — the OPC source node the user selected.