Eric Evans · Domain Language

Context Mapping with an AI component

How an Anti-Corruption Layer handles LLM output.

In Domain Navigator, Eric Evans delegates the classification of code snippets to an LLM. The application supplies the NAICS taxonomy and checks that each returned category belongs to it.

The Anti-Corruption Layer translates responses, handles errors and validates categories. The Context Map makes these responsibilities and the taxonomy dependency visible.

In automated review, an ACL can check whether a rule ID and source line exist. A business scenario or test is still needed to establish that the finding is correct.

Eric Evans’s original article

All articles

Portfolio assistant