Merge pull request #1518 from pipecat-ai/mb/openai-verse

Add verse voice and bump the OpenAI version
This commit is contained in:
Mark Backman
2025-04-03 09:48:09 -04:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ dependencies = [
"pyloudnorm~=0.1.1",
"resampy~=0.4.3",
"soxr~=0.5.0",
"openai~=1.67.0"
"openai~=1.70.0"
]
[project.urls]

View File

@@ -20,7 +20,7 @@ from pipecat.frames.frames import (
from pipecat.services.tts_service import TTSService
ValidVoice = Literal[
"alloy", "ash", "ballad", "coral", "echo", "fable", "onyx", "nova", "sage", "shimmer"
"alloy", "ash", "ballad", "coral", "echo", "fable", "onyx", "nova", "sage", "shimmer", "verse"
]
VALID_VOICES: Dict[str, ValidVoice] = {
@@ -34,6 +34,7 @@ VALID_VOICES: Dict[str, ValidVoice] = {
"nova": "nova",
"sage": "sage",
"shimmer": "shimmer",
"verse": "verse",
}