-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
pipecat version
0.0.92
Python version
3.12.10
Operating System
Ubuntu 24.04
Issue description
When passing a keyterm containing a space to the deepgram service, initialization fails at pipeline launch with
DeepgramFluxSTTService#0 initialization error: server rejected WebSocket connection: HTTP 400
Reproduction steps
- Create a pipeline with the stt service as such
stt = DeepgramFluxSTTService(
api_key=os.getenv("DEEPGRAM_API_KEY"),
params=DeepgramFluxSTTService.InputParams(
keyterm=["composed keyterm"]
),
)- Launch the pipeline
Expected behavior
Keyterms containing spaces can be passed as DeepgramFluxService input params, as they are supported by Nova-3.
For context, keyterms containing spaces are currently properly supported by DeepgramSTTService
Actual behavior
DeepgramFluxService fails on initialization when one of the passed keyterms contains a space.
Logs
DeepgramFluxSTTService#0 initialization error: server rejected WebSocket connection: HTTP 400Metadata
Metadata
Assignees
Labels
No labels