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.dev2.tar.gz (716.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dialoguekit-0.0.9.dev2.tar.gz
  • Upload date:
  • Size: 716.5 kB
  • 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.dev2.tar.gz
Algorithm Hash digest
SHA256 923fc1029776a283eda6a56bbd0412aff7165431c95864c9ee57585852790660
MD5 613a90b2389ed9e94aab37b1fe684b97
BLAKE2b-256 8c2267a8aa38edd7771558ae0957a8f26e79f2e3d6215a7926f9c10d7f468dfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dialoguekit-0.0.9.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 76b2fe9853c7581b980681425d3f61d9ac00d5fce447b36d9562b52176dc2afa
MD5 5273fa04400d72dccba318db252d9f89
BLAKE2b-256 46e03d79d7ea8f13b518c89ce33189bffbdb5e3bfa24e11f4b9f0a71a202e7f5

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