🏠 Inicio
Pruebas de rendimiento
📊 Todos los benchmarks 🦖 Dinosaurio v1 🦖 Dinosaurio v2 ✅ Aplicaciones To-Do List 🎨 Páginas libres creativas 🎯 FSACB - Showcase definitivo 🌍 Benchmark de traducción
Modelos
🏆 Top 10 modelos 🆓 Modelos gratuitos 📋 Todos los modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de prompts 📖 Glosario de IA 🔗 Enlaces útiles
Advanced

Unstructured Text Normalization

#nlp #data-processing #parsing #structure

Extracting and standardizing entities from a raw, noisy text block into a structured JSON format.

Process the following raw text block containing medical patient notes. Extract all instances of medications, dosages, and dates. Normalize the dates to ISO 8601 format (YYYY-MM-DD) and the dosages to standard metric units (mg, ml). Output the result strictly as a JSON object with keys: 'patient_id', 'medications' (array of objects with 'name', 'dosage', 'frequency'), and 'last_visit_date'. Omit any confidential identifiers not explicitly requested.