[KongchangAI]
ConceptChat Model

ChatModel

An abstraction layer for chat models in LangChain, used to unify the invocation interfaces of LLMs from different vendors and to express behavioral differences such as streaming generation and interruption. It provides a common surface for sending messages and receiving responses, so that applications can switch between providers while relying on consistent semantics for streaming, tool calls, and related behaviors.

Core Facts

Timeline (last 90 days)

Oct 26

The course defines a ChatModel interface (receives a message list and returns a String) and an Agent interface (containing the scenario name, chat method, trace recording, memory clearing, and other methods), with the first Agent implementation being ChatAgent.

Unverified50%
Sep 11

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.

Unverified60%

All Facts (4)

Source Articles