# AI Automapper

The AI Auto-mapper in Astera Data Stack leverages semantic relationships to intelligently map fields between different data layouts. By analyzing the context and meaning of fields, it automatically links related fields, such as mapping "Country" to "Nation." &#x20;

Semantic relationships are formed through AI by analyzing and understanding the context and meaning of words. When using the AI Automapper functionality, semantic mapping leverages these relationships by sending fields along with relevant data to improve accuracy in identifying and connecting related fields.&#x20;

This advanced approach streamlines the field mapping process, enhancing both accuracy and efficiency.&#x20;

Let’s look at an example. In the following flow, we need to map source fields from an *Excel Source* to a *Database Destination* object. &#x20;

<figure><img src="/files/nSA3quSJwrr5IN1Cgbtk" alt=""><figcaption></figcaption></figure>

At the moment, if we auto-map the fields by dragging and dropping the green, *ExcelSource* node onto the *Input\_Insert* node, we’ll notice that two of the above fields have not been mapped due to the difference in the field names.

<figure><img src="/files/Tt0sweylq4Ppwg9jsflJ" alt=""><figcaption></figcaption></figure>

Now, let’s select the *Link Actions to Create Maps Using AI* option in the Toolbar and try mapping the fields again.

<figure><img src="/files/23AZUzLtp1z8Yw3VSNPb" alt=""><figcaption></figcaption></figure>

As evident, all the fields have now been mapped successfully.

<figure><img src="/files/GB8vNEoBcvPwAZReuFc0" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.astera.com/miscellaneous/ai-automapper.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
