Skip to content

feat: Add Speechmatics speech recognition support - #139

Merged
Barqawiz merged 4 commits into
mainfrom
feat/speechmatics-support
Oct 31, 2025
Merged

feat: Add Speechmatics speech recognition support#139
Barqawiz merged 4 commits into
mainfrom
feat/speechmatics-support

Conversation

@nabeel-bassam

Copy link
Copy Markdown
Collaborator

Add comprehensive Speechmatics integration with both batch and real-time streaming transcription capabilities.

Features:

  • Batch transcription via Speechmatics API
  • Real-time streaming transcription via WebSocket
  • Speaker diarization with configurable sensitivity
  • Automatic audio format conversion (supports MP3, WAV, FLAC, etc.)
  • Multiple output formats (text, speakers, segments)
  • Integration with RemoteRecognitionModel for unified API

Technical Details:

  • New wrapper: intelli/wrappers/speechmatics_wrapper.py (537 lines)
  • Updated RemoteRecognitionModel to support Speechmatics provider
  • Added get_speechmatics_input() to SpeechRecognitionInput
  • Added Speechmatics configuration to config.py
  • Comprehensive test suite with integration and example scripts

Dependencies (optional, via extras):

  • speechmatics-batch
  • speechmatics-rt
  • websockets
  • librosa
  • soundfile
  • numpy

Installation:
pip install intelli[speech]

Configurable via environment variables:

  • SPEECHMATICS_API_KEY (required)
  • SPEECHMATICS_SPEAKER_SENSITIVITY (default: 0.6)
  • SPEECHMATICS_OUTPUT_FORMAT (default: speakers)
  • SPEECHMATICS_OPERATING_POINT (default: ENHANCED)

nabeel-bassam and others added 4 commits October 28, 2025 13:31
Add comprehensive Speechmatics integration with both batch and real-time
streaming transcription capabilities.

Features:
- Batch transcription via Speechmatics API
- Real-time streaming transcription via WebSocket
- Speaker diarization with configurable sensitivity
- Automatic audio format conversion (supports MP3, WAV, FLAC, etc.)
- Multiple output formats (text, speakers, segments)
- Integration with RemoteRecognitionModel for unified API

Technical Details:
- New wrapper: intelli/wrappers/speechmatics_wrapper.py (537 lines)
- Updated RemoteRecognitionModel to support Speechmatics provider
- Added get_speechmatics_input() to SpeechRecognitionInput
- Added Speechmatics configuration to config.py
- Comprehensive test suite with integration and example scripts

Dependencies (optional, via extras):
- speechmatics-batch
- speechmatics-rt
- websockets
- librosa
- soundfile
- numpy

Installation:
  pip install intelli[speech]

Configurable via environment variables:
- SPEECHMATICS_API_KEY (required)
- SPEECHMATICS_SPEAKER_SENSITIVITY (default: 0.6)
- SPEECHMATICS_OUTPUT_FORMAT (default: speakers)
- SPEECHMATICS_OPERATING_POINT (default: ENHANCED)
…atics integration

Added the following packages to the extras_require section:
- speechmatics-batch
- speechmatics-rt
- websockets
- librosa
- soundfile
- numpy
@Barqawiz
Barqawiz merged commit ef922c1 into main Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants