Description
It is not possible to set the "ServiceVersion" configuration property on the AzureOpenAIOptions using a string value. To set this property the only current available option is to use he indexes of the "ServiceVersion" enumerate.
Reproduction steps
1. Go to 'The app settings of the application'.
2. Set the 'ServiceVersion' as a string.
3. Start the aplication.
4. See error:
System.InvalidOperationException: 'Failed to convert configuration value at 'AzureOpenAIOptions:ServiceVersion' to type 'Azure.AI.OpenAI.AzureOpenAIClientOptions+ServiceVersion'.'
Reproduction URL
No response
Screenshots
Logs
Browsers
No response
OS
No response