|
|
|
Figure 5
Seven-layer NLP action pipeline. User input in natural language (Korean, English, or Japanese) is pre-processed in Layer 1 (element/edge detection, intent classification, language auto-detection, knowledge-query routing) and sent to the selected LLM backend (Layer 2). The raw output then passes through five post-processing layers (Layers 3–7) that perform fuzzy function-name matching against 47 registered beamline functions, empty-response retry, energy-range validation, domain rule enforcement (function-signature checks, motor-group constraints, scan-motor compatibility), and a sample-preparation gate that blocks measurement actions until the user confirms that a physical sample is mounted and aligned. Knowledge-query inputs are routed instead to a retrieval-augmented generation branch, bypassing the command pipeline. The entire pipeline is deterministic and stateless so that each layer can be debugged and extended independently. |

journal menu![[Figure 5]](ok5168fig5.jpg)
access


