Add SmallestAI Pulse STT and Lightning TTS to pipecat cascade pipeline#174
Open
weiz9 wants to merge 1 commit into
Open
Add SmallestAI Pulse STT and Lightning TTS to pipecat cascade pipeline#174weiz9 wants to merge 1 commit into
weiz9 wants to merge 1 commit into
Conversation
…eline Wires pipecat's SmallestSTTService/SmallestTTSService (pipecat-ai>=1.4.0) into create_stt_service/create_tts_service so the cascade pipeline (STT->LLM->TTS) can use Smallest's Pulse STT and Lightning TTS models, alongside the existing Hydra S2S integration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SmallestSTTService(Pulse) andSmallestTTSService(Lightning v3.1 / v3.1 Pro) intocreate_stt_service/create_tts_service, so the CASCADE pipeline (STT -> LLM -> TTS) can use Smallest as a provider alongside the existing SmallestAI Hydra S2S integration.pipecat-ai>=1.4.0(already the pinned minimum inpyproject.toml).simulation_version(2.0.1 -> 2.0.2) since this touchessrc/eva/assistant/.smallestto the STT/TTS provider enums in.env.example.Test plan
pytest tests/unit/assistant/test_services.py -v— new smallest STT/TTS unit tests pass, including the default-voice-preservation edge case (voice_id omitted -> pipecat's per-model default voice applies).pytest tests/unit -q— full unit suite passes (1846 passed).ruff check/ruff format --checkclean;mypyshows no new errors beyond the pre-existingapi_key: Any | Nonepattern shared by every other provider in this file.EVA_DEBUG=true eva --domain airlinewithstt=smallest(pulse),tts=smallest(lightning_v3.1_pro),llm=gpt-5.4: 3/3 conversations succeeded. Verified valid non-silent 24kHz audio, clean multi-turn transcripts, zero error frames fromSmallestSTTService/SmallestTTSServicein pipecat logs, and reasonable STT WER (~9%).