Skip to main content

Let Me Answer For You

A deep learning dialog system that answers specific and complex questions.

Built on top of the deeppavlov library

Pip Install

The library can be found on PyPI so you can just run:

pip install let_me_answer_for_you

Simple Usage

After the package is installed, download the file chatbot.py of the GitHub repository and run:

python chatbot.py

After the installation process is finished, the following interface appears:

Exporting from nbdev Exporting from nbdev

In the first example, neither the FAQ or context datasets have samples. After the first context is added, it appears as a reponse to the typed answer. The second example adds a new question-answer pair. The context of the first example also provides an answer.

Technologies

The Chatbot is based on two types of question/answer models:

  1. Question Answering Model for SQuAD dataset
  2. Knowledge Base Question Answering

The first type of models can answer several questions from the same context, while the second type is very useful for specific and complex questions. It is strongly recommended to consult the deeppavlov library for further details of the available models for dialog systems.

Structure of the Package

The package let_me_answer_for_you consists of three modules: settings, dialog_system and chatbot.

The chatbot.py file of the repo, calls the ChatBot class in chatbot and is the child of the DialogSystem class in dialog_system. This last class has the three main methods of the library:

  1. question_answering
  2. new_question_answer
  3. new_context

The first method retrieves a set of answers for a given question. The second method adds a new question-answer pair to the FAQ data and retrains the model. The third method adds a new context to the context data. These are the methods that may be exported as the API calls.

Read the Docs

Requirements

The library has been tested in python 3.7

Docker

A container with all the configurations installed is available:

docker pull ejimenezr/dialog_system

Metadata

Release files for let-me-answer-for-you 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for let-me-answer-for-you 0.1.2
File Size Uploaded
let_me_answer_for_you-0.1.2.tar.gz 13.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for let-me-answer-for-you 0.1.2
File Interpreter ABI Platform
let_me_answer_for_you-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 28.6 kB

Release files / let_me_answer_for_you-0.1.2.tar.gz

Download URL let_me_answer_for_you-0.1.2.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
72062e34d0f4d2a994fe8f4a4a177e7f70ab1486bc73242b8204e31e00128ee2
BLAKE2b-256 checksum
How to use checksums
dcdf660b46e2d4852663cb5d103aa350ded789bc0087e2d0420b83d82dff3543
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0.post20200311 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

Release files / let_me_answer_for_you-0.1.2-py3-none-any.whl

Download URL let_me_answer_for_you-0.1.2-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be7c5baa5b94754a5946af901e9957c4a1dae1e6f8428c17c06adc092c571269
BLAKE2b-256 checksum
How to use checksums
3786440be3f84af2c683c73dd6bf6e182d73051fe0bdcb88c02f9539313e2424
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0.post20200311 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page