Comments (2)
You need to create a function for the event to call:
async def on_utterance_end(self, utterance_end, **kwargs):
print(f"Deepgram Utterance End")
then you need to actually hook the function up to the event:
dg_connection.on(LiveTranscriptionEvents.UtteranceEnd, on_utterance_end)
Both are missing in your code sample above.
from deepgram-python-sdk.
Also tried utterance_end_ms=1000
, same issue
from deepgram-python-sdk.
Related Issues (20)
- Could not open socket: SpeechStarted HOT 6
- Diarization + Streaming HOT 1
- Inconsistency latency in real time STT with nova-2-phonecall HOT 3
- WebSocketException in LiveClient.start: timed out Failed to connect to Deepgram
- SpeechStarted gets triggered by background noise HOT 1
- WebSocketException in LiveClient.start: timed out Failed to connect to Deepgram HOT 4
- Rename "OnPrem" to "SelfHosted' HOT 1
- Issue with Prerecorded Local File Transcription on Vercel HOT 5
- Add Documentation for A Contributor Workflow
- Add More Instrumentation for Thread Audit HOT 1
- Wait for Tasks in `_emit` Before Moving On HOT 1
- Implement Grouping of Client Logs
- v3.3.0 needs pyaudio but doesn't specify it as a dependency HOT 8
- Speak TTS WS
- Introduce v1.1 for Speak Clients (REST + WS) HOT 1
- Refactor Similar Code in REST and WS Clients
- httpcore.ReadTimeout: The read operation timed out HOT 3
- Microphone Package/Library Isn't Supported on Windows HOT 5
- websocket send function is not processing subsequent messages HOT 12
- `endpointing` attribute in `LiveOptions` should be a union integer and a generic false. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepgram-python-sdk.