This is a demo of AI generated summaries of customer reviews for an e-commerce storefront.
The demo takes a set of customer reviews, and uses an LLM to create summaries of those reviews. It then displays the summary and the reviews in a demo UI.
The benefit of such an AI summary is that the user can get a quick overview of the sentiment of reviewers of the product without reading them all.
A deployed version can be found here.
Install the template on Vercel
First, run the development server:
pnpm dev
This demo requires an API key for Perplexity's inference API. This can be installed via Vercel's AI Marketplace.
Any other LLM model can be connected via minimal changes to lib/ai-summary.ts
through Vercel's AI SDK.