Giter Club home page Giter Club logo

chatbot's Introduction

Chatbot tiếng Việt

Dự án nghiên cứu về bài toán xây dựng chatbot tiếng Việt, được phát triển bởi nhóm nghiên cứu xử lý ngôn ngữ tự nhiên tiếng Việt - underthesea. Chứa mã nguồn các thử nghiệm cho việc xây dựng một chatbot đơn giản, tích hợp với django và có thể triển khai dưới dạng một ứng dụng Web.

Nhóm tác giả

Tham gia đóng góp

Mọi ý kiến đóng góp hoặc yêu cầu trợ giúp xin gửi vào mục Issues của dự án. Các thảo luận được khuyến khích sử dụng tiếng Việt để dễ dàng trong quá trình trao đổi.

Nếu bạn có kinh nghiệm trong bài toán này, muốn tham gia vào nhóm phát triển với vai trò là Developer, xin hãy đọc kỹ Hướng dẫn tham gia đóng góp.

Mục lục

Giới thiệu về Hoài An

Sản phẩm đầu tiên của dự án là chatbot Hoài An. Với mục tiêu là một chat-chit bot (bot để trò chuyện tán ngẫu), Hoài An được xây dựng như là một cô gái 20 tuổi, sống ở Hà Nội, thích trò chuyện với mọi người.

Yêu cầu hệ thống

  • Operating Systems: Linux (Ubuntu, CentOS), Mac
  • Python 3.6+, Anaconda 4+
  • Django==1.11.1

Thiết lập môi trường

Tải project bằng cách sử dụng lệnh git clone

$ git clone https://github.com/undertheseanlp/chatbot.git

Tạo môi trường mới và cài đặt các gói liên quan

cd chatbot
conda create -n chatbot python=3.6
source activate chatbot
pip install -r requirements.txt

Hướng dẫn sử dụng

Chạy chương trình chatbot trên trình duyệt

Kích hoạt môi trường

$ cd chatbot
$ source chatbot-env.sh

Lệnh chatbot đã sẵn sàng

$ chabot  

  Console script for chatbot

Options:
  --help  Show this message and exit.

Commands:
  log     Log handling
  server  Server handling

Bước 1: Bật chatscript server

chatbot server cs

Bước 2: Build chatbot

chatbot build

Bước 3: Bật web server

chatbot server web 

Hoàn thành!!!

Sau đó, mở trình duyệt, vào đường dẫn http://127.0.0.1:8001 để bắt đầu chat với bot

Thử nghiệm chatbot trên terminal

Kích hoạt môi trường

$ cd chatbot
$ source chatbot-env.sh

Chạy chatbot trên terminal

$ chatbot server cs-local 

Bản quyền

Mã nguồn của dự án được phân phối theo giấy phép GPL-3.0.

chatbot's People

Contributors

rain1024 avatar tungct avatar hothanhluan avatar ngxson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.