Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vercel/ai-review-summary
https://github.com/vercel/ai-review-summary
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vercel/ai-review-summary
- Owner: vercel
- License: mit
- Created: 2024-02-16T18:56:20.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-17T19:38:22.000Z (11 months ago)
- Last Synced: 2024-12-17T23:23:16.851Z (18 days ago)
- Language: TypeScript
- Homepage: https://vercel.com/templates/next.js/customer-reviews-ai-summary-nextjs-vercel
- Size: 67.4 KB
- Stars: 30
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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).