Skip to content

Document ai.multilingual and qualify voice strings with their engine - #578

Open
hey-august wants to merge 19 commits into
mainfrom
august-20260813-add-multilingual
Open

Document ai.multilingual and qualify voice strings with their engine#578
hey-august wants to merge 19 commits into
mainfrom
august-20260813-add-multilingual

Conversation

@hey-august

Copy link
Copy Markdown
Collaborator

Description

Documents ai.multilingual for SWML.

Additions

  • ai.multilingual reference page, modeled field-by-field against source code. States the mutual exclusivity with regular ai.languages on both pages, plus the ai method (object) page.

Changes

  • Added engine for incorrect "bare form" examples: Per AI voice docs: bare voice names break when the default TTS engine changes to ElevenLabs #577 , while the technical reference and TTS pages were correct, a few stray examples passed voice IDs without engine. These examples would only work if the voice ID string matched the platform default engine, which sometimes changes. Every voice example now names its engine.
  • Removed default engine assertions: Since the platform default TTS engine can change, I removed references to the default. Users who need a specific engine should declare it.
  • Corrected params.languages_enabled: its description previously claimed it enabled multilingualism when it only toggles handling for a languages array.
  • Fixed a broken #providers anchor

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Code cleanup / refactor

Related Issues

#577

Testing

  • Added/updated unit tests
  • Tested manually
  • Tested with live SignalWire credentials (if applicable)

Checklist

  • I have read the CONTRIBUTING guidelines
  • My code follows the project's style guidelines
  • I have added tests for my changes (if applicable)
  • I have updated documentation (if applicable)
  • All existing tests pass

Additional Notes

Two corrections to the originating ticket, both verified against source.

  1. multilingual is an object, not a boolean, which is why this is a full reference page rather than a one-line note.
  2. The new default engine-voice combination (ElevenLabs "Mark") has not landed, so these docs are written to be default-agnostic.

@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

@Devon-White
Devon-White self-requested a review August 14, 2026 12:31
Devon-White
Devon-White previously approved these changes Aug 14, 2026
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