Repository navigation
Description
Enhance Speech-to-Text Pipeline with Advanced Deepgram Transcription Features
Summary
The current Speech-to-Text implementation supports core transcription functionality but does not expose several advanced transcription capabilities provided by Deepgram.
This issue tracks the addition of advanced STT features to improve transcript quality, speaker attribution, content moderation, and downstream AI workflows.
Proposed Features
1. Speaker Diarization
Add support for Deepgram's diarization capabilities to identify and separate speakers within a conversation.
Use Cases
- Panel discussions
- Meetings
- Interviews
- Multi-participant conferences
Expected Outcome
- Speaker labels attached to transcript segments
- Improved transcript readability
- Better meeting analytics and summaries
2. Keywords and Keyterms Boosting
Add support for keyword and keyterm boosting parameters.
Use Cases
- Technical conferences
- Industry-specific terminology
- Product names
- Custom vocabulary
Expected Outcome
- Higher recognition accuracy for domain-specific terms
- Reduced transcription errors for proper nouns and jargon
3. Profanity Filtering
Expose Deepgram profanity filtering options.
Use Cases
- Public event captions
- Educational environments
- Enterprise compliance requirements
Expected Outcome
- Optional filtering or masking of profane language
- Configurable moderation controls
4. Transcript Redaction
Add support for transcript redaction features.
Use Cases
- Privacy-sensitive environments
- Compliance requirements
- Customer support recordings
- Healthcare and enterprise workflows
Expected Outcome
- Automatic removal or masking of sensitive information
- Improved privacy compliance
5. Final Transcript Events and Endpointing Controls
Expose transcript finalization and endpointing controls, including:
speech_finalis_final- Endpointing configuration
- Utterance completion events
Use Cases
- Real-time captions
- Live interpretation
- Streaming transcription pipelines
- AI agent integrations
- Real-time analytics
Expected Outcome
- Clear distinction between interim and final transcripts
- Reduced transcript flickering
- Better downstream processing reliability
- More accurate event-driven workflows
6. Future Speech-to-Text Feature Expansion
This issue may also serve as a tracking point for future STT capabilities, including:
- Smart formatting
- Filler word handling
- Utterance detection
- Language detection
- Custom vocabulary management
- Named entity recognition
- Sentiment analysis
- Topic detection
- Summarization integrations
Implementation Notes
- All features should remain optional and configurable.
- Backward compatibility must be preserved.
- API contracts should clearly expose supported provider-specific capabilities.
- Consider introducing a provider capability abstraction layer to support equivalent features across multiple STT providers in the future.
- Feature availability should be validated against provider support before enabling configuration options.
Benefits
- Improved transcription quality
- Better support for enterprise use cases
- Enhanced accessibility workflows
- Stronger privacy and moderation controls
- More robust real-time speech intelligence capabilities
Related Issues
This issue supersedes and consolidates:
- Support query param Keywords and Keyterms #144 Support diarize for panel discussions
- Support profanity_filter #145 Support query param Keywords and Keyterms
- Support redact #146 Support profanity_filter
- speech_final or is_final querry param fro deepgram api #147 Support redact
Additional transcript finalization and endpointing support will also be tracked under this issue.
Activity
[-]Enhancement of speech to text pipeline[/-][+]Future Enhancement of speech to text pipeline[/+]