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.

Streaming pronunciation replacements

The SSE and MQTT clients can replace configured spellings in streamed text for TTS pronunciation. This compatibility feature is enabled by default. Set PRONUNCIATION_REPLACEMENTS_ENABLED=false in a service's environment to disable replacements and their word-boundary buffering. The setting is read when each stream session opens. When the selected replacement model is empty, chunks are passed through without word-boundary lookahead automatically. A non-empty model still uses replacement buffering, even for utterances that do not match one of its entries.

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.8.0

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.8.0
File Size Uploaded Provenance Actions
tala-31.8.0.tar.gz 419.3 kB With provenance Details for tala-31.8.0.tar.gz

Built distribution (wheel)

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

Total release size: 679.3 kB

Release files / tala-31.8.0.tar.gz

Download URL tala-31.8.0.tar.gz
Size 419.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1607b5e79d620bf62964ee0b4f6dcd371d2f0171e8f7034bde9b6ab93645ab0c
BLAKE2b-256 checksum
How to use checksums
8c3cfd928c4f572fabd39b656947dffc46769056192860352ccc041b6869c609
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 17, 2026.

Transparency log

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

Download URL tala-31.8.0-py3-none-any.whl
Size 260.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ece962d891a9d271f61a91e25929d5fb1afcd2b9e873f305dbf447bf3c3270b
BLAKE2b-256 checksum
How to use checksums
0883a93ec4284e20e83c5426447b1e13d2445d764350b8dff8ba326ff4050a8e
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 17, 2026.

Transparency log

Security for tala 31.8.0

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.8.0.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 17, 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.8.0 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