Small adjustments for multilang services#142
Open
raghavm243512 wants to merge 3 commits into
Open
Conversation
| elif model_lower == "elevenlabs": | ||
| logger.info(f"Using ElevenLabs TTS: {params['model']}") | ||
| if ( | ||
| params["model"] not in ("eleven_multilingual_v2", "eleven_flash_v2_5", "eleven_turbo_v2_5") |
Collaborator
There was a problem hiding this comment.
eleven_multilingual_v2 is multilingual but I think it just doesn't take in the language param
Collaborator
Author
There was a problem hiding this comment.
It gives a warning on connection but does work. This guard is more of "what will allow it" rather than ElevenLabs specifically accepting the parameter or not. Outside of this, the other models would straight up not be compatible with language (except v3 which is not compatible for other reasons)
Co-authored-by: Katrina Stankiewicz <katrina.stankiewicz@servicenow.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Using the enum instead of the string allows pipecat to auto resolve some of the name formats for languages.
Added support for Deepgram Flux Language param
Updated Dockerfile for better iteration (push size goes down to 50mb from 1.2gb when we change the local source)
Update pydantic config to support our airline traveling companion. (One record, a woman calls about her husband, and he needs cultural naming as well from the earlier multilingual PR)