Before we dive into the PDF and GitHub specifics, let's align on the technology. Spring AI is an extension of the Spring ecosystem that provides an abstraction layer for AI models. Think of it as
| Pitfall | How the GitHub Repo Helps | | :--- | :--- | | | Look at application.properties samples. Use spring.ai.openai.api-key=$OPENAI_API_KEY | | Model version mismatches | The repo uses specific, tested versions (e.g., gpt-3.5-turbo ). Stick to those. | | Function calling not working | Check the FunctionCallbackWrapper examples in spring-ai-examples . You must register the function as a Spring bean. | | Vector store connection | The spring-ai-examples includes docker-compose files for Pgvector – run docker-compose up first. | spring ai in action pdf github link
PRs welcome! Add new AI providers, vector store examples, or improve the PDF. Before we dive into the PDF and GitHub
The official companion resources for Spring AI in Action Craig Walls Use spring