Esquema JSON: extraer un currículum
JSON Schema para extraer un currículum con un LLM: experiencia, competencias, idiomas y formación. Sin edad, foto ni otros datos sensibles.
Extrae los datos del currículum. No inventes nada: si falta un dato, deja el campo vacío. No deduzcas edad, estado civil, origen, religión ni salud.
JSON Schema
{
"type": "object",
"required": [
"nombre",
"experiencia",
"competencias"
],
"properties": {
"nombre": {
"type": "string"
},
"idiomas": {
"type": "array",
"items": {
"type": "object",
"properties": {
"nivel": {
"type": "string"
},
"idioma": {
"type": "string"
}
}
}
},
"titular": {
"type": "string",
"description": "Puesto actual o buscado"
},
"formacion": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ano": {
"type": "string"
},
"centro": {
"type": "string"
},
"titulo": {
"type": "string"
}
}
}
},
"experiencia": {
"type": "array",
"items": {
"type": "object",
"required": [
"puesto",
"empresa"
],
"properties": {
"fin": {
"type": "string"
},
"inicio": {
"type": "string"
},
"puesto": {
"type": "string"
},
"empresa": {
"type": "string"
}
}
}
},
"competencias": {
"type": "array",
"items": {
"type": "string"
}
},
"anos_experiencia": {
"type": "number"
}
}
}Coût estimé
Tokens d'entrée par appel : ≈ 578
| Modèle | Par appel | Pour 1 000 appels |
|---|---|---|
| Mistral Large · Mistral AI | 0,00026 € | 0,25 € |
| DeepSeek Flash · DeepSeek | 0,00015 € | 0,15 € |
| DeepSeek V4 Pro · DeepSeek | 0,00067 € | 0,67 € |
| GPT-6 Luna · OpenAI | 0,00005 € | 0,05 € |
| GPT-6 Sol · OpenAI | 0,00102 € | 1,02 € |
| Claude Sonnet 5.5 · Anthropic | 0,00102 € | 1,02 € |
| Claude Opus 5.5 · Anthropic | 0,00204 € | 2,04 € |
| Modèle open source hébergé chez soi (Ollama, vLLM) | 0 € d'API (coût du serveur seulement) | |
Coût d'entrée seulement, sans la réponse du modèle. Prix publics des fournisseurs (Mistral AI, DeepSeek, OpenAI, Anthropic), tarif standard en dollars converti en euros au taux BCE du 29 septembre 2026. Estimation : 1 token ≈ 3,6 caractères.
Commun aux 3 régions
Contenu créé par l'auteur, sans source extérieure.
Usage commercial autorisé · citer l'auteur · modifications permises.
Texte ou données seuls : aucun accès aux fichiers, au réseau ni aux commandes.
Hébergé en France (Scaleway, Paris). Aucun transfert hors UE.
Union européenne · 5/5
Aucune donnée personnelle.
Pas de données d'entraînement : pas de résumé à fournir.
États-Unis · 5/5
Aucune donnée personnelle.
Pas de données d'entraînement : pas de documentation à publier.
Chine · 5/5
Aucune donnée personnelle.
Pas de données d'entraînement ; les contenus générés par IA diffusés en Chine doivent être marqués (2025).
Synthèse indicative au 30/09/2026, sans valeur de certification juridique. Méthode et sources →
Statistiques
J'aime : 0 · Commentaires : 0
Cliquez sur un compteur pour l’afficher ou le masquer, survolez le graphique pour le détail. Une vue par visiteur et par jour, robots exclus ; décompte commencé le 30 septembre 2026.
- Identifiant
- contextetech--extraer-curriculum
- Type
- Schémas de sortie
- Fichier
- extraer-curriculum.schema.json
- Format
- JSON (application/json)
- Taille
- 1 458 octets (1,4 Ko)
- Encodage
- UTF-8
- Tokens estimés
- ≈ 405
- Langue
- Espagnol
- Licence
- MIT
- Usage commercial
- Autorisé
- Données personnelles
- Aucune
- Version
- 1.0
- Publié le
- 3 octobre 2026 à 05:20
- Mis à jour le
- 3 octobre 2026 à 05:20
- Stockage
- en base
- Utilisations
- 0
- J'aime
- 0
extraer-curriculum.schema.json
{
"type": "object",
"required": [
"nombre",
"experiencia",
"competencias"
],
"properties": {
"nombre": {
"type": "string"
},
"idiomas": {
"type": "array",
"items": {
"type": "object",
"properties": {
"nivel": {
"type": "string"
},
"idioma": {
"type": "string"
}
}
}
},
"titular": {
"type": "string",
"description": "Puesto actual o buscado"
},
"formacion": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ano": {
"type": "string"
},
"centro": {
"type": "string"
},
"titulo": {
"type": "string"
}
}
}
},
"experiencia": {
"type": "array",
"items": {
"type": "object",
"required": [
"puesto",
"empresa"
],
"properties": {
"fin": {
"type": "string"
},
"inicio": {
"type": "string"
},
"puesto": {
"type": "string"
},
"empresa": {
"type": "string"
}
}
}
},
"competencias": {
"type": "array",
"items": {
"type": "string"
}
},
"anos_experiencia": {
"type": "number"
}
}
}API Anthropic (Python)
import json, anthropic
schema = json.load(open("extraer-curriculum.schema.json"))
client = anthropic.Anthropic()
resp = client.messages.create(model="claude-sonnet-5", max_tokens=1024,
tools=[{"name": "extraire", "description": "Renvoie les données extraites", "input_schema": schema}],
tool_choice={"type": "tool", "name": "extraire"},
messages=[{"role": "user", "content": "votre entrée ici"}])
print(resp.content[0].input)Format OpenAI (response_format)
{
"type": "json_schema",
"json_schema": {
"name": "extraer-curriculum",
"schema": {
"type": "object",
"required": [
"nombre",
"experiencia",
"competencias"
],
"properties": {
"nombre": {
"type": "string"
},
"idiomas": {
"type": "array",
"items": {
"type": "object",
"properties": {
"nivel": {
"type": "string"
},
"idioma": {
"type": "string"
}
}
}
},
"titular": {
"type": "string",
"description": "Puesto actual o buscado"
},
"formacion": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ano": {
"type": "string"
},
"centro": {
"type": "string"
},
"titulo": {
"type": "string"
}
}
}
},
"experiencia": {
"type": "array",
"items": {
"type": "object",
"required": [
"puesto",
"empresa"
],
"properties": {
"fin": {
"type": "string"
},
"inicio": {
"type": "string"
},
"puesto": {
"type": "string"
},
"empresa": {
"type": "string"
}
}
}
},
"competencias": {
"type": "array",
"items": {
"type": "string"
}
},
"anos_experiencia": {
"type": "number"
}
}
},
"strict": true
}
}
Communauté
Pas encore de commentaire. Partagez votre retour, il aidera les suivants.