Taller de integraciónIntegration workshop
De tu JSON Schema a respuestas validadas, en cinco pasos From your JSON Schema to validated answers, in five steps
Todo ocurre en tu navegador con el motor de mini-format: generas el contrato, obtienes la instrucción para el modelo, validas su respuesta, reparas solo lo que falló y descargas el JSON final. Tu trabajo se guarda en este navegador. Everything runs in your browser with the mini-format engine: generate the contract, get the instruction for the model, validate its answer, repair only what failed and download the final JSON. Your work is saved in this browser.
1 · Tu esquema1 · Your schema
Pega el JSON Schema de un registro de tu sistema, sube un archivo o parte de un ejemplo. Paste the JSON Schema of one record of your system, upload a file or start from an example.
2 · Instrucción para el modelo2 · Instruction for the model
Se genera desde el contrato: no se escribe a mano. Pégala como mensaje de sistema en tu llamada al LLM. It is generated from the contract, not written by hand. Paste it as the system message of your LLM call.
Probar con un modelo real, sin programarTry it with a real model, no code
Estos son los datos que el modelo debe convertir en registros. «Copiar prompt completo» junta la instrucción y los datos: pégalo en un chat de IA, copia lo que responda y pégalo en el paso 3. These are the data the model must turn into records. “Copy full prompt” joins the instruction and the data: paste it into an AI chat, copy what it answers and paste it in step 3.
- Pulsa «Copiar prompt completo» y pégalo en el chat.Press “Copy full prompt” and paste it in the chat.
- Copia la respuesta completa del chat, aunque traiga texto alrededor.Copy the chat's whole answer, even if it has text around it.
- Pégala en el paso 3 y pulsa «Validar respuesta».Paste it in step 3 and press “Validate answer”.
3 · Respuesta del modelo3 · The model's answer
Pega lo que respondió el chat con el prompt del paso 2, o usa una respuesta de ejemplo generada desde tu contrato (las de ejemplo muestran un valor inválido o un corte sin depender del modelo). Paste what the chat answered to the step 2 prompt, or use a sample answer generated from your contract (the samples show an invalid value or a cut without depending on the model).
4 · Reparar solo lo que falló4 · Repair only what failed
Las líneas válidas se conservan. Al modelo se le reenvían solo las inválidas, y los registros que faltan se piden aparte. Valid lines are kept. Only the invalid ones are sent back to the model, and missing records are requested separately.
5 · Resultado para tu aplicación5 · Result for your application
El JSON con los registros validados, listo para guardar, y lo que costó en tokens frente a pedirlo en JSON. The JSON with the validated records, ready to store, and its token cost compared with asking for JSON.