Description
Service
OpenAI
Describe the bug
Can anyone kindly advise a way to extend (Azure) OpenAI requests with new (missing) fields, while waiting for library updates?
Example is AudioClient.GenerateSpeechAsync, where SpeechGenerationOptions is missing instructions field.
This field is documented at https://platform.openai.com/docs/guides/text-to-speech (see instructions="Speak in a cheerful and positive tone."), while is not present in C# OpenAI library here: https://github.com/openai/openai-dotnet/blob/main/src/Custom/Audio/SpeechGenerationOptions.cs.
Anything helps!
Side note: Microsoft Azure OpenAI derivative library has a special InternalsVisibleTo Include="Azure.AI.OpenAI"
preference. Should OpenAI reconsider it? If something needs to be visible, why just Microsoft?
Steps to reproduce
Look at provided references to sources
Code snippets
OS
WinOS
.NET version
any
Library version
any