Tagged articles

ChatClient

19 articles · Page 1 of 1
Su San Talks Tech
Su San Talks Tech
Jul 8, 2026 · Artificial Intelligence

How to Build a Chat Service with Memory Using Spring AI 2.0

This article walks through integrating Spring AI 2.0 into a Spring Boot project, configuring model access, implementing synchronous and streaming chat endpoints, and adding Redis‑backed conversation memory to enable true multi‑turn interactions with large language models.

Chat MemoryChatClientJava
0 likes · 14 min read
How to Build a Chat Service with Memory Using Spring AI 2.0
java1234
java1234
Jul 5, 2026 · Artificial Intelligence

9 Practical Tips for Efficient Spring AI 2.0 Agent Development

The article shares nine hands‑on tips for building Spring AI 2.0 agents—including using ChatClient as the entry point, delegating tool calls to ToolCallingAdvisor, defining tools with @Tool, crafting effective system prompts, leveraging Advisor chains, streaming responses early, managing conversation memory, limiting tool count, and adding observability—each illustrated with concrete code snippets.

AgentChatClientJava
0 likes · 12 min read
9 Practical Tips for Efficient Spring AI 2.0 Agent Development
Coder Trainee
Coder Trainee
Jun 19, 2026 · Artificial Intelligence

Deep Dive into Spring AI: Advanced ChatClient, Prompt Templates, and Function Calling

This article explores Spring AI's core design patterns, advanced ChatClient usage, dynamic PromptTemplate creation, few‑shot prompting, structured output parsing, and declarative function calling with @Tool annotations, providing code examples, advisor mechanisms, and testing tips for Java developers.

AI IntegrationChatClientJava
0 likes · 13 min read
Deep Dive into Spring AI: Advanced ChatClient, Prompt Templates, and Function Calling
Tech Ocean
Tech Ocean
Jun 10, 2026 · Artificial Intelligence

Spring AI Day 14: Full Knowledge Map and Interview Checklist

This article presents a panoramic knowledge map of Spring AI 2.0, outlines core components, dependency configurations, key APIs for chat, RAG and tool integration, and provides a concise interview Q&A guide to help developers verify their mastery of the framework.

AI ApplicationAdvisorChatClient
0 likes · 9 min read
Spring AI Day 14: Full Knowledge Map and Interview Checklist
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Day 7 of Spring AI Series: How Advisors Form a Filter Chain for AI Applications

This article explains Spring AI Advisors as interceptors that can modify requests and responses in the LLM call chain, demonstrates building a custom logging Advisor with code examples, shows how ordering controls execution, and reviews the built‑in Advisors for memory, RAG, logging, and safety.

AdvisorChatClientJava
0 likes · 5 min read
Day 7 of Spring AI Series: How Advisors Form a Filter Chain for AI Applications
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Spring AI Day 5: Enabling a Multimodal ChatClient to Process Text and Images

This article explains how Spring AI’s Media API lets a ChatClient handle both textual prompts and image inputs, shows code examples for attaching images, discusses required visual models, and outlines practical use cases such as OCR, chart analysis, and image moderation.

AI modelsChatClientJava
0 likes · 5 min read
Spring AI Day 5: Enabling a Multimodal ChatClient to Process Text and Images
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Spring AI Day 3: Eliminating Hard‑Coded Prompts with Templates and Role Settings

The article explains how to move beyond static prompts in Spring AI by using System and User message roles, PromptTemplate placeholders with .param(), defaultSystem configuration for reusable role definitions, and independent PromptTemplate usage, providing concrete code examples for each technique.

ChatClientJavaPromptTemplate
0 likes · 5 min read
Spring AI Day 3: Eliminating Hard‑Coded Prompts with Templates and Role Settings
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Mastering Spring AI ChatClient: call vs. stream for typewriter‑like streaming

This article explains how Spring AI's ChatClient serves as a high‑level façade over ChatModel, compares the synchronous call() method with the streaming stream() method, demonstrates retrieving plain text, full responses, or structured entities, and shows how to override model parameters such as temperature on a per‑request basis.

AI IntegrationChatClientChatModel
0 likes · 7 min read
Mastering Spring AI ChatClient: call vs. stream for typewriter‑like streaming
Tech Ocean
Tech Ocean
Jun 5, 2026 · Artificial Intelligence

Run Your First Spring AI 2.0 Conversation in 5 Minutes

This article introduces Spring AI 2.0, explains why Java developers should adopt it, and walks through setting up a Spring Boot 3.x project with JDK 17, adding the DeepSeek starter, configuring properties, writing a simple ChatController, and running a curl request to see the model’s reply.

AI IntegrationChatClientDeepSeek
0 likes · 9 min read
Run Your First Spring AI 2.0 Conversation in 5 Minutes
Su San Talks Tech
Su San Talks Tech
Apr 20, 2026 · Artificial Intelligence

Master Spring AI: From Hello World to Advanced RAG, Tool Calling, and Agent Development

This step‑by‑step guide shows Java developers how to set up Spring AI, configure various model providers, build basic and streaming chat APIs, enable multi‑turn memory, implement RAG with vector stores, add tool‑calling and multimodal capabilities, integrate MCP, and create sophisticated agents, while comparing ChatModel and ChatClient and outlining strengths, weaknesses, and ideal use cases.

AI IntegrationChatClientJava
0 likes · 17 min read
Master Spring AI: From Hello World to Advanced RAG, Tool Calling, and Agent Development
Senior Xiao Ying
Senior Xiao Ying
Apr 3, 2026 · Artificial Intelligence

Spring AI 1.1 GA: Quick Start Guide for Building Java AI Applications

This article introduces Spring AI, explains its purpose as a standardized Java framework for AI integration, highlights the new Model Context Protocol and expanded model support in version 1.1 GA, and provides a step‑by‑step tutorial—including dependencies, configuration, and code examples—to help developers quickly build AI‑powered applications.

AI IntegrationChatClientJava
0 likes · 7 min read
Spring AI 1.1 GA: Quick Start Guide for Building Java AI Applications
LuTiao Programming
LuTiao Programming
Mar 10, 2026 · Artificial Intelligence

Why Most Java Teams Miss the Quiet AI Revolution Brought by Spring AI

Spring AI eliminates SDK fragmentation, side‑car Python services, and operational complexity by providing a unified AI abstraction layer for Java, enabling seamless model switching, RAG, tool calling, and offering concrete performance data and best‑practice guidance for production use.

AI IntegrationChatClientJava
0 likes · 12 min read
Why Most Java Teams Miss the Quiet AI Revolution Brought by Spring AI
Xike
Xike
Mar 7, 2026 · Artificial Intelligence

Spring AI Hands‑On Introduction: Build AI‑Powered Apps with the Spring Ecosystem

This guide walks you through setting up Spring AI, configuring OpenAI credentials, using ChatClient for basic and advanced interactions, enabling function calling, managing conversation memory, and building real‑world projects such as a smart customer‑service bot, document summarizer, and code assistant, while also comparing Spring AI with LangChain4j and addressing common setup issues.

ChatClientRAGSpring AI
0 likes · 15 min read
Spring AI Hands‑On Introduction: Build AI‑Powered Apps with the Spring Ecosystem
Java Web Project
Java Web Project
Apr 15, 2025 · Backend Development

Transform a Spring Boot CRUD Service into an AI‑Powered MCP Endpoint

This guide walks through converting a traditional Spring Boot book‑management API into a Model Context Protocol (MCP) service that can be invoked via natural‑language prompts, covering dependency setup, proxy configuration, @Tool annotations, MCP server registration, chat client wiring, data initialization, and end‑to‑end testing.

AI IntegrationBackendChatClient
0 likes · 17 min read
Transform a Spring Boot CRUD Service into an AI‑Powered MCP Endpoint