Skip to main content

Tala

Tala is the Python library and developer toolkit used by the TDM dialogue platform. It provides shared dialogue models, tools for working with dialogue domain descriptions, natural-language generation components, and clients for platform services.

Tala is intended for developers building dialogue applications with TDM or extending components of the platform.

Tala and TDM

TDM (Talkamatic Dialogue Manager) maintains the conversation state and decides how a dialogue proceeds.

A dialogue domain description (DDD) defines the application-specific knowledge and behaviour used by TDM, including questions, actions, dialogue plans, and service interfaces. Tala provides Python representations and supporting tools for these descriptions and for the information exchanged between platform components.

What’s included

  • Dialogue models — Python representations of questions, propositions, actions, plans, and other dialogue concepts.
  • Domain-description tools — Loading, compilation, and validation of DDDs in supported formats.
  • Natural-language generation — Components for producing dialogue utterances.
  • Platform clients and utilities — Integration with dialogue services and the Requestor service for language-model requests.
  • Interaction testing — Utilities for testing dialogue interactions.
  • Interactive command-line client — tala-interact, for communicating with a running dialogue service.

Installation

Tala currently targets Python 3.12. Install it from PyPI:

python -m pip install tala

Tala provides libraries and a client; installing it does not start a TDM dialogue service. Features that communicate with platform services require access to those services and the corresponding configuration.

Interact with a dialogue service

Use tala-interact to connect to an existing dialogue interaction endpoint:

tala-interact "https://your-host/interact/your-id"

To specify a dialogue domain description:

tala-interact "https://your-host/interact/your-id" --ddd my_ddd

Replace the example URL with the endpoint provided by your dialogue-service deployment. The service must be running and accessible from your machine.

Language-model requests

Tala includes GPTRequest, a Python client for the platform’s Requestor service, which handles language-model requests. The client supports OpenAI-compatible response formats, including structured JSON Schema output, and reports completion status and errors for invalid structured responses.

Using this client requires a configured Requestor endpoint and a model deployment available through that service. See the Requestor client guide for configuration and a complete example.

Documentation and support

For bug reports, include the Tala version, relevant platform component versions, and a minimal example where possible.

Metadata

Release files for tala 31.2.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 tala 31.2.2
File Size Uploaded Provenance Actions
tala-31.2.2.tar.gz 376.6 kB With provenance Details for tala-31.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 623.6 kB

Release files / tala-31.2.2.tar.gz

Download URL tala-31.2.2.tar.gz
Size 376.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a5bd62106ce9ada6770369792070af76ce1b58a8ee52f8d33ef1a7e5e2f9e0ce
BLAKE2b-256 checksum
How to use checksums
ce505a0bfd5de8b323c815faaada67d1915354cf21d30f3e233bb35d370efebc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / tala-31.2.2-py3-none-any.whl

Download URL tala-31.2.2-py3-none-any.whl
Size 247.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b14378927b75724f6030dbc5ed886f62d219f860958dfd686063e31b87850b96
BLAKE2b-256 checksum
How to use checksums
285191fbef310eaf2de50c2c0dc26ecdba50cef8da350a572c2331200ea386cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for tala 31.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tala-31.2.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

31.2.2 This release

2 release files Full provenance

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