Git Product home page Git Product logo

thai_med_bot's Introduction

THAI MED BOT

Question-Answering chatbot about initial symptoms

Inside this file

This chatbot contains some training data, the domain file for NLU dialogue in Rasa Core. In the section of actions folder is the main for deverlop, have some data for work control about medical conversation. The THAI MED BOT consists of the following files:

  • actions/actions.py contains actions for control QA Medical conversation.
  • actions/semantic_search.py is the semantic search model for use symptoms to tell diseases.
  • data contains training data for NLU Dialogue.
  • domain.yml contains the domain of the assistant.
  • credentials.yml contains credentials for the channels like Meta Messengers.

How to use

in initial we have thaitokenizer.txt file is the manual for install rasa and pythainlp's tokenizer to use (for pythainlp's dependencies we use python3.8 is component) when you've already installed and followed in the thaitokenizer.txt. so do the next step:

  1. Train a Rasa model containing the Rasa NLU and Rasa Core models by running:
rasa train
  1. Open in the another terminal and open server with Action Server for can use actions.py and semantic_search.py file
rasa run actions
  1. Now you can chat with my bot in the following command:
rasa shell

Or if you want to see how Assistant can get slots or how bot can interact each action step use command:

rasa interactive

for use in the Meta Messengers channel, using the following command (but you have to connect with the webhook and open sever like ngrok to get response before using this, see in the Documentation) :

rasa run --credentials credentials.yml

Ref.

Thanks for how to use pythainlp's dependencies in Rasa : https://rasahq.github.io/rasa-nlu-examples/docs/tokenizer/thai-tokenizer/

thai_med_bot's People

Contributors

khetpatiparn avatar t-musiz avatar

Watchers

 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.