Spring Initializr is the common service behind Spring Boot project-creation frontends, generating a customizable project structure and build configuration from selected metadata, build tools, versions, packaging, and dependencies. section 1.1.1
A typical Spring AI project initialization selects:
- Groovy-based Gradle, JAR packaging, Spring Boot 3.5.5, and Java 24 or Java 17 and higher. section 1.1.1
- Spring Web or Spring Reactive Web together with the Spring AI OpenAI starter. section 1.1.1
- A generated build.gradle file that manages Spring AI dependencies through a bill of materials. section 1.1.1
Initializing a document-loader project
Create a Spring Boot project with the Initializr, then add the Spring Function Catalog file-supplier dependency and its BOM manually because it is not a starter dependency. Configure an available server port and vector-store properties afterward. section 4.3.1
Figure 1.2 Initializing a Spring AI project with the Spring Initializr
Project-generation choices for a Spring AI application. section 1.1.1


