Buen día, compañeros les comparto mi idea de PROMPT en chatGPT para la solución de este ejercicio
PROMPT: Te voy a enviar una reseña de un producto, especificamente una air-fryer, de la compañia XYZ, la reseña esta delimitada por ###.
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. ###
El formato de salida debe ser un formato JSON, en donde requiero 5 claves de cada analisis, el formato va a estar delimitado por '''.
''' id: resume: puntosFuertes:[] puntosDebiles:[] sentimiento: Positivo, negativo o neutro '''
Las respuestas que obtuve fueron:
{ "id": 1, "resume": "This air fryer works well, especially for hamburgers, but the rack is hard to clean and feels unstable when dumping food.", "puntosFuertes": ["Works well", "Hamburgers turned out wonderful", "Easy to clean basket"], "puntosDebiles": ["Rack is hard to clean", "Rack feels unstable when dumping food"], "sentimiento": "Positivo" }
{ "id": 2, "resume": "The air fryer works fine initially, but the handle breaks off due to poor attachment design, rendering it useless.", "puntosFuertes": [ "The air fryer works fine initially." ], "puntosDebiles": [ "Handle breaks off easily.", "Only 3 screws attach the handle to a plastic piece.", "Plastic piece breaks and screws fall out.", "No way to reattach the handle to the basket." ], "sentimiento": "Negativo" }