Skip to content

Feature/add tts - #51

Closed
lgavincrl wants to merge 11 commits into
mainfrom
feature/add-tts
Closed

lgavincrl wants to merge 11 commits into
mainfrom
feature/add-tts

Conversation

@lgavincrl

Copy link
Copy Markdown
Contributor

TTS async client

@lgavincrl
lgavincrl requested a review from dumitrugutu October 21, 2025 14:31
Comment thread sdk/TTS/speechmatics/tts/_models.py Resolved
Comment thread sdk/TTS/README.md
@@ -0,0 +1,274 @@
# Speechmatics Batch API Client

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This README needs rewriting to reflect the TTS client rather than batch

Comment thread 1_nb_async_client_ Resolved
Comment thread .DS_Store Resolved
from speechmatics.tts import AsyncClient

@pytest.mark.asyncio
async def test_async_http():

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! Love to have tests in place. One thing to raise is that the tests will always fail in the pipeline if we don't have an API key (e.g. it's not configured or we're on a fork). We probably want something which first checks we have an API key and then runs the test if we do. We can talk about that offline if you want

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my voice sdk tests, I add in the following at the top (see tests/voice/test_02_transcriber.py):

# Skip for CI testing
pytestmark = pytest.mark.skipif(os.getenv("CI") == "true", reason="Skipping transcriber tests in CI")

Comment thread sdk/TTS/speechmatics/tts/_transport.py Resolved
Comment thread sdk/TTS/speechmatics/tts/_transport.py Resolved
Comment thread sdk/TTS/speechmatics/tts/_transport.py Resolved
Comment thread sdk/TTS/speechmatics/tts/_transport.py Resolved
lgavincrl and others added 7 commits October 22, 2025 10:53
Co-authored-by: Tudor Evans <104087420+TudorCRL@users.noreply.github.com>
Co-authored-by: Tudor Evans <104087420+TudorCRL@users.noreply.github.com>
Co-authored-by: Tudor Evans <104087420+TudorCRL@users.noreply.github.com>
Co-authored-by: Tudor Evans <104087420+TudorCRL@users.noreply.github.com>
Co-authored-by: Tudor Evans <104087420+TudorCRL@users.noreply.github.com>
@TudorCRL TudorCRL closed this Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants