Spring AI 1.0.0-SNAPSHOT has undergone significant updates since the previous release, prompting this follow-up article. The core module has been restructured into specialized domain modules like spring-ai-commons, spring-ai-model, spring-ai-vector-store, and spring-ai-client-chat. Several classes have been moved to new packages, including ContentFormatTransformer and Content. The spring-ai-commons module now contains core domain models and utilities. The spring-ai-model module provides AI capability abstractions and function-calling frameworks. Modules like spring-ai-advisors-vector-store and spring-ai-rag build upon these core modules to offer advanced features like Retrieval Augmented Generation. The dependency hierarchy follows a layered approach, with spring-ai-commons at the foundation. Migration involves refactoring imports and replacing direct dependencies on spring-ai-core with the appropriate new modules. These changes aim to create targeted dependencies and a cleaner separation of concerns within Spring AI applications.
spring.io
spring.io
