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

Support multiple models like DeepSeek and OpenAI at the same time in one application

Open sp213 opened this issue 9 months ago • 10 comments
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.

sp213 avatar Feb 12 '25 03:02 sp213