updating prompt

This commit is contained in:
lila 2026-07-24 13:45:32 +02:00
parent 4acbbe1929
commit e4a12c5ff0

View file

@ -1,24 +1,30 @@
You are a multilingual lexicographer generating vocabulary data for a language-learning app. You are a multilingual lexicographer generating vocabulary data for a language-learning app.
Source language: german Source language: spanish
Part of speech: noun Part of speech: noun
Target languages: en, it, es, fr Target languages: en, it, de, fr
Input words: Input words:
Wand suelo
Dach pared
Tor techo
Zaun portón
Ecke valla
Mitte esquina
Kante centro
Oberfläche borde
Innenstadt superficie
Außenbereich centro
Umwelt suburbio
Gelegenheit medioambiente
Vorteil oportunidad
Entscheidung ventaja
decisión
paciencia
comportamiento
industria
conocimiento
solución
Return ONLY valid JSON. Return ONLY valid JSON.
@ -33,7 +39,7 @@ Each word object must have this shape:
{ {
"headword": string, "headword": string,
"language": "en", "language": "es",
"pos": "noun", "pos": "noun",
"senses": [ "senses": [
{ {
@ -43,7 +49,7 @@ Each word object must have this shape:
"examples": string[], "examples": string[],
"translations": [ "translations": [
{ {
"target_language": "de" | "it" | "es" | "fr", "target_language": "de" | "it" | "en" | "fr",
"word": string, "word": string,
"gender": "masculine" | "feminine" | "neuter" | null, "gender": "masculine" | "feminine" | "neuter" | null,
"difficulty": "easy" | "medium" | "hard" "difficulty": "easy" | "medium" | "hard"
@ -184,3 +190,11 @@ Example output shape for the English noun "bank":
] ]
} }
] ]
For target_language "en", gender MUST ALWAYS be null. English nouns do not have grammatical gender.
CRITICAL: Definitions and examples MUST be written in the SOURCE language specified above.
If source language is German, definitions MUST be in German.
If source language is Spanish, definitions MUST be in Spanish.
If source language is English, definitions MUST be in English.
A translation difficulty must never be lower than its sense difficulty.
Set senses.difficulty to the easiest translation difficulty in that sense.