-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Current Behavior
Currently, it is not possible to set the reasoningEffort
parameter when using AzureOpenAiChatOptions
. This functionality is only available for OpenAiChatOptions
.
Working example with OpenAiChatModel:
OpenAiChatOptions.builder()
.reasoningEffort("low")
.build();
Non-functional example with AzureOpenAiChatModel:
AzureOpenAiChatOptions.builder()
.reasoningEffort("low")
.build();
Expected Behavior
AzureOpenAiChatOptions
should support the reasoningEffort
parameter in the same way that OpenAiChatOptions
does. This would allow users to configure the reasoning effort level when using Azure OpenAI models.
Context
Adding this functionality would enhance spring ai flexibility, enabling Azure enterprise users to utilize OpenAI o1 and o3 models with custom reasoning effort configurations. This is particularly valuable for organizations relying on Azure.
Version: 1.0.0-SNAPSHOT