A dockerized semantic similarity API for ranking Searches given a Query
Used 2 Rankers for ranking candidate strings given a search query:
The API is a flask web app taking HTML form input
- Clone the repository
- Set terminal working directory as Cloned repository
sudo docker build -t my_docker_flask:latest .
The app is binded to port 5000
sudo docker run -p 5000:5000 my_docker_flask:latest
sudo docker ps
Go to the below page & run the app!
http://0.0.0.0:5000/get_response_form
In the candidates string box enter all the candidate strings separated by commas (that's how its being split & preprocessed).
eg: hello, i hate spinach, christmas is in december, iphone 12 will launch this year,.....