# Mock

**Mock data generators** can be especially useful in the following situations:

* To fill columns that contain directly identifiable information, such as **Personally Identifiable Information (PII)**.
* To fill columns that do not contain any data yet. See [related FAQ question](https://docs.syntho.ai/overview/frequently-asked-questions#i-do-not-have-any-data-yet.-can-i-also-generate-data-from-scratch).

## Apply mock generator

You can apply mock generators in two different manners, via the **Job Configuration** tab, or via the **PII tab**.

### Apply mock generator via Job Configuration

You can apply a mock generator on a column via the **Job Configuration** tab as follows:

1. Open your **workspace**.
2. From the **Main hub** or **Table view** tab, select the column where you want to apply a generator.
3. Under **Generator,** select **Mock** to view the list of available mock generators.
4. Select the mock generator that you wish to apply from the dropdown list of available mock generators.
5. Set the relevant mock generator parameters.
6. Select **Confirm**.

<figure><img src="https://content.gitbook.com/content/U61B9DqtWCNO3Z30vnjh/blobs/1azB7NKITVwba6SHNrcd/Screenshot%20(13).png" alt="" width="563"><figcaption><p>Selecting data type</p></figcaption></figure>

### Apply mock generator via PII tab

You can apply a mock generator on a column via the **PII tab** as follows: [Broken link](https://docs.syntho.ai/configure-a-data-generation-job/configure-column-settings/broken-reference "mention").

### Edit mock settings

To edit any mock data settings you have applied previously:

1. Open your **Workspace**.
2. Now you can either:
   1. On the **Job Configuration** tab, select the column icon on the top left of the column where you want to edit a mock generator.
   2. On the **Job Configuration** tab, under **Applied steps**, select the **Edit** icon next to the column name where you want to edit a mock generator.
   3. On the **PII** tab, select the **Edit** icon behind the column where you want to edit a mock generator.
3. Under **Generation Method**, define the parameters that you want to change.
4. Select **Confirm**.

<figure><img src="https://content.gitbook.com/content/U61B9DqtWCNO3Z30vnjh/blobs/3hgeNfqKetcpdAiFFVr8/image.png" alt="" width="371"><figcaption><p>Applied steps</p></figcaption></figure>

## Available mock generators

There are various mock generators available, each designed to generate mock generator data based on different data types. You can explore them based on their categories, including [Text](https://docs.syntho.ai/configure-a-data-generation-job/configure-column-settings/mockers/text), [Numeric (integer)](https://docs.syntho.ai/configure-a-data-generation-job/configure-column-settings/mockers/numeric-integer), [Numeric (decimal)](https://docs.syntho.ai/configure-a-data-generation-job/configure-column-settings/mockers/numeric-decimal), [Custom Sampler](https://docs.syntho.ai/configure-a-data-generation-job/configure-column-settings), and [Other](https://docs.syntho.ai/configure-a-data-generation-job/configure-column-settings/mockers/other).

## Supported languages

Syntho supports each mock generator in multiple different languages. For the complete list of supported languages, see the following section:

{% content-ref url="mockers/text/supported-languages" %}
[supported-languages](https://docs.syntho.ai/configure-a-data-generation-job/configure-column-settings/mockers/text/supported-languages)
{% endcontent-ref %}

{% hint style="info" %}
The default language used by each mock generator is English (United States). In case a language is not available for a particular mock generator, the mock generator will revert back to this language.
{% endhint %}

* **Constraints on Key Columns:** Mock generators cannot be applied to primary key or foreign key columns.
* **Column-by-Column Operation:** Mock generatorsfunction on individual columns. At this point, they can't be used to preserve logical relationships across multiple columns.
* **Automatically Cutoff Values:** The Syntho platform automatically cuts off generated mock text values based on the data type's supported length. For example, a mock generator applied on an NVARCHAR(5) column, will cutoff all values beyond the first 5 characters of the text.
* **Automatically Clip Values:** The Syntho platform automatically clips numerical values that exceed the maximum or minimum size, to the largest or smallest value supported by the data type, respectively.
* **No Link with Original Records:** Mock generators do not link back to the original data records, enhancing privacy but potentially reducing the usefulness of the data. If you want to retain the link with the original values, you can enable the [**Consistent Mapping**](#mocker-parameters) feature.
* **Database Type Compatibility:** The return type of a mock generator indicates its compatibility with specific database data types. For example, a mock generator with a text return type is compatible with database types like **(N)VARCHAR** or **TEXT**, but not with a database type **NUMERIC (INTEGER)**. It is important to this into account when applying mock generators on your columns to prevent your data generation job to fail.

Being aware of these limitations and considerations will help you effectively use mock generators while understanding their constraints.


---

# 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://docs.syntho.ai/configure-a-data-generation-job/configure-column-settings/mockers.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.
