Ya estoy inscrito ¿Todavía no tienes acceso? Nuestros Planes
Ya estoy inscrito ¿Todavía no tienes acceso? Nuestros Planes
0
respuestas

Desafío: analizando sentimientos en varias reseñas

Para resolver este desafío, yo crearía un prompt que permita analizar cada reseña de forma estructurada. Primero, le pediría a ChatGPT que genere un resumen en español con un máximo de 30 palabras. Después, le solicitaría que identifique los puntos fuertes y los puntos débiles del producto a partir de la opinión del cliente. Luego, le pediría que determine el sentimiento general de la reseña (positivo, neutro o negativo). Finalmente, especificaría que toda la información debe devolverse en formato JSON para facilitar análisis posteriores.

El prompt podría ser el siguiente:

Tu tarea es realizar las siguientes acciones para cada reseña:

  1. Elaborar un resumen en español utilizando un máximo de 30 palabras.
  2. Identificar los puntos fuertes del producto y devolverlos en una lista.
  3. Identificar los puntos débiles del producto y devolverlos en una lista.
  4. Clasificar el sentimiento de la reseña como positivo, neutro o negativo.
  5. Generar el resultado final en formato JSON.

El JSON debe contener las siguientes claves:

  • id_resena
  • resumen
  • puntos_fuertes
  • puntos_debiles
  • sentimiento

Las reseñas que debes analizar son las siguientes:

Reseña 1:

I use the air fryer a lot. It works very well. I made hamburgers in it last night, they were wonderful! The rack you put the food on is a little hard to clean. It has lots of crevices that food gets in. The basket itself is very easy to clean. I also do not trust the rack not to fall out when dumping out food, like French fries.

Reseña 2:

Air fryer works fine until the handle breaks off. There's only 3 screws that attach the handle to a plastic piece on the basket. The plastic piece breaks and the screws fall out so there's no way to attach the handle to the basket rendering the air fryer useless. If there were 4 screws or if the screws attached to metal the handle attachment would have been much more secure and less prone to breaking.

Reseña 3:

Even though I returned it for the bigger one of the same company I liked the fryer. Very easy to use but hard to judge. Seafood button isn't fish and it was a guessing game how to cook the product. I way overcooked it and the chicken legs came out crispy, but the other side was raw. But, this is my first time using an air fryer so maybe it's me. Very sleek on the counter, buttons light up really nice. I made tater tots and let me tell you they came out perfect and stayed hot. I like it so much that I returned this one and got the same company bigger one. But I had to buy it from the company itself and not from Amazon, and I didn't like that at all. Hope this review helps.

Con este prompt obtendría una respuesta estructurada, fácil de interpretar y lista para ser utilizada en procesos de análisis de datos. Además, al incluir instrucciones claras, listas y un formato de salida específico, aumentaría la precisión y consistencia de los resultados.