A chatbot using IBM Watsom integrating with telegram using Node.js
Firstly you can clone by using the command below:
git clone https://github.com/BrunoUemura/watson-telegram-bot.git
Or download the zip file directly from Github and unzip it.
After downloaded, navigate to the root directory of the project:
cd watson-telegram-bot
and install all the dependencies:
npm install
Remember to change the file .env variables values according to your needs.
ASSISTANT_VERSION=YYYY-MM-DD <current_date>
ASSISTANT_APIKEY=<watsom_assistant_apikey>
ASSISTANT_URL=<watsom_assistant_url>
ASSISTANT_ID=<watsom_assistant_id>
TELEGRAM_TOKEN="" <telegram_bot_token>
npm start
After the application is started, send the following messages to the bot.
- Olá
- Agendamento
- Agendamento consulta
- Status
- Status consulta
- Obrigado
- Youtube video (Portuguese): YouTube