/tara-backend-ml

Backend for deploying TARA's Machine Learning model

Primary LanguagePython

TARA Machine Learning Model API

Backend service for deploying Machine Learning Model built by CC Team using Flask. The API is used to retrieve a list of tourist attraction recommendations.

To clone the repository:

git clone https://github.com/avecenob/tara-backend-ml.git

Make sure to install all the required modules before working on it:

pip install -r requirements.txt

The API consists of only one endpoint: /get_recommendations

You can try the API by using the following URL:

https://tara-ml-72oh4bxmxq-as.a.run.app/get_recommendations

accepting array of strings data as json.

Send HTTP GET request with following request body format:

{
  "userPreferences": [
    "preference_1",
    "preference_2",
    "preference_n",
  ]
}

Each preference can be anything related to tourism (places, types, etc).