使用 Spring AI 1.0.0-SNAPSHOT:重要變更與更新
使用 Spring AI 1.0.0-SNAPSHOT:重要變更與更新
Spring AI 1.0.0-SNAPSHOT 引入了對 artifact ID、依賴管理和自動配置的幾項重要變更。本部落格文章概述了這些變更,並提供瞭如何更新專案的指導。
最顯著的變更是 Spring AI 啟動器 artifact 的命名模式
- 模型啟動器:
spring-ai-{model}-spring-boot-starter→spring-ai-starter-model-{model} - 向量儲存啟動器:
spring-ai-{store}-store-spring-boot-starter→spring-ai-starter-vector-store-{store} - MCP啟動器:
spring-ai-mcp-{type}-spring-boot-starter→spring-ai-starter-mcp-{type}…