Skip to content

korebhaumik/SentiX

Repository files navigation

SentiX is a sentiment analysis tool for twitter.

Description · Features · Running locally ·

Description

AI Amplify Winning Project (Problem Statement Two )

Utilizing state-of-the-art natural language processing algorithms, Senti𝕏 analyzes tweets, user handles, and hashtags, extracting nuanced sentiments in real-time. Uncover valuable trends, gauge public perception, and make data-driven decisions with our comprehensive sentiment analysis toolkit, designed to unravel the emotions behind every digital conversation.

Link: https://sentix.vercel.app/

Features

Running locally

You will need to have the necessary environment variables setup in your .env file. This should include keys for your openai account, pinecone index.

NEXT_PUBLIC_OPENAI_API_KEY = 
NEXT_PUBLIC_PINECONE_API_KEY = 
NEXT_PUBLIC_PINECONE_ENV = 

Note: You should not commit your .env file or it will expose secrets that will allow others to access your openai credits.

  1. Install run: pnpm i
  2. Make a new .env file.
  3. Populate the .env file with the necessary environment variables.
pnpm run dev

Your app template should now be running on localhost:3000.

Running locally with docker

docker login
docker pull korebhaumik/sentix
docker run -env-file .env -p 3000:3000 korebhaumik/sentix

Note: If the docker image is not available (repo is private), you can build it locally by running docker build -t sentix. in the root directory of the project.