Skip to content

Instantly share code, notes, and snippets.

@seanlo0805
seanlo0805 / air-pollution-prediction.md
Created December 20, 2022 06:03
Air Pollution Prediction

Air pollution prediction

@seanlo0805
seanlo0805 / line-chatbot-conversation.mp4
Last active December 19, 2022 03:41
LINE Chatbot conversation
This file has been truncated, but you can view the full file.
@seanlo0805
seanlo0805 / line-oa-architecture.png
Last active December 19, 2022 03:25
LINE Official Account Architecture
line-oa-architecture.png
@seanlo0805
seanlo0805 / line-oa-system.md
Last active December 20, 2022 05:55
LINE Official Account System

Frontend: reactjs (node >=16.0, react 17) Backend: php(7.4), node(12), golang(1.17.1) Environment: kubernetes(1.21)

  • Webhook/EventWorkders service: receiving messags from LINE, and dispatch to other services
  • Main Service: authentication, authorization and CMS portotal for admin user
  • Customer Service: Binding customer data from CRM
  • Coupon Service
  • Campaign Service: for campaigns
  • Enhance Service: chat service, VIP service…etc
@seanlo0805
seanlo0805 / rfm-flow.png
Last active December 19, 2022 03:17
RFM flow
rfm-flow.png
@seanlo0805
seanlo0805 / rfm.md
Last active December 19, 2022 03:17
RFM

Services: python 3.8 and java 11 deployment: terraform Environment: gcp ➦ A POC project for RFM by BigQuery ML

  • Data import from Mysql into Bigquery (Dataflow)
  • Triggered by Bigquery Scheduled query each Monday morning
  • Cloud function to perform data training
  • Cloud function to perform data prediction
  • Publish the result into PubSub for external system
@seanlo0805
seanlo0805 / line-chatbot-conversation.jpg
Last active December 19, 2022 03:07
LINE Chatbot conversation
line-chatbot-conversation.jpg
@seanlo0805
seanlo0805 / line-chatbot.md
Last active December 19, 2022 03:10
LINE chatbot
  • Backend: rasa 3.2, python 3.8 and node 12
  • deployment: docker
  • Environment: gcp
  • A POC project for LINE Chatbot
    • LINE webhook (node 12)
    • Rasa action server (python 3.8)
    • Rasa server (rasa 3.2)
    • ChatGPT OpenAI API (python 3.8)

Scan the QR-code and join the LINE OA for chatbot experience