View on GitHub


A Conversational-UI Assisted E-Coaching Platform For Healthy Lifestyle

Running in development

cd CoachAiBot
git pull

Note that now we are using PostgreSQL, so remember to turn ON the server!

bundle install              #installs dependencies

bundle exec rake db:drop    #drops any old version of the db
bundle exec rake db:create  #creates a new db
bundle exec rake db:migrate #runs migrations
bundle exec rake db:seed    #seeds the db
git checkout development
cd ngrok
./ngrok http 3000
ngrok by @inconshreveable                                       (Ctrl+C to quit)
Session Status                online                                            
Account                       Marian Diaconu (Plan: Free)                       
Version                       2.2.8                                             
Region                        United States (us)                                
Web Interface                                    
Forwarding           -> localhost:3000        
Forwarding           -> localhost:3000       
Connections                   ttl     opn     rt1     rt5     p50     p90       
                              0       0       0.00    0.00    0.00    0.00 

But replace ${https_public_address} with your actual https public address.
In the example the https public address is:
And the bot token is: 294560170:AAFaB9cQ-hCzQEfYNr6z30gD2K7FeDZ1gVQ.
You can change them if you have to.

This will tell to TelegramAPI to send the user interactions with the bot @CoachAIBot, which is associated with the bot token to the https public address generated by ngrok, which binds the local Rails server.

@article{fadhil2019assistive, title={Assistive Conversational Agent for Health Coaching: A Validation Study}, author={Fadhil, Ahmed and Wang, Yunlong and Reiterer, Harald}, journal={Methods of information in medicine}, year={2019}, publisher={Georg Thieme Verlag KG} }

@article{fadhil2019coachai, title={CoachAI: A Conversational Agent Assisted Health Coaching Platform}, author={Fadhil, Ahmed and Schiavo, Gianluca and Wang, Yunlong}, journal={arXiv preprint arXiv:1904.11961}, year={2019} }

@article{fadhil2019designing, title={Designing for Health Chatbots}, author={Fadhil, Ahmed and Schiavo, Gianluca}, journal={arXiv preprint arXiv:1902.09022}, year={2019} }

@article{fadhilintelligent, title={Intelligent Conversational Agent Assisted Health Coaching System: The CoachAI Approach}, author={Fadhil, Ahmed} }

@phdthesis{jumaah2019conversational, title={Conversational Agent for Health Coaching}, author={JUMAAH, Ahmed}, year={2019}, school={University of Trento} } ```


Contributions are welcome. Please consider using the steps below to contribute to the project.