Overview
Code Augment enables you to enhance and transform Corvic Tables using custom code. This feature allows you to perform data cleaning, processing, augmentation, and targeted knowledge extraction through code-based transformations, giving you full control over the augmentation process.Category
Corvic Tables - This feature is designed to work with Corvic Tables, enabling you to enhance and transform existing structured data using custom code.Input
Corvic Table - Code Augment accepts a Corvic Table as input. Select an existing Corvic Table from your data room that you want to augment, clean, process, or extract information from.The input must be a Corvic Table. You can create Corvic Tables from data sources using features like Sanitize Parquet for structured data or Multi-modal Knowledge Extraction for unstructured data.
Output
Corvic Table - Code Augment produces a new Corvic Table with augmented data based on your code. The output includes:- Enhanced Columns: New columns containing results from your code transformations
- Processed Data: Cleaned, transformed, or enriched data based on your code logic
- Extracted Information: Targeted knowledge or information extracted using your custom code
The output Corvic Table maintains the structure of your input while adding new columns with code-generated content. This enables seamless integration with downstream workflows, embeddings, and agent operations.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | Yes | The Corvic Table to augment. Select a Corvic Table from your data room that contains the data you want to process, clean, augment, or extract information from. |
prompt | string | Yes | Natural language description of what you want to do using code. Describe the data cleaning, processing, augmentation, or transformation task you want to perform. |
input_columns | array | Auto-generated | Input columns that will be used for the code augmentation. Automatically generated based on your prompt, or you can manually specify which columns from the input Corvic Table should be processed. |
code | string | Auto-generated | The code to apply for augmentation. Automatically generated based on your prompt, or you can provide custom code. The code will be applied to the selected input columns. |
output_name | string | Auto-generated | Optional custom name for the output Corvic Table. If not provided, a default name will be automatically generated based on the input Corvic Table name and augmentation type. |
Usage Example
To use Code Augment in a Data App:- Add your Corvic Table to the Data App canvas
- Click the ”+” button next to the Corvic Table
- Select “Code Augment” from the actions menu
- Select the input Corvic Table (if not already selected)
- Provide a natural language prompt describing what you want to do
- Select the input columns that should be used for augmentation
- Review or modify the generated code based on your prompt
- Optionally provide a name for the output Corvic Table
- Run the Data App to execute the code augmentation
- Review the generated Corvic Table with augmented data

