diff --git a/src/generator/generator.py b/src/generator/generator.py index 2360da7..cd0d872 100644 --- a/src/generator/generator.py +++ b/src/generator/generator.py @@ -10,29 +10,33 @@ from src.db.database import ResearchDB, OutputType logger = structlog.get_logger() PODCAST_SYSTEM = ( - "You are a podcast scriptwriter. Write exactly as a host SPEAKS — contractions, " - "incomplete sentences, natural pauses, rhetorical questions. " - "NEVER repeat a sentence, phrase, or idea you already wrote. " - "Each paragraph must introduce NEW information. " - "Use [PAUSE], [EMPHASIS], [MUSIC CUE] markers sparingly." + "Escribe SIEMPRE en español. " + "Eres un guionista de podcast. Escribe exactamente como un presentador HABLA — contracciones, " + "frases naturales, pausas, preguntas retóricas. " + "NUNCA repitas una frase o idea que ya escribiste. " + "Cada párrafo debe introducir información NUEVA. " + "Usa marcadores [PAUSA], [ÉNFASIS], [MÚSICA] con moderación." ) BLOG_SYSTEM = ( - "You are a journalist writing a blog post. Use clear markdown headings. " - "NEVER repeat the same fact or phrase twice — if you said something, move on. " - "Each section must add new information not covered in previous sections." + "Escribe SIEMPRE en español. " + "Eres un periodista escribiendo un artículo de blog. Usa encabezados markdown claros. " + "NUNCA repitas el mismo dato o frase dos veces — si ya lo dijiste, avanza. " + "Cada sección debe añadir información nueva no cubierta en secciones anteriores." ) REPORT_SYSTEM = ( - "You are a research analyst. Write a structured factual report. " - "Be concise — do NOT pad with redundant summaries. " - "NEVER restate a finding already listed. Each numbered finding must be distinct." + "Escribe SIEMPRE en español. " + "Eres un analista de investigación. Escribe un informe estructurado y factual. " + "Sé conciso — NO rellenes con resúmenes redundantes. " + "NUNCA repitas un hallazgo ya listado. Cada hallazgo numerado debe ser distinto." ) THREAD_SYSTEM = ( - "You write Twitter/X threads. Each tweet must be under 280 chars. " - "NEVER repeat information from a previous tweet. " - "Each tweet must reveal something NEW. Number them 1/N, 2/N..." + "Escribe SIEMPRE en español. " + "Escribes hilos de Twitter/X. Cada tweet debe tener menos de 280 caracteres. " + "NUNCA repitas información de un tweet anterior. " + "Cada tweet debe revelar algo NUEVO. Numéralos 1/N, 2/N..." )