model data_extraction template risk: low
Model Parameters Table Image to CSV
Extracts data from an image of a table listing model parameters and converts it into a CSV code block, using the first row as header, repeating merged cell values, removing or cons…
PROMPT
"Attached is an image of a table listing the model parameters for the ${insert_model_name} model (from [Insert Author/Paper Name]).
Please extract the data and convert it into a CSV code block that I can copy and save directly.
Requirements:
Use the first row as the header.
If cells are merged, repeat the value for each row to ensure the CSV is flat and processable.
Do not include units in the numeric columns (e.g., remove 'ms' or '%'), or keep them consistent in a separate column.
If any text is unclear due to image quality, mark it as '${unclear}' rather than guessing.
Ensure all fields containing commas are properly quoted."
INPUTS
- insert_model_name REQUIRED
-
name of the model
e.g. GPT-4
- author_paper_name REQUIRED
-
author or paper name
e.g. OpenAI/GPT-4 Paper
REQUIRED CONTEXT
- image of a table
ROLES & RULES
- Use the first row as the header.
- If cells are merged, repeat the value for each row to ensure the CSV is flat and processable.
- Do not include units in the numeric columns (e.g., remove 'ms' or '%'), or keep them consistent in a separate column.
- If any text is unclear due to image quality, mark it as '${unclear}' rather than guessing.
- Ensure all fields containing commas are properly quoted.
EXPECTED OUTPUT
- Format
- csv
- Schema
- csv
- Constraints
-
- use first row as header
- repeat merged cell values
- remove or consistent units in numeric columns
- mark unclear text as '${unclear}'
- properly quote fields with commas
SUCCESS CRITERIA
- Extract table data from image into CSV code block.
- Use first row as header.
- Flatten merged cells by repeating values.
- Handle units consistently in numeric columns.
- Mark unclear text as '${unclear}'.
- Quote fields containing commas.
FAILURE MODES
- Guessing at unclear text instead of marking '${unclear}'.
- Not repeating values for merged cells.
- Inconsistently handling units.
- Failing to quote comma-containing fields.
- Incorrectly identifying header row.
CAVEATS
- Dependencies
-
- Requires attached image of the table.
- Missing context
-
- Specification of exact output format (e.g., markdown fenced code block with 'csv' language).
- Handling if image contains multiple tables or extraneous elements.
- CSV dialect details (e.g., quoting style beyond commas, delimiter confirmation).
- Ambiguities
-
- 'Do not include units in the numeric columns (e.g., remove "ms" or "%"), or keep them consistent in a separate column.' provides conflicting options without specifying which to use.
- Does not define what constitutes 'numeric columns'.
QUALITY
- OVERALL
- 0.85
- CLARITY
- 0.90
- SPECIFICITY
- 0.75
- REUSABILITY
- 0.90
- COMPLETENESS
- 0.80
IMPROVEMENT SUGGESTIONS
- Resolve units handling ambiguity: 'Remove units from numeric values in data columns; if units vary, add a dedicated 'units' column.'
- Specify output format: 'Output as a markdown fenced code block: ```csv [CSV content] ```'
- Add: 'Infer column types from headers or content; treat columns with numbers as numeric.'
- Include example of expected CSV for a sample table to illustrate merged cells and quoting.
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
- Job Posting Snapshot Preservation Engine model data_extraction
- Natural Language SQL Query Generator model data_extraction
- LinkedIn JSON to Canonical Markdown Profile Generator model data_extraction
- Visual Clutter Text Cleaner model data_extraction
- Company Shareholder JSON Extractor model data_extraction
- PDF to GitHub Markdown Converter model data_extraction
- Vision-to-JSON Image Analyzer model data_extraction
- Chat Transcript Exporter with Reversal model data_extraction
- Webpage Parser with Embed Handling and Translation model data_extraction
- Azure AI Search Query Extractor model data_extraction
- Document Claim Verifier with Quotes model data_extraction
- User Age Group Data Transformer model data_extraction
- Versatile Large Dataset Text Converter model data_extraction
- Project Space Text Extraction Operator model data_extraction
- AI Data Extraction Organization Tool Developer model data_extraction
- Non-Technical IT Help Assistant model customer_support
- Cinematic Image-to-Video Prompt Generator model image_generation
- Company URL Account Research Report Generator model research
- Product Image Studio Enhancement Transformer model image_generation
- Reflective Self-Understanding Companion model personal_assistant
- Rooftop Golden Hour Bikini Portrait Generator model image_generation
- Cheerful Student Home Study Scene Prompt model image_generation
- Integrative Medicine Treatment Plan Designer model medical
- Conventional Git Commit Guidelines for AI model coding
- Interview-Driven AI Travel Planner model personal_assistant