Skip to content

Framework to easily build functional simple chatbots with purpose of maintain basic conversations for querying databases.

License

Notifications You must be signed in to change notification settings

jc-wang/chatbot_query

 
 

Repository files navigation

Build Status Coverage Status

ChatbotQuery

Framework to easily build functional simple chatbots with purpose of maintain basic conversations for querying databases.

Installation

It could be installed using shell

git clone https://github.com/tgquintela/chatbot_query
.\install

Main dependences:

Testing

You need to ensure that all the package requirements are installed. ChatbootQuery provide a testing module which could be called by importing the module and applying test function. It can be tested from the shell

>> ./test_script.sh

and also for developers you can test from the source using nosetests of nose package.

>> python3 -m "nose" --with-coverage --cover-package=chatbotQuery

Examples

There are different examples. That scripts can be runned using python

>> python example_script.py

The examples are:

  • example_discourse.py: A simple bot who only speaks.
  • example_basic_conversation.py: A simple bot who creates a profile of the user, if it don't have that profile in its database.
  • example_dbquery.py: Example of querying a database. There is a process of interaction as a substitution of a simple query. It is an accumulative query using the accepted queries done before.

Next steps

  • Parse XML and AIML format file for chooser.
  • Support for AIML sentence buildings.
  • Refactorize DBAPI to Support other DBs and different queries communication.
  • Build network of possible states in conversation state machines.

About

Framework to easily build functional simple chatbots with purpose of maintain basic conversations for querying databases.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.8%
  • HTML 7.0%
  • Shell 0.2%