RESTful API For Similarity Check Using NLP and Docker
This repo has :
Dockerfile
: Configuration file for building the Docker image.app.py
: The main Flask application file.utils.py
: Utility file containing the NLP and similarity check functions.requirements.txt
: File containing the required Python packages.
Steps to follow:
- pip install the requirements.txt file
- Build the Docker image: docker build -t similarity-check .
- After the build is successful, run the Docker container: docker run -p 5000:5000 similarity-check
- Access the API at 'http://localhost:5000/similarity' using any REST client, such as Postman or cURL, with a POST request.