Git Product home page Git Product logo

tour_bot_zh's Introduction

a tour bot

Chinese and English speaking bot.

start

$ pip install rasa
$ pip install sagas saai
# or: pip install -U --index-url https://pypi.org/simple/ sagas saai
$ saai version # check the latest version

$ saai train
$ rasa shell
$ rasa shell
2019-12-31 12:21:14 INFO     root  - Connecting to channel 'cmdline' which was specified by the '--connector' argument. Any other channels will be ignored. To connect to all given channels, omit the '--connector' argument.
2019-12-31 12:21:14 INFO     root  - Starting Rasa server on http://localhost:5005
Bot loaded. Type a message and press enter (use '/stop' to exit): 
Your input ->  你好                                                                                          
嗨! 你好吗?
Your input ->  不好                                                                                          
这儿有好东西给你看, 嘿嘿:
Image: https://i.imgur.com/nGF1K8f.jpg
帮到你了吗?
Your input ->  是的                                                                                          
再见
Your input ->  再见                                                                                          

nlu

$ ./startup.run services
# saai
$ start sl sl_bot.py 
#> 感觉发烧了,该去哪个诊所哪个科室呢
#> 7月10日晚上7点左右,六安市公安局裕安分局平桥派出所接到辖区居民戴某报警

Nlu Screenshot Nlu Screenshot

test cases

# preqs: duckling
> 明天是九月九日  (将会在actions控制台打印出日期实体解析的additional_info)

tour_bot_zh's People

Contributors

samlet 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.