Skip to main content

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)

Metadata

Release files for dialoguekit 0.1.1

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

Source distribution (sdist)

Source distribution for dialoguekit 0.1.1
File Size Uploaded
dialoguekit-0.1.1.tar.gz 1.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for dialoguekit 0.1.1
File Interpreter ABI Platform
dialoguekit-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 2.8 MB

Release files / dialoguekit-0.1.1.tar.gz

Download URL dialoguekit-0.1.1.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
83f429b5d2f27919840816c9d36d36cdda63915fb98693ab38ddca227ea2218a
BLAKE2b-256 checksum
How to use checksums
4ca1efaf4bdf2770312f5cd261a6b71b363918bbc996fdbb7966c47de752e198
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / dialoguekit-0.1.1-py3-none-any.whl

Download URL dialoguekit-0.1.1-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
479ae87bacbeb045646f345297205c3856f6b9771c27bf09b4707c7dddffdb8a
BLAKE2b-256 checksum
How to use checksums
dc24c81190ab87d2e0e8c20b80cb73eb544b094c4254723a5607b608d3ccbcbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13
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