Skip to main content

Toolkit for building conversational information access systems.

Project description

DialogueKit

Code style: black PyPi version Coverage Badge Tests docs Python version

DialogueKit is a library for conversational information access (CIA). It contains based classes for fundamental concepts, such as dialogue participants, dialogue management, natural language understanding, natural language generation, etc. In addition to the fundamental concepts DialogueKit contains an evaluation module, for evaluating the performance of and CIA systems. Consult the documentation for details.

Install as a package

DialogueKit is published to PyPI, install it by running:

pip install dialoguekit

Follow the commands below to install DialogueKit from a specific commit or straight from GitHub.

The command will install the latest version from the main branch.

  • On Windows you may need to run this command before pip installing
ssh -t git github.com
  • pip install
pip install git+ssh://git@github.com/iai-group/dialoguekit.git

If you want to specify a specific commit as the source of the package append the commit hash to the end of the command separated with a "@".

  • Specific commit as the source of the package.
pip install git+ssh://git@github.com/iai-group/dialoguekit.git@faa5c1fca37aaa275105cc1ca7698783719551c2

Usage example

  1. Create and connect a platform that manages dialogues. The platform requires information about the agent it serves.

    from dialoguekit.platforms.terminal_platform import TerminalPlatform
    from sample_agents.parrot_agent import ParrotAgent
    
    platform = TerminalPlatform(ParrotAgent)
    
  2. Start conversation

       platform.start()
    

Conventions

We follow the IAI Python Style Guide.
We use UTF-8 encodings that is widely used on Unix systems. Windows users need to use the Python UTF-8 Mode; see here for more details. In practice, we specify the encoding when opening files, as in this example:

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

Contributors

(Alphabetically ordered by last name)

  • Jafar Afzali (2022)
  • Krisztian Balog (2021-present)
  • Nolwenn Bernard (2022-present)
  • Aleksander Drzewiecki (2022)
  • Ivica Kostric (2023)
  • Weronika Lajewska (2023)
  • Shuo Zhang (2021)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dialoguekit-0.0.9.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

dialoguekit-0.0.9-py3-none-any.whl (738.8 kB view details)

Uploaded Python 3

File details

Details for the file dialoguekit-0.0.9.tar.gz.

File metadata

  • Download URL: dialoguekit-0.0.9.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for dialoguekit-0.0.9.tar.gz
Algorithm Hash digest
SHA256 62a3f1e72f210d99f97aec15d799a0e33234405ad0cbf81a96480a2c041fb0d9
MD5 e3600cbb1b79a1ee9445dae8108f48df
BLAKE2b-256 8e7f1ba219a62355d35562f5769c9d778e0533a24311d048cadc4a480453c947

See more details on using hashes here.

File details

Details for the file dialoguekit-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: dialoguekit-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 738.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for dialoguekit-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 23eb3b8335544314b0b79084551578af5783d4a3a88d6ef5683a0c11fb7a198c
MD5 9c96ada91856682e51b68ac32de86f16
BLAKE2b-256 cfba1cbac8d5c73855636c400f83ea744a5306e86eea90a4060a2cde425cb6ce

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page