feat:【ai 大模型】升级 spring-ai 到 1.0.1、alibaba-ai 到 1.0.0.3
This commit is contained in:
@@ -64,7 +64,7 @@
|
|||||||
<tika-core.version>3.1.0</tika-core.version>
|
<tika-core.version>3.1.0</tika-core.version>
|
||||||
<ip2region.version>2.7.0</ip2region.version>
|
<ip2region.version>2.7.0</ip2region.version>
|
||||||
<bizlog-sdk.version>3.0.6</bizlog-sdk.version>
|
<bizlog-sdk.version>3.0.6</bizlog-sdk.version>
|
||||||
<netty.version>4.1.118.Final</netty.version>
|
<netty.version>4.2.4.Final</netty.version>
|
||||||
<mqtt.version>1.2.5</mqtt.version>
|
<mqtt.version>1.2.5</mqtt.version>
|
||||||
<pf4j-spring.version>0.9.0</pf4j-spring.version>
|
<pf4j-spring.version>0.9.0</pf4j-spring.version>
|
||||||
<vertx.version>4.5.13</vertx.version>
|
<vertx.version>4.5.13</vertx.version>
|
||||||
|
|||||||
@@ -19,8 +19,8 @@
|
|||||||
国外:OpenAI、Ollama、Midjourney、StableDiffusion、Suno
|
国外:OpenAI、Ollama、Midjourney、StableDiffusion、Suno
|
||||||
</description>
|
</description>
|
||||||
<properties>
|
<properties>
|
||||||
<spring-ai.version>1.0.0</spring-ai.version>
|
<spring-ai.version>1.0.1</spring-ai.version>
|
||||||
<alibaba-ai.version>1.0.0.2</alibaba-ai.version>
|
<alibaba-ai.version>1.0.0.3</alibaba-ai.version>
|
||||||
<tinyflow.version>1.0.2</tinyflow.version>
|
<tinyflow.version>1.0.2</tinyflow.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|||||||
@@ -347,7 +347,7 @@ public class AiModelFactoryImpl implements AiModelFactory {
|
|||||||
* 可参考 {@link DashScopeImageAutoConfiguration} 的 dashScopeImageModel 方法
|
* 可参考 {@link DashScopeImageAutoConfiguration} 的 dashScopeImageModel 方法
|
||||||
*/
|
*/
|
||||||
private static DashScopeImageModel buildTongYiImagesModel(String key) {
|
private static DashScopeImageModel buildTongYiImagesModel(String key) {
|
||||||
DashScopeImageApi dashScopeImageApi = new DashScopeImageApi(key);
|
DashScopeImageApi dashScopeImageApi = DashScopeImageApi.builder().apiKey(key).build();
|
||||||
return DashScopeImageModel.builder()
|
return DashScopeImageModel.builder()
|
||||||
.dashScopeApi(dashScopeImageApi)
|
.dashScopeApi(dashScopeImageApi)
|
||||||
.build();
|
.build();
|
||||||
|
|||||||
Reference in New Issue
Block a user