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

enhancement of Azure service #493

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

Conversation

badbye
Copy link

@badbye badbye commented Sep 23, 2024

  1. move the create_context_aggregator method to BaseOpenAILLMService, so that AzureLLMService also has this method
  2. auto detect multi-language and play speed in Azure STT

@badbye
Copy link
Author

badbye commented Sep 25, 2024

I suggest merge #496 first, cause it has more params for Azure TTS.

@@ -77,6 +86,7 @@ def __init__(
region: str,
voice="en-US-SaraNeural",
sample_rate: int = 16000,
playback_rate: float = 1.0,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will conflict with: https://github.com/pipecat-ai/pipecat/pull/496/files

Perhaps we should merge that PR, and then add playback_rate?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. #496 already has a rate parameter to control the playback rate. I just removed my implementation.

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