How can I program a simple chat bot AI?

后端 未结 11 1867
一整个雨季
一整个雨季 2021-01-29 20:33

I want to build a bot that asks someone a few simple questions and branches based on the answer. I realize parsing meaning from the human responses will be challenging, but how

11条回答
  •  盖世英雄少女心
    2021-01-29 20:49

    You can use "ChatterBot", and host it locally using - 'flask-chatterbot-master"

    Links:

    1. [ChatterBot Installation] https://chatterbot.readthedocs.io/en/stable/setup.html
    2. [Host Locally using - flask-chatterbot-master]: https://github.com/chamkank/flask-chatterbot

    Cheers,

    Ratnakar

提交回复
热议问题