DEV Community

Evan Lin
Evan Lin

Posted on • Originally published at evanlin.com on

Conference Notes: Chatbots 13 at Taipei University of Business, 20191022

Preface

Hello everyone, I am Evan Lin, a Technical Evangelist at LINE Taiwan. I am very happy to be invited by the chatbot community to participate in the "Chatb10ts meetup Chatbot Mini Gathering 13 @ Tianlong Bookstore Coding Space" event and share the LINE API updates and my personal development experience. I would also like to share my experience in participating in this event with you, and I hope that through the power of community sharing, the development momentum of chatbots can be even more prosperous.

Since Chatbots Meetup is a community-driven event, there are also many lightning talks sponsored by community friends. All the content inside is also quite rare and interesting. I also hope to let everyone understand the charm of the Chatbots Meetup community lightning talks through this article.

This event was also very happy to come to Taipei University of Commerce. Recently, Taipei University of Commerce and LINE PROTOSTAR also held the "LINE Chatbot Dialogue Robot Design Competition" and I hope everyone can actively sign up and participate.

LINE Platform Update 201910 / Senior Development Technology Promotion Engineer Evan Lin

Slides

The main purpose of this sharing is to share the recent platform-related updates with everyone, hoping that everyone can receive the latest related news as soon as possible.

News in Traditional Chinese is now online

Every time there is a new platform feature update, the latest news will be released through LINE Developer News. I am very excited to tell everyone that there is also Traditional Chinese news now. This makes it easier for every developer to understand the latest platform information.

Get user interaction information

In the past, when broadcasting messages through Chatbot, developers wanted to understand whether the messages could be accurately delivered to users. Did users open the messages? Did they click on the links? Did they play the videos?

Previously, you could only view related information through the Insight on the LINE OA platform. Now, you can get the above information through the Get Messaging Event API.

GET https://api.line.me/v2/bot/insight/message/event?requestId={requestId}

Enter fullscreen mode Exit fullscreen mode

Through this information, your Chatbot can query past data and learn (or) judge how to accurately send messages later. Of course, there are also some small notes on this platform as follows:

  • Only supports messages through the Broadcast API
  • OA needs to have more than 20 friends
  • Only provides query data for messages within 15 days.

LIFF v2 is online

LIFF has been loved by everyone since its release in 2018 Q2, allowing many Web Apps to obtain the information they need through the LIFF API while designing. This month, LIFF also ushered in the biggest update, the LIFF v2 update. The main supported new features are as follows:

  • Can use LIFF in an external browser
  • Compatible with Login v2.1, can get user profile/email and other information
  • Read QR codes
  • Can obtain the user's LIFF environment, including OS/language settings/whether it is opened with IAB, etc.

As for the supported API list, you can also refer to this article on the Engineering Blog.

Finally, I would also like to share with all developers. LINE LIFF Starter also provides a v2 version. Everyone is welcome to download the new version to try it out and experience the new features.

If you just want to quickly experience the new features, you can also directly join the following OA

More related content:

Form Validation, Search, and Pagination on LINE Bot / LAE - Guo Jianing

Slides

As a LINE API Expert and the developer who supports the Chatbot Kamigo, and also continuously developing the LINE Bot Rails framework Kamigo. Through the demonstration, I will teach everyone how to use Kamigo to create form validation, search, and pagination functions.

Kamigo is a Rails-based Bot Framework that can quickly add related functions, and developing a Bot is as fast as developing a Web. And integrates LIFF and FLEX Message.

Next, the speaker introduced how to develop a form validation and input chatbot through LIFF by developing a "Guardian Pet Chatbot". By allowing users to enter lost animal information on the LIFF form, it is placed on the chatbot so that all friends can help find it together.

Related links:

Building Your Own Chatbot Without Development Skills / LAE - Bai Kairen

Slides

Next, the interesting topic brought by Bai Kairen, the co-organizer of CNTUG, is to deploy a LINE chatbot Operator through Kuberbetes.

The reason is that when playing Monster Hunter, you need to look up the weaknesses and easy-to-attack weaknesses of many monsters, but it's too slow to search on a computer, so I thought about writing a LINE chatbot. However, considering that monsters will constantly be modified and added, if you finally add the weakness of the monster "Rathalos", and the next day you want to search for "Diablos", wouldn't you have to constantly modify and update your code?

In addition, Kubernetes Operator is actually a hot topic recently, but there has never been an interesting application, so the speaker deployed the LINE chatbot through Kubernetes Operator.

(The architecture diagram is excerpted from the slides, with the author's permission)

Through the above picture, you can understand that the LINE Bot Operator is divided into two parts: Bot Controller and Event Controller. The Event Controller can add different events one by one through the EventBinding method without writing too much extra code. The following is an example mentioned by the speaker: By deploying the above EventController, as long as the user types "Rathalos" or "火龍" in the conversation box, the following text will be displayed, and it is very easy to add another monster, just add another similar YAML setting and deploy this EventController. It can not only let the audience understand the power of Kubernetes Operator, but also give LINE Chatbot development another new idea.

Lightning Talks

After the three speakers, the next is to introduce the most attractive part of this community, the lightning talks. All the lightning talks can refer to this collaborative note article https://beta.hackfoldr.org/chatbot/, since they are all five-minute lightning talks, the main content is quickly introduced in a list to everyone:

  • How to use Chatbot to tell the 921 story / Afore
    • Introduction:
    • Introduce how United Daily News uses Chatbot to let users understand the related stories of 921, and interact with users to let them read many in-depth reports of United Daily News.
  • 921 Story Chatbot development experience / Xie Huating
    • Introduction:

    - The developer shares how to develop the 921 Chatbot, the main data is stored in Google Sheet, because it is hoped that the PM can quickly understand the interactive data of the Chatbot users, which is a very intuitive and effective development experience.

Introducing the upcoming Bottender v1 / C.T Lin

  • Slides
  • Introduction:
    • Explain the release of Bottender's official version v1, and welcome everyone to participate in using it.
    • Promote the DevFest event / Kevin
  • Registration URL: https://sessionize.com/gdg-devfest-in-taiwan-2019/
    • FunWater - It’s time to rethink about the “single-use plastic” product. / Demo
    • Slides
  • Introduction:
    • A public welfare chatbot project that advocates the use of water dispensers and reduces the use of plastic bottles, and helps you find the nearest water dispenser through water dispenser Open Data.

Event Summary

Community sharing is always the best way to spark creativity, and Chatbots Meetup is a very enthusiastic and creative community organization. I also hope that more creative developers are willing to join the development of LINE Chatbot, and I hope to enthusiastically participate in community activities and share together.

Join the "LINE Developer Official Community" official account immediately, and you can receive the first-hand Meetup activities, or push notifications of the latest news related to the developer plan. ▼

"LINE Developer Official Community" official account ID: @line_tw_dev

About the "LINE Developer Community Plan"

LINE launched the "LINE Developer Community Plan" in Taiwan at the beginning of this year, and will invest long-term manpower and resources to hold developer community gatherings, job fairs, developer conferences, etc., both internally and externally, online and offline, in Taiwan, and is expected to hold more than 30 events throughout the year. Readers are welcome to continue to check back for the latest updates. For details, please see 2019 LINE Developer Community Plan Event Schedule (continuously updated)https://engineering.linecorp.com/zh-hant/blog/line-taiwan-developer-relations-2019-plan/)

Top comments (0)