chatbot application on local machine 日本語での概要説明→flaskでチャットボットのサンプルアプリ作ってみた【概要編】
- docker
- docker-compose
git clone [email protected]:hysakhr/flask_chatbot.git
cd flask_chatbot
docker-compose up
-
front http://localhost:9000/
configure the following settings.
- create bot
- screen : Bot > Bot追加
- create and upload faq list file in tsv format.
- refer to sample_faq_list.tsv. (only japanese)
- screen : Bot > Bot詳細 > ファイルからインポート
- set faq_list to be used in specific situations.
- situations : when talk start, faq notfound
- screen : Bot > Bot詳細 > FAQリスト編集
- train bot
- screen : Bot > Bot詳細 > FAQリストの学習ボタン
- train processing is asynchronous.
- if 学習状態 is 学習中, please reload the page after a while.
- create site
- screen : Site Settings > サイト追加
- setting bot to use on the site.
- when site is created, site default setting is created at the same time.
- if you want to set for each URL, you can add it separately.
- site_id
- show_faq_info
chatbot/templates/front/index.html
data: {
talk: [],
config: {
site_id: 1,
show_faq_info: true
}
},
End with an example of getting some data out of the system or using it for a little demo
- Vue.js (2.6.0)
- axios (0.19.0)
- node-sass (4.12.0)
- flask (1.1.1)
- flask-SQLAlchemy (2.4.0)
- SQLAlchemy (1.3.8)
- celery (4.3.0)
- numpy (1.17.2)
- tensorflow (2.0.0)
- AdminLTE (2.4.18)
- mecab (0.996)
This project is licensed under the MIT License - see the LICENSE file for details
- hysakhr