I built an NLP model to test the sentiment of sentences and words. This was done using VaderSentiment. It was deployed using docker and fastapi
To test the API
- Make sure docker is installed, I installed docker desktop
- run the command: docker build -t fast_sentiment .
- run the command: docker run -p 8000:8000 -t -i fast_sentiment
- Visit http://localhost:8000/docs to interact with the API
NB: These commands are for window users, if using Linux, you will need to include sudo to the front of the commands