`SpeechCreateParams.Voice` constants do not match the voices lists in the speech synthesis OpenAI API docs
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 1.5k
- Forks
- 264
- Avg merge
- 9h 46m
- Merged PRs (30d)
- 96
Description
I am using the latest library version 4.6.1.
Some of the voices listed at https://platform.openai.com/docs/api-reference/audio/createSpeech#audio-createspeech-voice ("alloy", "ash", "ballad", "coral", "echo", "fable", "onyx", "nova", "sage", "shimmer" and "verse") do not have a corresponding constant in SpeechCreateParams.Voice (https://javadoc.io/doc/com.openai/openai-java/latest/com/openai/models/audio/speech/SpeechCreateParams.Voice.html).
In particular, "fable", "onyx" and "nova" are missing, and the Java library provides constants CEDAR and MARIN that don't appear to match up with supported voices in the speech synthesis API.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review SpeechCreateParams.Voice and compare its constants with the speech synthesis voice list linked in the issue. Check the library version context and confirm which names are missing or unsupported; done means the constants accurately reflect the documented voices.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, kotlin
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100