feat: generate all outputs in Spanish
Add "Escribe SIEMPRE en español" at the start of all system prompts (podcast, blog, report, thread) so Ollama generates content in Spanish. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+18
-14
@@ -10,29 +10,33 @@ from src.db.database import ResearchDB, OutputType
|
|||||||
logger = structlog.get_logger()
|
logger = structlog.get_logger()
|
||||||
|
|
||||||
PODCAST_SYSTEM = (
|
PODCAST_SYSTEM = (
|
||||||
"You are a podcast scriptwriter. Write exactly as a host SPEAKS — contractions, "
|
"Escribe SIEMPRE en español. "
|
||||||
"incomplete sentences, natural pauses, rhetorical questions. "
|
"Eres un guionista de podcast. Escribe exactamente como un presentador HABLA — contracciones, "
|
||||||
"NEVER repeat a sentence, phrase, or idea you already wrote. "
|
"frases naturales, pausas, preguntas retóricas. "
|
||||||
"Each paragraph must introduce NEW information. "
|
"NUNCA repitas una frase o idea que ya escribiste. "
|
||||||
"Use [PAUSE], [EMPHASIS], [MUSIC CUE] markers sparingly."
|
"Cada párrafo debe introducir información NUEVA. "
|
||||||
|
"Usa marcadores [PAUSA], [ÉNFASIS], [MÚSICA] con moderación."
|
||||||
)
|
)
|
||||||
|
|
||||||
BLOG_SYSTEM = (
|
BLOG_SYSTEM = (
|
||||||
"You are a journalist writing a blog post. Use clear markdown headings. "
|
"Escribe SIEMPRE en español. "
|
||||||
"NEVER repeat the same fact or phrase twice — if you said something, move on. "
|
"Eres un periodista escribiendo un artículo de blog. Usa encabezados markdown claros. "
|
||||||
"Each section must add new information not covered in previous sections."
|
"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 = (
|
REPORT_SYSTEM = (
|
||||||
"You are a research analyst. Write a structured factual report. "
|
"Escribe SIEMPRE en español. "
|
||||||
"Be concise — do NOT pad with redundant summaries. "
|
"Eres un analista de investigación. Escribe un informe estructurado y factual. "
|
||||||
"NEVER restate a finding already listed. Each numbered finding must be distinct."
|
"Sé conciso — NO rellenes con resúmenes redundantes. "
|
||||||
|
"NUNCA repitas un hallazgo ya listado. Cada hallazgo numerado debe ser distinto."
|
||||||
)
|
)
|
||||||
|
|
||||||
THREAD_SYSTEM = (
|
THREAD_SYSTEM = (
|
||||||
"You write Twitter/X threads. Each tweet must be under 280 chars. "
|
"Escribe SIEMPRE en español. "
|
||||||
"NEVER repeat information from a previous tweet. "
|
"Escribes hilos de Twitter/X. Cada tweet debe tener menos de 280 caracteres. "
|
||||||
"Each tweet must reveal something NEW. Number them 1/N, 2/N..."
|
"NUNCA repitas información de un tweet anterior. "
|
||||||
|
"Cada tweet debe revelar algo NUEVO. Numéralos 1/N, 2/N..."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user