Write down or copy/paste a review related to a construction service, the AI assistant shall analyze the sentiment of the review.
This is a Next.js project bootstrapped with create-next-app.
- Init
Next.jsapp - Install
ShadCN UIand try the library - Setup construction services reviews analyzer AI Chatbot using
/api/chatendpoint withuseChat()hook - Convert from api endpoint usage into server actions calls
- Improve the Chat UI
- run
npm installto install dependencies - Copy content from
.env.exampleinto a new file.env - Paste your
ÒPENAI APIinside the.envfile - Run
npm run buildto build the project - Lunch the app by running
npm start - The app should be served on
http://localhost:3000
- run
npm run devto launch the development live-refresh server
- Next.js
- Tailwind CSS
- ShadCN UI
- Vercel AI SDK
First Next.js project!
It was a fun experience trying out Next.js, I really liked the framework and the architecture. Tribute to the well written Next.js documentation