Tagged “Implementation”
5 articles with this tag.
- Spring AI tools, MCP & memoryBuilding agents in Java with Spring AI 2.0: @Tool methods and ToolContext, the tool-calling loop and ToolCallingAdvisor, MCP client and MCP server starters with @McpTool, chat memory with JDBC repositories, human approval, and a complete agent example.
- Spring AI RAGImplementing RAG in Java with Spring AI 2.0: the ETL pipeline (DocumentReader, TokenTextSplitter, metadata enrichers, VectorStore), pgvector configuration, QuestionAnswerAdvisor, modular RetrievalAugmentationAdvisor with query rewriting, metadata and permission filters, and testing.
- Spring AI fundamentalsSpring AI 2.0 explained for Java architects: the portable model abstractions, ChatClient fluent API, prompt templates, streaming, structured output into Java records, the advisor chain, multiple models, and how it maps to the enterprise AI stack.
- Spring AI in productionRunning Spring AI services in production: Micrometer observations and OpenTelemetry tracing, token and cost metrics, evaluation tests with RelevancyEvaluator and FactCheckingEvaluator, Testcontainers, resilience, timeouts, virtual threads, configuration of models via an AI gateway, and a deployment reference.
- Claude API for buildersBuilding product features on Claude: the Messages API, effort and thinking, tool use and the tool runner, structured outputs, prompt caching, streaming, batches, long-running agents (compaction, Agent SDK, Managed Agents), Spring AI, cloud deployment options and production error handling.