Ontology is the actual guardrail: Learn how to cease AI brokers from misunderstanding your enterprise

Metro Loud
7 Min Read



Enterprises are investing billions of {dollars} in AI brokers and infrastructure to remodel enterprise processes. Nonetheless, we’re seeing restricted success in real-world functions, typically as a result of lack of ability of brokers to actually perceive enterprise knowledge, insurance policies and processes.

Whereas we handle the integrations effectively with applied sciences like API administration, mannequin context protocol (MCP) and others, having brokers really perceive the “which means” of information within the context of a given businesis a distinct story. Enterprise knowledge is generally siloed into disparate methods in structured and unstructured varieties and must be analyzed with a domain-specific enterprise lens.s

For instance, the time period “buyer” might confer with a distinct group of individuals in a Gross sales CRM system, in comparison with a finance system which can use this tag for paying shoppers. One division may outline “product” as a SKU; one other might characterize as a "product" household; a 3rd as a advertising and marketing bundle.

Information about “product gross sales” thus varies in which means with out agreed upon relationships and definitions. For brokers to mix knowledge from a number of methods, they need to perceive completely different representations. Brokers must know what the info means in context and the right way to discover the appropriate knowledge for the appropriate course of. Furthermore, schema modifications in methods and knowledge high quality points throughout assortment can result in extra ambiguity and lack of ability of brokers to know the right way to act when such conditions are encountered.

Moreover, classification of information into classes like PII (personally identifiable info) must be rigorously adopted to take care of compliance with requirements like GDPR and CCPA. This requires the info to be labelled accurately and brokers to have the ability to perceive and respect this classification. Therefore we see that constructing a cool demo utilizing brokers may be very a lot doable – however placing into manufacturing engaged on actual enterprise knowledge is a distinct story altogether.

The ontology-based supply of reality

Constructing efficient agentic options requries an ontology-based single supply of reality. Ontology is a enterprise definition of ideas, their hierarchy and relationships. It defines phrases with respect to enterprise domains, may also help set up a single-source of reality for knowledge and seize uniform area names and apply classifications to fields.

An ontology could also be domain-specific (healthcare or finance), or organization-specific primarily based on inside buildings. Defining an ontology upfront is time consuming, however may also help standardize enterprise processes and lay a robust basis for agentic AI.

Ontology could also be realized utilizing widespread queryable codecs like triplestore. Extra complicated enterprise guidelines with multi-hop relations might use a labelled property graphs like Neo4j. These graphs may assist enterprises uncover new relationships and reply complicated questions. Ontologies like FIBO (Finance Trade Enterprise Ontology) and UMLS (Unified Medical Language System) can be found within the public area and is usually a superb start line. Nonetheless, these normally have to be custom-made to seize particular particulars of an enterprise.

Getting began with ontology

As soon as applied, an ontology may be the driving pressure for enterprise brokers. We are able to now immediate AI to observe the ontology and use it to find knowledge and relationships. If wanted, we are able to have an agentic layer serve key particulars of the ontology itself and uncover knowledge. Enterprise guidelines and insurance policies may be applied on this ontology for brokers to stick to. This is a superb technique to floor your brokers and set up guardrails primarily based on actual enterprise context.

Brokers designed on this method and tuned to observe an ontology can persist with guardrails and keep away from hallucinations that may be brought on by the massive language fashions (LLM) powering them. For instance, a enterprise coverage might outline that except all paperwork related to a mortgage shouldn’t have verified flags set to "true," the mortgage standing needs to be saved in “pending” state. Brokers can work round this coverage and decide what paperwork are wanted and question the data base.

Right here's an instance implementation:

(Authentic determine by Writer)

As illustrated, now we have structured and unstructured knowledge processed by a doc intelligence (DocIntel) agent which populates a Neo4j database primarily based on an ontology of the enterprise area. An information discovery agent in Neo4j finds and queries the appropriate knowledge and passes it to different brokers dealing with enterprise course of execution. The inter-agent communication occurs with a preferred protocol like A2A (agent to agent). A brand new protocol referred to as AG-UI (Agent Consumer Interplay) may also help construct extra generic UI screens to seize the workings and responses from these brokers. 

With this methodology, we are able to keep away from hallucinations by implementing brokers to observe ontology-driven paths and keep knowledge classifications and relationships. Furthermore, we are able to scale simply by including new belongings, relationships and insurance policies that brokers can robotically comply to, and management hallucinations by defining guidelines for the entire system quite than particular person entities. For instance, if an agent hallucinates a person 'buyer,' as a result of the linked knowledge for the hallucinated 'buyer' is not going to be verifiable within the knowledge discovery, we are able to simply detect this anomaly and plan to get rid of it. This helps the agentic system scale with the enterprise and handle its dynamic nature.

Certainly, a reference structure like this provides some overhead in knowledge discovery and graph databases. However for a big enterprise, it provides the appropriate guardrails and provides brokers instructions to orchestrate complicated enterprise processes.

Dattaraj Rao is innovation and R&D architect at Persistent Techniques.

Learn extra from our visitor writers. Or, contemplate submitting a put up of your personal! See our tips right here.

Share This Article