Unverified50% confidenceFactExact time
messages参数是一个数组,每条消息包含role和content两个字段,常见角色包括system和user
1
Sources
50%
Confidence
Long-term
Relevance
8/21/2026
First Seen
Sources
Related Claims
UnverifiedIn multi-turn conversations, the System message sets the behavioral tone and constraints, the user message represents user input, and the assistant message is the model's historical replies.74% similarUnverifiedIn API calls, the system prompt is passed in as a distinct message role (role: system), carries higher instruction priority than ordinary user messages, and persists throughout the entire conversation.71% similarUnverifiedAnthropic's Messages API passes the system message as a separate top-level parameter rather than placing it in the messages array; tool calls use the tool_use and tool_result content block types.70% similarVerifiedIn large language model API calls, messages are divided into three roles: system, user, and assistant, with the system prompt having the highest priority.70% similarUnverifiedA Chat Model takes a list of messages as input and outputs a structured message object AIMessage, corresponding to classes such as ChatOpenAI and ChatAnthropic.68% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/783282API
curl https://kongchang.com/api/v1/knowledge/claims/783282MCP
get_claim(id=783282)