owned this note changed 7 years ago
Linked with GitHub

Live coding LINEBot猜謎互動開發

tags: 2018, R2
位置: R2
講者:林建宏


講者 medium

目前製作 linebot 的常見框架

  1. 自幹
  2. Bottender
  3. ms botframewokr => Azure Bot Service
  4. dialogflow

2016 => ms botframewokr
2018 => dialoogflow

  • 如何使用 LINE Clova 後台,建置LINE Clova

Live coding 猜謎互動

  • 用 serverless(Google Cloud functions)

Line message api

  1. reply api
  2. push api (要錢的)

ms botframework

  1. ms maintain
  2. maintain for a long time: more than 3 years
  3. code reuse: fb telegram
  4. without LINE

Serverless 優點

  1. do not need maintain server
  2. bot easy to be handle out or rush
  3. do not have waste money

Serverless 缺點

  1. cold start
  2. 各家 function 支援的語法、程度

k8s做serverless

  1. 最少的maintain能量
  2. 做自己的規格

開發Line Bot流程

  1. sign in https://developers.line.me
  2. create bot

使用Dialogflow建立LINE ChatBot

Dialogflow

Select a repo