Generative artificial intelligence produces text, images, and other content from natural-language prompts. It enables applications to answer questions, follow instructions, summarize documents, classify or moderate content, and generate images. section 1.0 section 1.1
Spring AI connects Spring Boot applications to AI providers and language models through a consistent client abstraction. It handles prompt transmission and response processing instead of requiring application code to manage provider-specific HTTP details. section 1.4 section 1.1
A question-and-answer endpoint
A REST application can accept a question at /ask and return a generated answer. Repeating the same request may produce different responses because generative AI is probabilistic and nondeterministic. section 1.1.4
Figure 1.1 Spring AI coordinates interaction with AI providers and models.
Use the architecture figure to see how Spring AI coordinates application requests with AI providers and models. section 1.1




























