> For the complete documentation index, see [llms.txt](https://documentation.astera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.astera.com/astera-data-stack-v10/miscellaneous/ai-automapper.md).

# 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="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2Fto1RSEDeMs0g3LFixWf7%2Fimage.png?alt=media&amp;token=e5e72401-7616-4c58-bd51-3feeade49689" 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="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FItdI16JEm8oy3TxXxmpj%2Fimage.png?alt=media&amp;token=b8246fba-8374-47d6-9c56-a396308fead0" 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="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FdcdwxJIUQaavwEJsLZlx%2Fimage.png?alt=media&amp;token=b5b7d3b9-c352-4b14-b565-28cd9c7de6a9" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FcU1zTMLlIENzkLglMKHo%2Fimage.png?alt=media&amp;token=45ba9e28-10df-4e5b-9265-d16662acb2af" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.astera.com/astera-data-stack-v10/miscellaneous/ai-automapper.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
