{"id":19156695,"url":"https://github.com/kkdai/linebotbabyluis","last_synced_at":"2025-05-07T07:46:20.475Z","repository":{"id":142870129,"uuid":"86561801","full_name":"kkdai/LineBotBabyLuis","owner":"kkdai","description":"A baby NLU chatbot using LUIS, Chinese website https://www.evanlin.com/go-luis-linebot/","archived":false,"fork":false,"pushed_at":"2022-08-18T17:36:21.000Z","size":12079,"stargazers_count":15,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-19T20:17:25.972Z","etag":null,"topics":["chatbot","luis","nlu-chatbot"],"latest_commit_sha":null,"homepage":"https://www.evanlin.com/go-luis-linebot/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kkdai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-29T09:12:58.000Z","updated_at":"2024-05-31T21:09:32.000Z","dependencies_parsed_at":"2023-04-29T00:33:29.047Z","dependency_job_id":null,"html_url":"https://github.com/kkdai/LineBotBabyLuis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkdai%2FLineBotBabyLuis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkdai%2FLineBotBabyLuis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkdai%2FLineBotBabyLuis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkdai%2FLineBotBabyLuis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkdai","download_url":"https://codeload.github.com/kkdai/LineBotBabyLuis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252838666,"owners_count":21812081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatbot","luis","nlu-chatbot"],"created_at":"2024-11-09T08:35:34.856Z","updated_at":"2025-05-07T07:46:20.468Z","avatar_url":"https://github.com/kkdai.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"BabyLuisBot: A database-free neural-language learning Line ChatBot\n==============\n\n[![Go](https://github.com/kkdai/LineBotBabyLuis/actions/workflows/go.yml/badge.svg)](https://github.com/kkdai/LineBotBabyLuis/actions/workflows/go.yml)\n\n [![GoDoc](https://godoc.org/github.com/kkdai/LineBotBabyLuis.svg?status.svg)](https://godoc.org/github.com/kkdai/LineBotBabyLuis)  [![Build Status](https://travis-ci.org/kkdai/LineBotBabyLuis.svg?branch=master)](https://travis-ci.org/kkdai/LineBotBabyLuis.svg)\n\n[![goreportcard.com](https://goreportcard.com/badge/github.com/kkdai/LineBotBabyLuis)](https://goreportcard.com/report/github.com/kkdai/LineBotBabyLuis)\n\n![](images/baby.PNG)\n\n## Features\n\n- You don't need any database to have a NLU chatbot.\n- You event don't need any fee (almost) for this chatbot. (Heroku free-tier with free usage of [LUIS](https://www.luis.ai/))\n\nHow to use it\n---------------\n\n### Add friend\n\n![](images/qr.png)\n\n### Teach your baby\n\n- Input the word from your baby, such as \"momy\", \"daddy\" even \"ne ne ...\"\n\n- Input what he/she realy want, after you realize it.\n\n![](images/how_learn.PNG)\n\n- Every time you input, your baby bot will try to learn your word. After few seconds your babt will learn it and tell you what they want.\n\n### Auto-train and feedback\n\nEverytime your baby learn a new utterance from you, it will trigger auto-retrain.\n\n### Limitation\n\nBecause this project is just a POC (Proof of Concept), so it still don't support for multiple user online.\n\nIt might have some issues if multiple user on line.\n\nSequence Diagram\n---------------\n\n![](images/luis_predict.png)\n\n(**Sequence diagram**: LUIS could understand what user utterance means)\n\n![](images/luis_learning.png)\n\n(**Sequence Diagram**: If user input could not identify, how LUIS LineBot learn it.)\n\nHow to write your own LUIS Chatbot in Golang\n---------------\n\n- Just click following button to deploy yours in Heroku.\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\nNote:\n\n1. Refer [my LineBotTemplate project](https://github.com/kkdai/LineBotTemplate) for how to create your own Line Bot.\n2. Refer [my Luis project](https://github.com/kkdai/luis) to know how to get `APP_ID` and `API_KEY`.\n\n- You will need a [LUIS](https://www.luis.ai/) account and create related service.\n- Add `APP_ID` and `API_KEY` in your heroku \"Config Variables\".\n- You need create your intent first, or you could refer my intents list\n  - \"hugs\": Your baby just want hug.\n  - \"milk\": Your baby want drink milk.\n  - \"pacifier\": Your baby want to pacifier.\n  - \"toy\": Your baby need a toy and want to play.\n- You will need to publish your LUIS model at least one time before Line bot run.\n\nLicense\n---------------\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n\u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkdai%2Flinebotbabyluis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkdai%2Flinebotbabyluis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkdai%2Flinebotbabyluis/lists"}