Some custom models may include extra parameters, so the idea is to define all the common parameters but add and additional attribute that will store all these custom configuration parameters. This will also help with its maintaniablitiy as if new parameters are added we can still use it while the options are not updated.

  • Add "additional" attribute to WatsonxAiChatOptions

Comment From: tzolov

Rebased, squashed and merged at https://github.com/spring-projects/spring-ai/commit/ae6a019ad17fe157346f6dafbdbf9d2713c764eb