Skip to main content

dTelecom for Pipecat

Use dTelecom streaming speech in a Pipecat pipeline, or join a dTelecom room with the RTC transport. Speech services accept a dTelecom Cloud client or a single-use speech key with a refresh callback.

Install dtelecom-pipecat for speech services. Install dtelecom-pipecat[rtc] to send audio and application messages in a room. Supply the URL, participant token and ranked fallbacks from your backend. Room credentials and speech credentials have different scopes.

Use DTelecomSTTService and DTelecomTTSService from dtelecom_pipecat, or import DTelecomTransport from dtelecom_pipecat.transport. Each component can be used independently. Recognition expects mono PCM and associates transcripts with the input participant. Synthesis produces 48 kHz mono PCM. Service readiness and partial retirement events carry the original service metadata in SpeechSessionFrame.

The room voice agent uses dTelecom for its room, recognition and voice, and OpenRouter for its LLM. Set the dTelecom Cloud variables and the LLM credentials on the server. The example issues the bot's grant and prints the generated room name. Give a browser participant its own grant for that room through your backend. The example uses the provider's final recognition result to propose a turn end. When using Pipecat's own turn strategy, leave propose_turns=False.

To synthesize SSML, pass an entire document to the speech client or use a Pipecat TTS service configured with input_format="ssml" where the upstream processor provides one complete document per request. Optional watermarking requires server support. For translation or file jobs, a Pipecat function or processor can call the same CloudClient used to issue the room grant.

Run the room example

Install the RTC extra and Pipecat's OpenRouter integration in the same environment. Set DTELECOM_CLOUD_URL, DTELECOM_API_KEY, DTELECOM_API_SECRET, and OPENROUTER_API_KEY on your server. Run the following commands from the pipecat/ directory of this checkout. Use the same room name in the agent and your browser grant issuer.

python -m pip install 'dtelecom-pipecat[rtc]' 'pipecat-ai[openrouter]>=1.17,<1.18'
ROOM_NAME=voice-demo python examples/room_agent.py

For a browser client and local grant issuer, use the FastAPI example with DTELECOM_EXAMPLE_ROOM=voice-demo.

Call another Cloud service from a Pipecat tool

An LLM tool can invoke translation on demand. Reuse the call ID as the idempotency key if the operation is retried. Register the handler for the corresponding tool schema in your existing pipeline.

from pipecat.services.llm_service import FunctionCallParams

async def translate(params: FunctionCallParams):
    request = await cloud.translate(
        params.arguments["text"],
        params.arguments["target"],
        idempotency_key=params.tool_call_id,
    )
    await params.result_callback(request.model_dump(mode="json"))

Metadata

Release files for dtelecom-pipecat 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 dtelecom-pipecat 0.1.1
File Size Uploaded Provenance Actions
dtelecom_pipecat-0.1.1.tar.gz 12.9 kB With provenance Details for dtelecom_pipecat-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 25.6 kB

Release files / dtelecom_pipecat-0.1.1.tar.gz

Download URL dtelecom_pipecat-0.1.1.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2000ffcf6562e67f7ef86d267046cb489fee1c4da91d46b2599db40219e5923e
BLAKE2b-256 checksum
How to use checksums
a67f3c34878b4fa2fb55c8064fc2554cd3b0ff36afffae184cdd0b7e2ce00f06
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 28, 2026.

Transparency log

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

Download URL dtelecom_pipecat-0.1.1-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b783ce78b75e5f447fef6e569603450c351393b6b684ec257323b9eb40ab5f6
BLAKE2b-256 checksum
How to use checksums
0dbb8933c9838f93567f43f73cb657bdddecf261e9e5c868f5a3ef7828d07a67
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 28, 2026.

Transparency log

Security for dtelecom-pipecat 0.1.1

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 dtelecom_pipecat-0.1.1.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 28, 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

0.1.1 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