Skip to content

Commit

Permalink
feat(api): add new, expressive voices for Realtime and Audio in Chat …
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored and RobertCraigie committed Oct 30, 2024
1 parent 0e67a8a commit 7cf0a49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 68
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-b60d5559d5150ecd3b49136064e5e251d832899770ff385b711378389afba370.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-7b0a5d715d94f75ac7795bd4d2175a0e3243af9b935a86c273f371e45583140f.yml
7 changes: 4 additions & 3 deletions src/openai/types/chat/chat_completion_audio_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ class ChatCompletionAudioParam(TypedDict, total=False):
Must be one of `wav`, `mp3`, `flac`, `opus`, or `pcm16`.
"""

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

0 comments on commit 7cf0a49

Please sign in to comment.