Merged
Conversation
72913c2 to
02f1cde
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an ElevenLabs Scribe v2 Realtime speech-to-text integration to the Context Switch service ecosystem, including a small core utility to convert language codes so BCP47 can be used at API boundaries.
Changes:
- Introduces a new
services/elevenlabscrate implementingElevenLabsTranscribevia a realtime WebSocket client. - Adds
core::languagehelpers (BCP47 ↔ ISO 639) and wires them into the ElevenLabs service. - Registers the new service in the main registry and adds an example + documentation/env updates.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/lib.rs | Re-exports ElevenLabsTranscribe from the new service crate. |
| src/context_switch.rs | Registers elevenlabs-transcribe in the service registry. |
| services/elevenlabs/src/transcribe.rs | Implements ElevenLabs realtime transcription service logic and language conversion. |
| services/elevenlabs/src/lib.rs | Exposes the ElevenLabs transcribe module/type. |
| services/elevenlabs/Cargo.toml | Adds the new service crate manifest and dependencies. |
| README.md | Documents ElevenLabs integration and example usage/env var. |
| examples/elevenlabs-transcribe.rs | Adds a runnable example for ElevenLabs realtime transcription. |
| core/src/lib.rs | Exposes the new language module publicly from core. |
| core/src/language.rs | Implements BCP47/ISO639 conversion utilities with unit tests. |
| core/Cargo.toml | Adds dependencies needed for language-tag parsing/conversion. |
| Cargo.toml | Adds the new crate to workspace members and dependencies. |
| .github/copilot-instructions.md | Updates repository Copilot guidance. |
| .env.example | Adds ELEVENLABS_API_KEY template. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clarify: