@runnerpro/backend 1.13.19 → 1.13.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -407,9 +407,13 @@ const cambiarTonoEntrenadorNeutro = (text) => __awaiter(void 0, void 0, void 0,
407
407
  console.log('text', text);
408
408
  try {
409
409
  const textCorregido = yield (0, prompt_1.sendPrompt)(`
410
- Eres un asistente de IA que cambia el tono de los mensajes de un entrenador a uno neutro y corrige la ortografía.
411
- El mensaje es: ${text}
412
- El mensaje corregido es:
410
+ Actúa como un asistente de comunicación para entrenadores. Tu objetivo es revisar el siguiente mensaje de un entrenador a un cliente. Debes corregir cualquier falta de ortografía y reescribir el texto para que tenga un tono profesional y constructivo.
411
+
412
+ * MENSAJE ORIGINAL INICIO *
413
+ ${text}
414
+ * MENSAJE ORIGINAL FIN *
415
+
416
+ Devuelve solo el texto corregido y reescrito, sin añadir explicaciones.
413
417
  `);
414
418
  console.log('textCorregido', textCorregido);
415
419
  return textCorregido;
@@ -1 +1 @@
1
- {"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../../../src/chat/api/conversation.ts"],"names":[],"mappings":"AAmBA,QAAA,MAAM,iBAAiB,0BAA2B,GAAG,SAuBpD,CAAC;AA+aF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../../../src/chat/api/conversation.ts"],"names":[],"mappings":"AAmBA,QAAA,MAAM,iBAAiB,0BAA2B,GAAG,SAuBpD,CAAC;AAmbF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runnerpro/backend",
3
- "version": "1.13.19",
3
+ "version": "1.13.20",
4
4
  "description": "A collection of common backend functions",
5
5
  "exports": {
6
6
  ".": "./lib/cjs/index.js"