Repository navigation
docs(feat): add ElevenLabs speech integration page - #2718
joefernandez wants to merge 7 commits into
Conversation
✅ Deploy Preview for adk-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
joefernandez
left a comment
There was a problem hiding this comment.
Content review report
- Review Score: 96/100
- Overall assessment: 🟡 Medium Risk
- Summary reasoning: This PR adds a new 247-line third-party integration page (
docs/integrations/elevenlabs-speech.md) clearly marked as Experimental, with no legal, security, privacy, pricing, customer, or internal-link risks. The main concern is a minimum ADK Python version conflict (v2.12.0vs.v2.13.0) against the linked cascaded architecture docs, along with two minor wording items on barge-in latency and a hardcoded third-party preset voice name. - Recommended action: Approve with minor changes. Verify and align the minimum ADK Python version with
docs/live/architectures/cascade.md#L4, remove the unqualified "immediately" latency wording, and consider dropping the third-party preset voice display name. - Number of lines changed: M (247)
- Number of files changed: 1
| # ElevenLabs speech integration for ADK | ||
|
|
||
| <div class="language-support-tag"> | ||
| <span class="lst-supported">Supported in ADK</span><span class="lst-python">Python v2.12.0</span><span class="lst-preview">Experimental</span> |
There was a problem hiding this comment.
L0 RISK REVIEW (Medium): This page specifies Python v2.12.0 here and at docs/integrations/elevenlabs-speech.md#L50, whereas the linked cascaded architecture pages at docs/live/architectures/cascade.md#L4 and docs/live/architectures/index.md#L4 state Python v2.13.0 for CascadeLive. Verify which ADK Python release first shipped working CascadeLive and google.adk.integrations.eleven_labs support and align the minimum version (update here and #L50 to v2.13.0 if required, or update cascade.md in a follow-up if v2.12.0 is accurate).
| [ElevenLabs Voice Library](https://elevenlabs.io/app/voice-library) and switch | ||
| synthesis models to balance latency, quality, and language coverage. | ||
| - **Live captions and barge-in**: Emit live partial transcripts while the user | ||
| speaks and cancel in-flight synthesis immediately when the user interrupts the |
There was a problem hiding this comment.
L0 RISK REVIEW (Low): Avoid "immediately" so the page does not imply an unqualified real-time latency guarantee (compare docs/integrations/elevenlabs-speech.md#L174, which states "halts synthesis when canceled on barge-in").
| speaks and cancel in-flight synthesis immediately when the user interrupts the | |
| speaks and cancel in-flight synthesis when the user interrupts the |
|
|
||
| Option | Type | Default | Description | ||
| ------ | ---- | ------- | ----------- | ||
| `voice_id` | `str` | `"JBFqnCBsd6RMkjVDRZzb"` | ElevenLabs voice ID for synthesis, defaulting to the "George" voice. Browse voices in the [ElevenLabs Voice Library](https://elevenlabs.io/app/voice-library). |
There was a problem hiding this comment.
L0 RISK REVIEW (Low): Consider omitting the third-party preset voice display name ("George"), which is not stated in the ADK API docstring (docs/api-reference/python/google-adk.html#L46272), so this table stays accurate if ElevenLabs renames or changes preset voices.
| `voice_id` | `str` | `"JBFqnCBsd6RMkjVDRZzb"` | ElevenLabs voice ID for synthesis, defaulting to the "George" voice. Browse voices in the [ElevenLabs Voice Library](https://elevenlabs.io/app/voice-library). | |
| `voice_id` | `str` | `"JBFqnCBsd6RMkjVDRZzb"` | ElevenLabs voice ID for synthesis. Browse voices in the [ElevenLabs Voice Library](https://elevenlabs.io/app/voice-library). |
Adds the ElevenLabs speech integration page at
docs/integrations/elevenlabs-speech.md, documenting the experimentalElevenLabsSTT(LiveIngress) andElevenLabsTTS(LiveEgress) stream transform adapters for ADK Python cascaded live voice agents.Summary of changes
docs/integrations/elevenlabs-speech.mdwith catalog frontmatter (reusing/integrations/assets/elevenlabs.pngand existingconnectorstag), Python v2.12.0 + Experimental support tag, and experimental callout.pip install "google-adk[elevenlabs]"installation,CascadeLiveagent usage and customization examples,ElevenLabsSTTandElevenLabsTTSconfiguration options, known limitations, and links to cascaded architecture and ElevenLabs resources.google/adk-pythonv2.16.0(introduced inv2.12.0).integration-review, L0 risk, L1 information architecture, L2 technical accuracy, L3 product messaging, and L4 style guide).