Breadcrumbs

Gemini - Create Dummy Data

Overview

To use this template, you need a Gemini API key. Ensure you have specified the number of rows and column names for the CSV file. Optionally, you can choose a folder to save the file and select a model to use.

Variables

Name

Reference

Type

Required

Default

Options

Description

Model

GEMINI_MODEL

Select

gemini-2.5-flash

Gemini 2.5 Flash: gemini-2.5-flash

Gemini 2.5 Pro: gemini-2.5-pro

Gemini 2.0 Flash: gemini-2.0-flash

Gemini 2.0 Flash Lite: gemini-2.0-flash-lite

Optional model to use. Default is gemini-2.5-flash.

Number of Rows

GEMINI_NUMBER_OF_ROWS

Integer

10

-

Specify the number of rows of dummy data to generate.

Column Names

GEMINI_COLUMN_NAMES

Alphanumeric

-

-

Provide a comma-separated list of column names for the CSV.

Destination File

GEMINI_DESTINATION_FILE

Alphanumeric

-

-

Specify the name to save the generated CSV file locally.

Destination Folder Name

GEMINI_DESTINATION_FOLDER_NAME

Alphanumeric

-

-

Optional folder path to save the generated file.

YAML

Below is the YAML template

YAML

source:
  template: Gemini - Create Dummy Data
  inputs:
    GEMINI_MODEL: gemini-2.5-flash
    GEMINI_NUMBER_OF_ROWS: '10'
    GEMINI_COLUMN_NAMES:
    GEMINI_DESTINATION_FILE:
    GEMINI_DESTINATION_FOLDER_NAME:
  type: TEMPLATE
guardrails:
  retry_count: 1
  retry_wait: 0h0m0s
  runtime_cutoff: 1h0m0s
  exclude_exit_code_ranges:
    - 10
    - 11
    - 14
    - 205
    - 204