---
title: "Customer Reviews AI Summary"
description: "Use a Large Language Model to summarize customer feedback."
url: "https://vercel.com/templates/next.js/customer-reviews-ai-summary-nextjs-vercel"
links:
  repository: "https://github.com/vercel/ai-review-summary"
  demo: "https://review-summary.vercel.app/"
  deploy: "https://vercel.com/new/clone?demo-title=Customer+Reviews+AI+Summary&demo-description=Use+a+Large+Language+Model+to+summarize+customer+feedback.&demo-url=https%3A%2F%2Freview-summary.vercel.app%2F&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F465DZeOQ48wwU4YMkce4f4%2F964bf4a8e12a7d71bb489f74feae38b7%2FCleanShot_2024-02-16_at_14.57.40_2x.png&project-name=Customer+Reviews+AI+Summary&repository-name=customer-reviews-ai-summary-nextjs-vercel&repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fai-review-summary&from=templates&integration-ids=oac_iNhqIE7PvhptEdVglkjDOKD7&skippable-integrations=1"
---

# Customer Reviews AI Summary

Use a Large Language Model to summarize customer feedback.

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.](https://review-summary.vercel.app/)

[Install the template on Vercel](https://vercel.com/templates/next.js/customer-reviews-ai-summary-nextjs-vercel)

## Getting Started

First, run the development server:

```bash
pnpm dev
```

## AI key

This demo requires an API key for Perplexity's inference API. This can be installed via
[Vercel's AI Marketplace](https://vercel.com/docs/integrations/ai).

Any other LLM model can be connected via minimal changes to `lib/ai-summary.ts` through [Vercel's AI SDK](https://sdk.vercel.ai/docs).

## Related Templates

### [Next.js OpenAI Doc Search Starter](https://vercel.com/templates/next.js/nextjs-openai-doc-search-starter)

Template for building your own custom ChatGPT style doc search powered by Next.js, OpenAI, and Supabase.

### [RAGBot Starter — An Astra DB and OpenAI chatbot](https://vercel.com/templates/next.js/ragbot-starter)

Starter project for creating a chatbot using Astra DB and OpenAI.

### [Chatbot](https://vercel.com/templates/next.js/chatbot)

A full-featured, hackable Next.js AI chatbot built by Vercel

## Related Integrations

### [Perplexity API](https://vercel.com/marketplace/pplx-api)

Access Perplexity's cutting edge LLMs

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
