Skip to content

siddharth595/Hack-NIT

Repository files navigation

Hack NITP

Link to the Project Video: https://youtu.be/mKuSS_M2EzI

Link to hosted website(hosted on heroku): https://chatbot-clinicapp.herokuapp.com/

Link to the Google drive link: Click here

Instructions to run the application

Place .env file in root dir with the required URLs and API keys

cd chatbot-hackwithcw
npm install
node app.js

Steps to setup the flask server:

  1. Host the flask server on NGROK server.
  2. This will enable us to use the machine learning model in the chatbox.
  3. Install NGROK using the command npm i ngrok.
  4. To run the flask server ,go to the root directory of flask folder and run the command ngrok http 5000.
npm i ngrok
ngrok http 5000
virtualenv myenv
cd myenv
Scripts\activate
cd ..
cd chatbot-hackwithcw
cd FlaskApi
pip install -r requirements.txt
python predict.py

Step to setup Dialogflow:

1)Go to Dialogflow website.
2)Import the zip file Boctor.zip.
3)Go to fullfillment and add the deployed website(heroku) url.
4)Go to chatbot-hackwithcw\app.js line no 1103 and line no. 963 and add the ngrok link of flask Api.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published