spring-ai
spring-ai copied to clipboard
Support multiple models like DeepSeek and OpenAI at the same time in one application
trafficstars
Expected Behavior
SpringAI could support both DeepSeek and OpenAI configurations at the same time in one application.
Current Behavior
I failed to find a way to support both models at the same time in SpringAI.
Context
For now, the DeepSeek is using the configuration defined by OpenAI, so there is a problem, if I want to integrate DeepSeek, then there's no configuration for OpenAI. Any possibilities that SpringAI can support both models at the same time, in this way, I can dynamically switch the model from OpenAI to DeepSeek per client's request.