Question Answering Dialog System
Project description
Let Me Answer For You
A Simple and Powerful Deep Learning Dialog System for Question and Answering
Requirements
The library has been tested in python 3.7
Install
Pip
The system can be installed via the pip
command:
pip install let_me_answer_for_you
Initialize the Dialog System
Install the configuration files by instantiating the SystemClass
from let_me_answer_for_you.dialog_system import DialogSystem()
ds = DialogSystem( context_data_file=None,
faq_data_file=None,
configs_faq=None,
download_models=True)
If the context_data_file or the faq_data_file parameters are None
, a data directory will be created in the directory where the script is running. The data directory will contain the FAQ or the context CSV files
Get Response
To get a response to a question call the method question_answer
in the instance of SystemClass
ds.question_answer()
Introduce question:
what can you offer me at Intekglobal?
what can you offer me at Intekglobal?:
1: expert resources to connect your different devices and exchange data within those devices
2: Connect with us for further information
3: We like to provide world class solutions with complete features what you want to impletement in your business!
New Question-Answer Pair
Populate the FAQ data file with a new question answer by calling the method new_q_a
:
ds.new_q_a()
Introduce question:
What type of Dialog System is this?
Introduce the answer:
Is a combination of context question answering system with a faq system
New Context
The systems accept a response as a context. The advantage of having contexts is that many answers can be found in one context. To create a new context, call the new_context
method:
ds.new_context()
Give context a title:
IOT
Introduce the context:
We can provide expert resources to connect your different devices and exchange data within those devices. Further make the data accessible via web tools. Connect with us for further information. DevOps Our team can help you organization to implement best DevOps practices that can automate the processes between software development and various IT teams, in order that they can build, test, and release software faster and more reliably.
Docker
A container with all the configurations installed can be pulled it with the following instruction:
docker pull ejimenezr/dialog_system
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for let_me_answer_for_you-0.0.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52587fdac624620906f3fc658311b6e6b39a1cf54eb90668c13b0dae6437edd1 |
|
MD5 | 6651d6c99feb9686339517e9149d39bb |
|
BLAKE2b-256 | c52162e39633420067996c327b2f62011cc01d80a84c07766fbdcbb955812d99 |
Hashes for let_me_answer_for_you-0.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c01ea82b43a8fe28aff9b7abc4eaf2d77e6148780517cdb7002ea8cc786fe63 |
|
MD5 | bc3894df453be39bf40ee6e324d45738 |
|
BLAKE2b-256 | c8760477b021c05f6a2d2de650f539b36d34f709f5495907d2aeed400afa4b81 |