[KongchangAI]
ConceptAI消息 / 模型消息

AIMessage

A message type in LangChain's message role system that carries the text content returned by the model or a tool-calling request.

Timeline (last 90 days)

Nov 5

LangChain's AIMessage only maps standard fields, and unknown fields are usually placed in additional_kwargs or simply discarded, so directly accessing message.reasoning_content will throw an attribute error.

Unverified50%
Oct 17

Short-term memory includes SystemMessage, UserMessage, AIMessage, and ToolMessage, and has three characteristics: it is easily lost, has limited capacity, and can be read directly.

Unverified50%
Oct 14

In LangChain's message model, both AIMessage and AIMessageChunk support the content blocks structure, used to carry richer output forms such as text blocks, tool call blocks, and reasoning blocks, with each block carrying a type and metadata.

Unverified50%

All Facts (3)

Source Articles