---
title: Product Review Analysis
---
{/**
* @typedef Props
* @property {string} productName
* @property {Array<{author: string, rating: number, comment: string}>} reviews
* @property {string} analysisType
*/}
# Product Review Analysis for {props.productName}
You are an expert product analyst. Analyze the following customer reviews and provide insights.
## Reviews ({props.reviews.length} total)
<ForEach arr={props.reviews}>
{(review, index) => (
<>
### Review {index + 1}
**Rating**: {review.rating}/5
**Author**: {capitalize(review.author)}
"{truncate(review.comment, 200)}"
---
</>
)}
</ForEach>
## Analysis Instructions
<If condition={props.analysisType === "sentiment"}>
Focus on overall sentiment and emotional tone in the reviews.
</If>
<ElseIf condition={props.analysisType === "features"}>
Identify the most mentioned product features and customer opinions about them.
</ElseIf>
<Else>
Provide a comprehensive analysis covering sentiment, features, and improvement suggestions.
</Else>
Please provide your analysis in a structured format.