I have this method correctly working with tools (@Tools) working perfect (Ollama with granite3.3, it has tooling support): String response = ChatClient.create(chatModel).prompt(input).tools(tools).call().content(); The model is set in Spring Boot properties: ollama: base-url: http://localhost:11434 chat: options: model: granite3.3 But I want to select the model per request... following documentation from Spring AI i have tried these 2 ways:...
Originally asked by icordoba on Stack Exchange (stackoverflow) (CC BY-SA 4.0).