@runnerpro/backend 1.13.19 → 1.13.21
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
|
-
|
|
411
|
-
|
|
412
|
-
|
|
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;
|
|
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"}
|