De acuerdo con la actividad he preguntado a Chat GPT lo siguiente:
*Hola, rquiero que analices las siguientes reseñas de personas que compraron el producto en una tienda en línea estadounidense. La reseñas estará delimitadas en ###
###-
Reseña 1 : I use the air fryer a lot. It works very well. I made hamburgers in it last night, the 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. Ferry ez to use But hard to judge. Seafood button isn't fish and it was a guessing game how to cook the product. I way over cooked 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 real 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 place itself not from Amazon and I don't lie that at all. Hope this review helps.
###.
Necesito que el formato de salida sea JSON, para cada análisis de reseña necesito 5 puntos claves, que son
- ID de la reseña
- Resumen en un máximo de 30 palabras
- Lista de puntos fuertes del aparato
- Lista de puntos débiles del aparato
- Sentimiento final de la persona respecto al producto, el sentimiento puede ser positivo, negativo o neutro*
Y ChatGPT me respondió con el formato de salida solicitado de la siguiente manera:
{
"reviews": [
{
"id": 1,
"summary": "Funciona bien y cocina de manera eficiente, pero la rejilla es difícil de limpiar y poco segura.",
"strengths": [
"Cocina bien los alimentos",
"Fácil de limpiar el cestillo"
],
"weaknesses": [
"La rejilla es difícil de limpiar",
"La rejilla puede caerse al volcar la comida"
],
"sentiment": "positivo"
},
{
"id": 2,
"summary": "Funciona bien hasta que el mango se rompe, lo que lo vuelve inutilizable.",
"strengths": [
"Buen funcionamiento inicial"
],
"weaknesses": [
"El mango es frágil y se rompe fácilmente",
"El sistema de sujeción es deficiente"
],
"sentiment": "negativo"
},
{
"id": 3,
"summary": "Fácil de usar y con buen diseño, pero los botones pueden ser confusos y la cocción no es uniforme.",
"strengths": [
"Fácil de usar",
"Diseño atractivo",
"Buena cocción de algunos alimentos"
],
"weaknesses": [
"Controles no intuitivos",
"Cocción desigual en algunos casos"
],
"sentiment": "neutro"
}
]
}