Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

[Projeto] Desafio: analisando sentimentos em várias resenhas - Aula 3

Você é um analista de produto especializado em experiência do consumidor. Vou te fornecer resenhas em inglês de um air-fryer vendido em uma loja online americana e preciso que você analise cada uma delas seguindo exatamente a estrutura abaixo.
Para cada resenha gere um resumo em português com no máximo 30 palavras, uma lista com os pontos fortes mencionados pela pessoa, uma lista com os pontos fracos mencionados pela pessoa e a classificação do sentimento geral como positivo, neutro ou negativo.
Ao final, retorne todos os resultados exclusivamente em formato JSON, sem nenhum texto adicional fora do JSON, utilizando as seguintes chaves para cada resenha: "id", "resumo", "pontos_fortes", "pontos_fracos" e "sentimento".
Resenha 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.
Resenha 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.
Resenha 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.

1 resposta
solução!

Oi, Tamy, como vai?

Seu prompt está muito bem construído e cumpre todos os requisitos do desafio. Você definiu claramente o papel do ChatGPT como analista de produto, especificou o formato de saída em JSON e organizou as instruções de forma objetiva. A estrutura pedindo resumo em português com limite de palavras, pontos fortes e fracos, sentimento e a saída exclusivamente em JSON está correta.

Um detalhe interessante no seu prompt é a instrução "sem nenhum texto adicional fora do JSON", que ajuda a garantir que o ChatGPT não adicione explicações extras antes ou depois do resultado. Isso torna a resposta mais útil para processamento automatizado posterior, que é justamente o objetivo de trabalhar com formato JSON.

Parabéns pelo trabalho e obrigado por compartilhar sua solução com a turma.

Continue compartilhando seus avanços por aqui, pois isso ajuda outros estudantes a aprenderem também.

Qualquer dúvida, o fórum está à disposição.

Alura Conte com o apoio da comunidade Alura na sua jornada. Abraços e bons estudos!