> For the complete documentation index, see [llms.txt](https://docs.alkemi.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alkemi.ai/documentation/basics/data-products/data-product-memory.md).

# Data Product Memory

This guide covers how to create, manage, and optimize your training data through the Text to SQL Training interface.

Our AI Agent serves as your personal data scientist, proficient in interpreting natural language queries and converting them into SQL to analyze your connected data sources. The effectiveness of the Agent's responses relies heavily on high-quality examples of user prompts paired with their corresponding SQL queries.

## Creating Memory

The Text to SQL Training feature consists of two primary approaches:

{% content-ref url="/pages/Y1ieVIb12fr6u0jbJAo5" %}
[Manually Creating Memory](https://docs.alkemi.ai/documentation/basics/data-products/data-product-memory/manually-creating-memory.md)
{% endcontent-ref %}

{% content-ref url="/pages/MpqFlKhq9sQAWI8RrjOn" %}
[Creating Memory Automatically](https://docs.alkemi.ai/documentation/basics/data-products/data-product-memory/creating-memory-automatically.md)
{% endcontent-ref %}

Both methods enhance the memory, improving the Alkemi Agent's capacity to understand and respond to questions about your specific data.

## Reviewing and Managing Memory

Quality control is crucial for ensuring an efficient Agent. The system supports various review workflows tailored to the data source and confidence levels.

{% content-ref url="/pages/EN3vQKxIfwQ1YtKfqPrN" %}
[Reviewing Pending Queries](https://docs.alkemi.ai/documentation/basics/data-products/data-product-memory/reviewing-pending-queries.md)
{% endcontent-ref %}

{% content-ref url="/pages/rnTjB84c8FV4C5aPnU8d" %}
[Review Questionable Memory](https://docs.alkemi.ai/documentation/basics/data-products/data-product-memory/review-questionable-memory.md)
{% endcontent-ref %}

## Helpful Tips

{% hint style="success" %}

## Our Recommended Approach

1. Begin with manually crafting essential queries.
2. Transition to automated generation with manual oversight.
3. Regularly assess queries that have low certainty.
4. Continuously monitor agent performance and refine memory.
5. Gradually increase automation as quality enhances.
   {% endhint %}

{% hint style="info" %}
Instruct: Quality memory data enhances Agent learning. Investing time in this process leads to better performance and increased user satisfaction.
{% endhint %}

{% content-ref url="/pages/bc7U92eG9xsKgXHw57Ey" %}
[Best Practices](https://docs.alkemi.ai/documentation/basics/data-products/data-product-memory/best-practices.md)
{% endcontent-ref %}

{% content-ref url="/pages/V5PqoC2SURUFeNAXjQUZ" %}
[Troubleshooting](https://docs.alkemi.ai/documentation/basics/data-products/data-product-memory/troubleshooting.md)
{% endcontent-ref %}
