Metadata-Version: 2.1
Name: dialoguekit
Version: 0.0.9.dev0
Summary: Toolkit for building conversational information access systems.
Home-page: https://github.com/iai-group/dialoguekit
Author: Jafar Afzali, Krisztian Balog, Nolwenn Bernard,         Aleksander Drzewiecki and Shuo Zhang
Author-email: author@example.com
Project-URL: Bug Tracker, https://github.com/iai-group/dialoguekit/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: rasa >=3.0
Requires-Dist: Flask >=2.3.2
Requires-Dist: flask-socketio >=5.3.3
Requires-Dist: Werkzeug >=2.3.3
Requires-Dist: websockets <11.0

# DialogueKit

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![PyPi version](https://img.shields.io/pypi/v/dialoguekit)](https://pypi.org/project/dialoguekit/)
![Coverage Badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/adrzewiecki/35bb996459f0949b38da651c66cf95cb/raw/coverage.DialogueKit.main.json)
![Tests](https://img.shields.io/github/actions/workflow/status/iai-group/DialogueKit/merge.yaml?label=Tests&branch=main)
![docs](https://img.shields.io/github/actions/workflow/status/iai-group/DialogueKit/build_docs.yaml?label=docs&branch=main)
![Python version](https://img.shields.io/badge/python-3.9-blue)

DialogueKit is a library for conversational information access (CIA). It contains based classes for fundamental [concepts](https://iai-group.github.io/DialogueKit/main/concepts.html), such as dialogue participants, dialogue management, [natural language understanding](https://iai-group.github.io/DialogueKit/main/nlu.html), 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](https://iai-group.github.io/DialogueKit/main/) for details.

## Install as a package

DialogueKit is published to PyPI, install it by running:

```shell
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

```shell
ssh -t git github.com
```

  - pip install

```shell
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.

```shell
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.

   ```python
   from dialoguekit.platforms.terminal_platform import TerminalPlatform
   from sample_agents.parrot_agent import ParrotAgent

   platform = TerminalPlatform(ParrotAgent)
   ```

2. Start conversation

   ```python
      platform.start()
   ```

## Conventions

We follow the [IAI Python Style Guide](https://github.com/iai-group/styleguide/tree/main/python).  
We use `UTF-8` encodings that is widely used on Unix systems. Windows users need to use the `Python UTF-8 Mode`; see [here](https://docs.python.org/3/using/windows.html#utf-8-mode) for more details. In practice, we specify the encoding when opening files, as in this example:

```python
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)
