Skip to content

Conversation

@gsharp-aai
Copy link
Contributor

Summary

Adds SDK examples (Python SDK and JavaScript SDK) to multilingual streaming documentation and updates all code examples with enhanced logging to demonstrate real-time transcript progression and language detection.

Changes

  • New SDK Examples: Added Python SDK and JavaScript SDK tabs with complete multilingual streaming implementations
  • Enhanced Logging: All examples now log partial transcripts, utterances, and language detection results with clear labels
  • Bug Fixes:
    • Updated Python example to use additional_headers (websockets v13.0+ compatibility)
    • Fixed JavaScript SDK to use correct snake_case field names (turn.end_of_turn, turn.language_code, etc.)
    • Updated extra_headers to additional_headers across multiple documentation files
  • Improvements: Added installation instructions, dependency notes, and checks to avoid duplicate/empty logging

Notes

  • Python SDK example includes utterance logging, but the SDK needs to be updated to properly expose the utterance field on TurnEvent objects

@github-actions
Copy link

@github-actions
Copy link

@gsharp-aai gsharp-aai requested a review from MAsuamah December 24, 2025 18:49
@LeeVaughn LeeVaughn merged commit c5cb4e3 into main Dec 25, 2025
2 of 4 checks passed
@LeeVaughn LeeVaughn deleted the gsharp/multilingual-doc-updates branch December 25, 2025 00:24
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.

3 participants