spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

Add missing options in for OpenAI/Azure OpenAI and align autoconfiguration styles

Open markpollack opened this issue 1 year ago • 0 comments

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.

markpollack avatar Jan 07 '24 16:01 markpollack