SEMANTIC-ROUTING
Semantic routing for EDI workflows, AI & data integration applied to EDI.
Definition
Semantic routing uses a classifier (LLM or dedicated model) to route an EDI message to the right workflow based on its content — distinguish a disputed INVOIC from a standard INVOIC, route a PAYEXT to the right ERP per beneficiary country. Alternative to regex/XPath rule routing; better suited to heterogeneous content.
Origin
Concept popularised in 2024 with LangChain Router and LlamaIndex Smart Router.
Example in context
LLM classifier (Claude Haiku) annotates each incoming INVOIC: "disputed/standard/credit", Kafka flow splits accordingly.
Related terms
- LLM mapping — other LLM EDI application.