Skip to content

A chatbot framework and chatbot example implemented with RL3 and Python

License

Notifications You must be signed in to change notification settings

jokruger/rl3chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rl3chatbot

A chatbot framework and chatbot example (including console and web apps) implemented with RL3 and Python

The idea is to implement a small-talk bot logic as a core, and then build a specialized bot on top of it. Intent detection and NER are implemented in RL3. Answer generation logic is implemented in Python 3, and is based on intents and entities detected during Intent/NER phase.

Core of the small-talk logic is based on Eliza bot ideas.

Why RL3?

RL3 is like a regex on steroids. It provides both entity extraction and categorization features which makes it good fit for detecting intents in user input (i.e. categorize it) and extract additional information from it (i.e. named entity recognition and parsing).

For more details on RL3 refer to https://rl3.zorallabs.com/wiki/Main_Page

Dependencies

  • RL3
  • python 3
  • flask (pip3 install flask)
  • flask-compress (pip3 install flask-compress)
  • wikipedia (pip3 install wikipedia)
  • lxml (pip3 install lxml)