Internal GRPC services providing NLP capabilities to heartsapp
Get Answer Service
Usage
sudo docker build ./, Suppose you get image id -> Xsudo docker run -p 8080:8080 X, In the first run it will download the model- This is followed by the prompt that the GetAnswer Services has started, you will also get container id -> Y
- Run
sudo docker stop Y - In order to save the state of the container commit the changes otherwise we would have to
download the model on every restart. Save the changes by running ->
sudo docker commit -a my_image:latest Y - Now you can run the new image ->
sudo docker run -p 8080:8080 my_image:latest - To test the api run -
python heartsapp/test_client