Generative AI Lab allows you to create diverse and customizable synthetic documents using Large Language Models (LLMs) such as ChatGPT or Azure OpenAI. This feature helps balance entity distributions in your dataset, improve model performance, and generate high-quality examples for annotation, testing, and model evaluation.
Synthetic document generation supports multiple methods, including Proportional Augmentation and Templatic Augmentation, which expand dataset diversity and improve robustness.
The use of these capabilities depends on having an LLM service provider configured in the system.
Once the integration is set up, synthetic data generation becomes a straightforward and efficient way to enrich your projects with automatically generated tasks.
Generate synthetic tasks using Azure OpenAI
You can generate synthetic tasks from any configured LLM provider (e.g., OpenAI or Azure OpenAI).
Here’s a quick guide:
Setting up and Validating the Service Provider:
- Open the project’s Import page and select the Generate Synthetic Tasks tab.
- Provide an appropriate prompt in the Write Prompt field and click the settings (gear) icon next to Generate Result.
- In the Configure Parameters dialog, choose the Service Provider, then enter the Service Provider Endpoint, Model Name and Secret Key (and optionally a Description and extra Parameters as key–value pairs).
- Set the desired Temperature and Number of text to generate, then click Validate.
- Click Generate Result to create synthetic texts. The results are listed under Generated Tasks, where you can select them and click Import to add them as tasks, or Download them.

For synthetic tasks, provide a prompt adapted to your data needs to initiate generation.
The Temperature parameter controls the creativity or randomness of the LLM-generated text:
- Higher values (e.g., 0.7) yield more diverse and creative outputs.
- Lower values (e.g., 0.2) produce more deterministic and focused outputs.
The Number of text to generate slider (1–50) determines how many texts are generated in one run. The number is also shown above the Generate Result button.

Proportional Augmentaiton
Proportional Augmentation enhances data quality by using testing and transformation techniques to generate new data based on an existing dataset.
It is especially effective for improving model performance by addressing weaknesses such as case sensitivity, typos, or formatting inconsistencies.
This approach is useful for bias and robustness testing, ensuring that your models produce reliable, high-quality results across diverse inputs.
Open the Generate Augmented Data tab on the Import page and select Proportional Augmentation. Tests are grouped into Bias and Robustness; expand a group to see its tests, search for a test, and select the ones you need. Set the Max Proportion for each test, or choose a value for the whole group and click Apply to all. After selecting test types and defining max_proportion, click Generate Results to create augmented tasks. The system will enhance existing tasks and generate new ones accordingly.

Another way to generate augmented tasks is through “Templatic augmentation”.
Templatic Augementation
Templatic Augmentation creates new data by using templates or patterns that are similar in structure and context to the original input. This method depends a lot on the templates provided by the user. There are two options for using this approach:
A. Manually Add Templates Users can manually choose templates along with the available labels. They can choose how many results to generate for each template using a scroll bar, which can be set from 1 to 50.
Select Templatic Augmentation in the Generate Augmented Data tab, choose Manually Add Templates, and click Add Template. Write the template using the project labels listed under Add Custom Templates in curly brackets (for example {PROBLEM}); only labels available in the project are accepted. Use the slider to select the number of results to generate for each template, then click Generate Results. Templates can also be generated with Generate Templates with OpenAI.

B. Import Templates from File
You can also bulk import templates instead of adding them manually.
Use the Import Templates option to upload a file (JSON or CSV) containing predefined template–label mappings.
This is ideal for teams who maintain large libraries of reusable templates or want to migrate existing augmentation setups from other projects.
Once uploaded, all templates in the file will appear in the list and can be edited or adjusted before generating synthetic tasks.