Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lmnt synthesizer #677

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

parshvadaftari
Copy link

@parshvadaftari parshvadaftari commented Aug 6, 2024

Description

LMNT TTS synthesizer into Vocode platform for the streaming and not turned-based.

  • This commit finalizes the integration of the LMNT TTS synthesizer, enabling TTS capabilities for streaming conversations on the Vocode platform.
  • Added LMNTSynthesizer class to handle speech synthesis using LMNT API in lmnt_synthesizer.py.
  • Implemented create_speech_uncached and get_chunks methods for handling TTS requests and streaming audio.
  • Updated LMNTSynthesizerConfig in lmnt_synthesizer_config.py to include necessary configurations such as api_key and voice_id.
  • Modified streaming_conversation.py to utilize LMNT synthesizer for streaming conversations.
  • Added default settings for openai_api_key, deepgram_api_key, and lmnt_api_key in Settings class.

Fixes #497 (Issue)

Type of hange

  • New feature - LMNT

How Has This Been Tested?

  • Unit tests

Maintainer Checklist

Twiter Handle - Parshva - https://x.com/parshva_daftari

@parshvadaftari
Copy link
Author

@arpagon @ajar98 Can you please review this PR??

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.

LMNT as New Synthesizer
1 participant