Data Extraction and Transformation
Independent PiSkill directory guide. The original prompt remains hosted by OpenAI Cookbook.
What does this prompt do?
Extracts structured fields from source documents and transforms them into a target data representation.
Primary use case
Convert unstructured document information into structured data.
Expected output
Extracted and transformed structured data.
Inputs or variables
- source document
- target fields
- target schema
Related prompts
Structured Output with JSON Schema
Demonstrates how to require API responses that conform to an explicit JSON schema.
Long-Document Entity Extraction
Extracts defined entities from long documents through structured chunking, grounded outputs, reconciliation, and checks that preserve traceability to source material.
AI-Assisted Data Science
Uses Gemini to explore a data question, inspect a dataset, develop analysis steps, produce code, and explain findings with assumptions and validation checks.
Gemini and Document AI Entity Extraction
Combines Document AI and Gemini to extract defined entities, reconcile OCR context, and assess whether structured results match the underlying document.
Gemini Controlled JSON Output
Uses controlled generation to produce responses that conform to a declared JSON schema.
Gemini Document Processing
Processes documents with Gemini by defining the target schema, extracting grounded information, handling multiple formats, and validating outputs against source evidence.