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-app[bot] committed Oct 30, 2024
1 parent 8cafc09 commit b8e5d39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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
8 changes: 4 additions & 4 deletions src/resources/chat/completions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ export interface ChatCompletionAudioParam {
format: 'wav' | 'mp3' | 'flac' | 'opus' | 'pcm16';

/**
* Specifies the voice type. Supported voices are `alloy`, `echo`, `fable`, `onyx`,
* `nova`, and `shimmer`.
* The voice the model uses to respond. Supported voices are `alloy`, `ash`,
* `ballad`, `coral`, `echo`, `sage`, `shimmer`, and `verse`.
*/
voice: 'alloy' | 'echo' | 'fable' | 'onyx' | 'nova' | 'shimmer';
voice: 'alloy' | 'ash' | 'ballad' | 'coral' | 'echo' | 'sage' | 'shimmer' | 'verse';
}

/**
Expand Down Expand Up @@ -308,7 +308,7 @@ export interface ChatCompletionChunk {
* contains a null value except for the last chunk which contains the token usage
* statistics for the entire request.
*/
usage?: CompletionsAPI.CompletionUsage;
usage?: CompletionsAPI.CompletionUsage | null;
}

export namespace ChatCompletionChunk {
Expand Down

0 comments on commit b8e5d39

Please sign in to comment.