Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7cf0a49

Browse files
stainless-botRobertCraigie
authored andcommittedOct 30, 2024·
feat(api): add new, expressive voices for Realtime and Audio in Chat Completions
https://platform.openai.com/docs/changelog
1 parent 0e67a8a commit 7cf0a49

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 68
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-b60d5559d5150ecd3b49136064e5e251d832899770ff385b711378389afba370.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-7b0a5d715d94f75ac7795bd4d2175a0e3243af9b935a86c273f371e45583140f.yml

‎src/openai/types/chat/chat_completion_audio_param.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ class ChatCompletionAudioParam(TypedDict, total=False):
1414
Must be one of `wav`, `mp3`, `flac`, `opus`, or `pcm16`.
1515
"""
1616

17-
voice: Required[Literal["alloy", "echo", "fable", "onyx", "nova", "shimmer"]]
18-
"""Specifies the voice type.
17+
voice: Required[Literal["alloy", "ash", "ballad", "coral", "echo", "sage", "shimmer", "verse"]]
18+
"""The voice the model uses to respond.
1919
20-
Supported voices are `alloy`, `echo`, `fable`, `onyx`, `nova`, and `shimmer`.
20+
Supported voices are `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`,
21+
`shimmer`, and `verse`.
2122
"""

0 commit comments

Comments
 (0)
Please sign in to comment.