A chatbot to answer all your questions about Taiwan Gold Card and many more!
- Jonathan built the NLP model using NLU (natural language understanding) with Tensorflow. Here an overview of how it works.
- Shawn the infrastructure
- Eric connected the data
- John sysadmin and platform hosting
Talk to the bot with Facebook Messenger
pip install -r requirements.txt
uvicorn app:app --reload
The endpoint where you can query the bot will appear, by default it will be http://localhost:8000
If you get the message when starting it:
[...]
tensorflow.python.framework.errors_impl.NotFoundError: /var/[...]/tfhub_modules/539544f0a997d91c327c23285ea00c37588d92cc/tfhub_module.pb; No such file or directory
Remove that folder with sudo rm -rf /var/[...]/tfhub_modules/
- Install the bot emulator
- The endpoint is by default
http://localhost:8000/api/messages
- No credential are needed
Everytime a PR is merged, the github workflow should automatically deploy the new server code. The chatbot account above is connected to the server so your new changes should be instantly available.