Closed adayush closed 1 month ago
Looks like it was an issue with the dependencies not being upgraded with pipecat. Also had to initialise Deepgram like this to make it work:
client = DeepgramSTTService(
api_key=os.getenv("DEEPGRAM_API_KEY"),
live_options=LiveOptions(
model="nova-2",
language=lang_code,
sample_rate=16000,
encoding="linear16",
),
)
Hi,
I was facing issues with Deepgram connection in my project after upgrading from
0.0.41
to0.0.47
so I tried a deepgram example given in the project but still faced the same issue. I also faced the same issue when trying to upgrade to0.0.43
a few weeks back when it was the latest but gave up due to this issue. Please help me fix this, I'm tired of trying to make this work.[Steps I took]
07c-interruptible-deepgram.py
andrunner.py
python 07c-interruptible-deepgram.py
[System] pipecat-ai 0.0.47 deepgram-sdk 3.7.5 MacOS Sonoma 16GB
[Logs] (I had enabled deepgram debug logs so the extra logs are because of that. Hope it would be useful)