Tagged “Java”
5 articles with this tag.
- JVM & .NET frameworksBuilding agents in enterprise stacks: Spring AI agentic patterns, Embabel's goal-oriented action planning (GOAP), LangChain4j AI Services and the agentic module, JetBrains Koog, Google ADK for Java and Microsoft Agent Framework for .NET — with code, a comparison and guidance for Spring shops.
- 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.