It's the mini Website made with the Intention to help Freshers at the beginning or in between development by answering queries via Chatbot, which could be trained via Dialogflow-I have trained it a little, but the scope of training is really high. The beautiful and interactive Website with Chatbot included in it, is named as FreshTech for helping freshers.
- Node
- HTML,CSS
- JavaScript
- JQuery
- Google Cloud DialogFlow API
- Ensure You have node installed on your system.
node -v
- Install all node packages used.
npm install
- Make your account on Google Cloud and create a project on Dialogflow API ES.
- You need to add your Dialogflow project Credential in the file chatbot-ojbc-d097bb5380b5.json . The format is given below. Here in the empty string, you need to add your project credentials which you can get through your project description on Dialogflow.
{
"type": "service_account",
"project_id": " ",
"private_key_id": " ",
"private_key": "-----BEGIN PRIVATE KEY-----\n Your Private key here\n-----END PRIVATE KEY-----\n",
"client_email": " ",
"client_id": " ",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": " "
}
- Now save the file and run the below command in the terminal
node app.js
- Now you can open the http://localhost:5000/ in your browser and have this project running ✔.
There's a lot of scope for improvements and making it more useful by adding in different websites and add the personalised support via chatbot for customers. If you find any idea or want to contribute or facing any issues while running it up on your system contact me.
Here's the link to my social profiles.👇