Skip to content

CONQUEST (Chatbot ONtology QUESTion) is a framework that automates much of the construction process of chatbots for the task of template-based Interactive Question Answering on closed-domain knowledge bases.

Notifications You must be signed in to change notification settings

CaioViktor/CONQUEST

Repository files navigation

CONQUEST

CONQUEST (Chatbot ONtology QUESTion) is a framework that automates much of the construction process of chatbots for the task of template-based Interactive Question Answering on closed-domain knowledge bases.

Installation

Automatic Installation


Just run the script "install.sh"
$ ./install.sh

Manual Installation


Configuration

It is possible to configure the framework through a Web interface using the CONQUEST Workbench:

  • $ python WorkBench.py
  • Access the link in the Web browser: http://localhost:5050/
  • Configure the chatbot parameters and enter the supported templates.

Trainer

The target ontology file should be placed in the directory "input" with the name "ontology.ttl" in the turle serialization.

To run the training script:

$ python Trainer.py
usage: python Trainer.py [-h] [-m zero] [-p 0]
optional arguments:
-h, --help				Show this help message and exit 
-m zero, --mode zero	Training mode: 
						zero - Training the chatbot from starting point (default).
						update - Update models
						resume - Resume the training from a saved point.
-p 0, --point 0			Point to resume training:
							0 - Starting from start (equal to zero mode).
							1 - Starting from loading QAIs.
							2 - Starting from making NER training dataset.
							3 - Starting from training NER. 
							4 - Starting from making classifier training dataset. 
							5 - Starting from training the classifier.
	

Server

To run the server script:

The chatbot service will be available in the link http://0.0.0.0:5000/

$ python Server.py

To run the RDF Browser (Optional):

The RDF Browser will be available in the link: http://0.0.0.0:5555/ and through the functions /explorar $term or /browser $term in the chatbot.

  • Enter in the directory RDF_Browser: $ cd RDF_Browser
  • Run the command: $ python server.py

About

CONQUEST (Chatbot ONtology QUESTion) is a framework that automates much of the construction process of chatbots for the task of template-based Interactive Question Answering on closed-domain knowledge bases.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published