You will need Java 17+, Maven/Gradle, and API keys for AI providers (e.g., an OpenAI API Key).
+-------------------------------------------------------------+ | Spring AI Application | +-------------------------------------------------------------+ | v +-------------------------------------------------------------+ | ChatModel API | +-------------------------------------------------------------+ | +-----------------------+-----------------------+ | | | v v v +--------------+ +---------------+ +---------------+ | OpenAI Chat | | Ollama (Local)| | Anthropic Chat| +--------------+ +---------------+ +---------------+ ChatModel (Formerly ChatClient) spring ai in action pdf github
for recurring GenAI patterns and implementing observability/testing. Official Book Access habuma/spring-ai-in-action-samples - GitHub You will need Java 17+, Maven/Gradle, and API