Skip to content

Conversation

andresssantos
Copy link
Contributor

Description

  • Adds reasoningEffort field to AzureOpenAiChatOptions builder, copy, equals, hashCode
  • Propagates value to ChatCompletionsOptions

Fixes #2703

* Adds reasoningEffort field to AzureOpenAiChatOptions builder, copy, equals, hashCode
* Propagates value to ChatCompletionsOptions

Fixes spring-projects#2703

Signed-off-by: Andres da Silva Santos <[email protected]>
@@ -16,8 +16,8 @@

package org.springframework.ai.azure.openai;

import com.azure.ai.openai.models.ChatCompletionsJsonSchemaResponseFormat;
import com.azure.ai.openai.models.ChatCompletionsJsonSchemaResponseFormatJsonSchema;
import com.azure.ai.openai.models.*;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid using wildcard imports and instead explicitly import only the required classes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @dev-jonghoonpark! I will avoid using wildcard imports going forward.

@ilayaperumalg
Copy link
Member

@andresssantos Thanks for the PR! Fixed the package import, rebased and merged as fb402a6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support "reasoning_effort" option in AzureOpenAiChatOptions
3 participants