Comments (6)
This is a good idea! At first I thought we would need to do some NLP magic (like determining intent, etc.) first.
I've written a backend that is able to connect to multiple channels (Line, Facebook Messenger, Telegram, etc.), but no logic on message processing yet. Shall we use that + add the functionality above?
See this PR: @jonathanbgn @erickhun #1
from taiwan-bot.
- we can just use a collaborative spreadsheet of Q&A and query that spreadsheet, it will just work magically
- we can make it fancier by just scraping our Q&A (but seems like the more variance of questions is better), maybe a spreadsheet is better
- they seem to use it for that "talk to book" project, where you just feed it with books, and find the answer. idea 💡: We could feed it with Taiwan immigration law, and get answer from it (cc @fifieldt )
- could potentially feed it with questions/answers from forumsa/line/reddit and have a super super smart bot 🤖
from taiwan-bot.
Relevant laws/regulations:
https://law.moj.gov.tw/Eng/LawClass/LawAll.aspx?PCode=D0080132
https://law.moj.gov.tw/ENG/LawClass/LawAll.aspx?PCode=A0030295
https://law.moj.gov.tw/ENG/LawClass/LawAll.aspx?PCode=D0080204
https://law.moj.gov.tw/ENG/LawClass/LawAll.aspx?PCode=G0340150
from taiwan-bot.
@jonathanbgn, we have updated the backend code to have:
- a web server connected to chatbot channels (line)
- a connection to the google sheet above to grab the data you need
- auto deployment to heroku
Try the bot here. It does nothing but echo your message. All that is missing is the brains to process the message sent by the user. All yours now! 👍
from taiwan-bot.
See #8 for a first version of the model (backend version). The model is quite big (almost 1GB) so we should make sure it can run on Heroku!
from taiwan-bot.
Closing this as we have a working MVP now :)
from taiwan-bot.
Related Issues (15)
- Log questions , answers, and similarity score HOT 1
- Buttons to get better response
- A Smart Taiwan Law Bot?
- Reload data from spreadsheet when it changes HOT 1
- Fix context when responding to slack channel HOT 1
- Can't test locally for slack / channel specific code HOT 1
- Threads for replying to message in slack
- Add welcome page / quick replies HOT 1
- Manage multiple questions from a single line in Google Spreadsheet HOT 1
- Bot crashes if you spam it too many times HOT 2
- Bot encounters error if you send non-text content
- Add Taiwan-bot to website HOT 1
- Ideas over dinner
- Scrape LINE
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taiwan-bot.