Spaces:
Paused
Paused
Update core/integrations/telegram_bot.py
Browse files
core/integrations/telegram_bot.py
CHANGED
|
@@ -70,13 +70,28 @@ def detectar_tipo_entrada(user_input) -> str:
|
|
| 70 |
# ==== COMANDO /start ====
|
| 71 |
async def start(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
| 72 |
await update.message.reply_text(
|
| 73 |
-
"👋 Bienvenido a
|
| 74 |
-
"
|
| 75 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
parse_mode="Markdown",
|
| 77 |
)
|
| 78 |
|
| 79 |
|
|
|
|
| 80 |
# ==== MANEJO DE MENSAJES ====
|
| 81 |
async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
| 82 |
user_input = ""
|
|
|
|
| 70 |
# ==== COMANDO /start ====
|
| 71 |
async def start(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
| 72 |
await update.message.reply_text(
|
| 73 |
+
"👋 *¡Bienvenido a EduLLM Bot!*\n\n"
|
| 74 |
+
"📌 *Formatos aceptados:* Texto, Imagen, PDF, DOCX o TXT.\n"
|
| 75 |
+
"📄 *Formato que genero:* Material educativo listo para descargar en DOCX.\n\n"
|
| 76 |
+
"✅ *¿Qué puedo generar?*\n"
|
| 77 |
+
"Materiales educativos alineados al *CNEB, MBDD y MINEDU – Perú*, como:\n\n"
|
| 78 |
+
"1️⃣ *Ficha*\n"
|
| 79 |
+
"- Incluye: Metadatos, Resumen, Desarrollo, Preguntas DECO, Conclusión, Recomendación, Instrumento (opcional, debes indicar si quieres instrumentos de evaluación).\n\n"
|
| 80 |
+
"2️⃣ *Resumen temático*\n"
|
| 81 |
+
"- Incluye: Metadatos, Ideas clave (mínimo 3), Desarrollo, Conclusión.\n\n"
|
| 82 |
+
"3️⃣ *Banco de preguntas*\n"
|
| 83 |
+
"- Incluye: Metadatos, 10+ Preguntas DECO, Claves o respuestas (opcional, debes indicar que quieres respuestas).\n\n"
|
| 84 |
+
"4️⃣ *Rúbrica o Lista de cotejo*\n"
|
| 85 |
+
"- Incluye: Metadatos, Criterios, Niveles, Descriptores.\n\n"
|
| 86 |
+
"🎯 *¿Qué necesito de ti?*\n"
|
| 87 |
+
"Indícame: *área curricular*, *grado*, *bimestre*, *competencia*, *capacidad* y *desempeño esperado*.\n\n"
|
| 88 |
+
"📌 *Ejemplo:*\n"
|
| 89 |
+
"`Quiero 10 preguntas sobre los animales vertebrados para 4.º primaria (Ciencia y Tecnología, bim 1) con sus respectivas respuestas.`",
|
| 90 |
parse_mode="Markdown",
|
| 91 |
)
|
| 92 |
|
| 93 |
|
| 94 |
+
|
| 95 |
# ==== MANEJO DE MENSAJES ====
|
| 96 |
async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
| 97 |
user_input = ""
|