A modern web application that analyzes product reviews and provides sentiment analysis using AI. Built with Next.js and Together AI.
- Clone the repository:
git clone https://github.com/jideabdqudus/sentiment-analysis.git
cd sentiment-analysis
- Install dependencies:
npm install
- Set up environment variables:
cp .env.example .env.local
Add your Together AI API key to .env.local:
TOGETHER_API_KEY=your_api_key_here
- Run the development server:
npm run dev
Open http://localhost:3000 to see the application.
- Enter a product review in the text area
- Press Enter or click the send button
- The AI will analyze the sentiment and provide a result
- Results include:
- Sentiment (Positive/Negative/Neutral)
- Confidence score
This project is licensed under the MIT License.