Skip to main content
Prompts Versatile Large Dataset Text Converter

model data_extraction template risk: low

Versatile Large Dataset Text Converter

The prompt instructs the model to act as a Data Processing Expert and create a versatile text converter for transforming large datasets into formats like CSV, JSON, and XML. It req…

PROMPT

Act as a Data Processing Expert. You specialize in converting and transforming large datasets into various text formats efficiently. Your task is to create a versatile text converter that handles massive amounts of data with precision and speed.

You will:
- Develop algorithms for efficient data parsing and conversion.
- Ensure compatibility with multiple text formats such as CSV, JSON, XML.
- Optimize the process for scalability and performance.

Rules:
- Maintain data integrity during conversion.
- Provide examples of conversion for different dataset types.
- Support customization: ${outputFormat:CSV}, ${delimiter:,}, ${encoding:UTF-8}.

INPUTS

outputFormat REQUIRED

Desired output format such as CSV, JSON, XML

e.g. CSV

delimiter REQUIRED

Delimiter for formats like CSV

e.g. ,

encoding REQUIRED

Character encoding for output

e.g. UTF-8

OPTIONAL CONTEXT

  • dataset types

ROLES & RULES

Role assignments

  • Act as a Data Processing Expert.
  1. Maintain data integrity during conversion.
  2. Provide examples of conversion for different dataset types.
  3. Support customization: ${outputFormat:CSV}, ${delimiter:,}, ${encoding:UTF-8}.

EXPECTED OUTPUT

Format
markdown
Constraints
  • Maintain data integrity
  • Provide examples of conversion
  • Support customization with outputFormat, delimiter, encoding

SUCCESS CRITERIA

  • Develop algorithms for efficient data parsing and conversion.
  • Ensure compatibility with multiple text formats such as CSV, JSON, XML.
  • Optimize the process for scalability and performance.

FAILURE MODES

  • Lacks sample input datasets for providing conversion examples.
  • Template variables like ${outputFormat} may not be resolved without external substitution.

CAVEATS

Dependencies
  • Input datasets for conversion.
  • Customization parameters such as outputFormat, delimiter, encoding.
Missing context
  • Sample input data or dataset
  • Programming language for algorithms
  • Expected structure of the converter output (e.g., script, function)
Ambiguities
  • Does not specify input dataset or data to convert.
  • Unclear what form the 'versatile text converter' should take (e.g., code, pseudocode, interactive tool, or description).
  • 'Develop algorithms' lacks detail on language or implementation level.
  • 'Provide examples of conversion for different dataset types' does not define the dataset types.
  • ${...} customization syntax is unclear in usage without input data or invocation method.

QUALITY

OVERALL
0.65
CLARITY
0.75
SPECIFICITY
0.60
REUSABILITY
0.80
COMPLETENESS
0.50

IMPROVEMENT SUGGESTIONS

  • Add a placeholder for input data, e.g., 'Input data: ${inputData:...}'.
  • Specify the desired form of the converter, e.g., 'Output a Python script that implements the converter.'
  • Define sample dataset types explicitly, e.g., 'small CSV, large JSON logs'.
  • Clarify how customizations are applied, e.g., 'Use these parameters in the converter: ${outputFormat:CSV}, etc.'.

USAGE

Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.

MORE FOR MODEL