batch_ingest_content
Convert content files to JSONL format for batch processing. Analyzes CSV, JSON, TXT, and MD files, validates structure, and generates extraction scripts when needed.
Instructions
INTELLIGENT CONTENT INGESTION - Analyzes content file, converts to JSONL for batch processing. WORKFLOW: 1) Detects format (CSV, JSON, TXT, MD), 2) Analyzes structure/complexity, 3) Writes analysis scripts if needed, 4) Converts to proper JSONL format, 5) Validates JSONL structure. SUPPORTS: CSV (converts rows), JSON (wraps objects), TXT/MD (splits by lines/sections). RETURNS: Conversion report with outputFile path, validation status, and any generated scripts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputFile | Yes | Path to content file to ingest | |
| outputFile | No | Optional output JSONL path (auto-generated if not provided) | |
| generateScripts | No | Generate analysis/extraction scripts for complex content |