https://github.com/livehelperchat/sentiment
Sentiment analysis docker image for simplified setup
https://github.com/livehelperchat/sentiment
Last synced: 5 months ago
JSON representation
Sentiment analysis docker image for simplified setup
- Host: GitHub
- URL: https://github.com/livehelperchat/sentiment
- Owner: LiveHelperChat
- Created: 2020-12-07T13:34:09.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-07T14:20:01.000Z (over 5 years ago)
- Last Synced: 2025-06-28T22:24:09.301Z (12 months ago)
- Language: Dockerfile
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sentiment analysis docker image for simplified setup
# Install
Pull images
```shell
git clone https://github.com/LiveHelperChat/sentiment && cd sentiment
docker-compose -f docker-compose.yml pull
wget https://livehelperchat.com/var/deep.tgz
tar zxfv deep.tgz
rm -f deep.tgz
```
Run one time
```
docker-compose -f docker-compose.yml up
```
Run as a service
```
docker-compose -f docker-compose.yml up -d
```
Testing
```
curl -X POST "http://localhost:5000/model" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"x\":[\"all went no so good, but could have been better\"]}"
```
For Live Helper Chat configuration read
https://doc.livehelperchat.com/docs/bot/sentiment-analysis