spring-ai
spring-ai copied to clipboard
Add missing options in for OpenAI/Azure OpenAI and align autoconfiguration styles
The prefix for these properties should be spring.ai.openai.chat
, currently it is spring.ai.openai
OpenAIProperties
has options only for temperature
and is missing options
- frequency_penalty
- logit_bias
- logprobs
- top_logprobs
- max_tokens
- n
- presence_penalty
- response_format
- seed (beta)
- stop
- top_p
- tools
- tool_choice
- user
Also, compare/contrast the autoconfiguration of OpenAI and Azure OpenAI to make sure they following a consistent approach.