ChatClient
A client interface in Spring AI for interacting with large models, providing a unified API to adapt to models from different vendors.
Timeline (last 90 days)
The course can be combined with ChatClient to demonstrate streaming dialogue across multimodal scenarios including intelligent conversation, text-to-image, image recognition, text-to-speech, and speech recognition.
More than 90% of the content in Spring AI 2.0 has no fundamental change from 1.0; ChatClient, ChatModel, formatted output, and large model integration methods are all consistent with 1.0.
In Spring AI, streaming output is typically implemented via Flux reactive streams, where ChatClient returns a stream of tokens rather than a complete string.
All Facts (4)
More than 90% of the content in Spring AI 2.0 has no fundamental change from 1.0; ChatClient, ChatModel, formatted output, and large model integration methods are all consistent with 1.0.
60%UnverifiedIn the Spring AI architecture, ChatModel is the underlying abstract interface defining a unified interaction contract with different large model providers; ChatClient is the high-level streaming API for developers, designed using the Builder pattern.
60%UnverifiedThe course can be combined with ChatClient to demonstrate streaming dialogue across multimodal scenarios including intelligent conversation, text-to-image, image recognition, text-to-speech, and speech recognition.
50%UnverifiedIn Spring AI, streaming output is typically implemented via Flux reactive streams, where ChatClient returns a stream of tokens rather than a complete string.
50%