Repository navigation
Server SDK voice guide: align language codes with the SWML reference - #888
Conversation
…ence Replace the hardcoded language code table with the pointer the SWML ai.languages reference uses: codes go to speech recognition, which defaults to Deepgram Nova-3. Drop the unverified 10-language list for `multi` and the claim that hints don't work with it, and say that `multi` keeps one voice, pointing to multilingual configuration for a voice per language. Refs signalwire/docs-legacy#778.
|
@Devon-White Nice cleanup. Pointing at the Nova-3 table the way A few things worth fixing before merge:
Minor: the overview table at the top still describes |
… examples Switch es-MX and fr-FR to es-419 and fr, which are in the Nova-3 table the page points to, across every tab of both examples. Give the multi example a multilingual ElevenLabs voice, and link the overview's code row to the Language codes section.
|
@Manny-r31 Thanks for the review. All four items are handled in 54cb32b; 0c1f84a then merged
I didn't restore the 10-language Checks run
|
Summary
ai.languagesreference uses. The code goes to speech recognition, which defaults to Deepgram Nova-3, so use a code from Deepgram's Nova-3 table; if you pick another engine, use a code it supports. Voice languages stay on the Voices and languages page.multi:multiand the note that speech recognition hints don't work with it.es-419,fr), notes-MXandfr-FR. Themultiexample now uses a multilingual ElevenLabs voice, and the overview table'scoderow links to the Language codes section.The
live_translatehalf of this ticket is in #852. Its language fields now point to speech recognition support, not only the text-to-speech voices page.Closes signalwire/docs-legacy#778.
Notes for reviewers
multilist or "hints don't work withmulti", so both are gone.#language-codes-referenceanchor is renamed to#language-codes. Nothing in the docs linked to it.Verification
yarn fern-md-checkpasses.py_compile. I rendered them withsignalwire-sdk==3.4.1and checked the emitted codes and voices. The TypeScript sample passestsc --strictagainst@signalwire/sdk@2.0.5.#multi-language-supportand#language-codesanchors and theai.languages,ai.multilingual, and Voices and languages links by hand.Preview