ChatClient API: Getting Started with the Spring AI ChatClient
ChatClient API: Getting Started with the Spring AI ChatClient
The ChatClient is the main entry point for interacting with AI models in Spring AI. In this article, we explore its usage through three sub-modules: a simple prompt with token tracking, a REST controller with multi-model streaming, and multimodality support.