Unverified50% confidenceFactExact time
messages参数是一个数组,每条消息包含role和content两个字段,常见角色包括system和user
1
Sources
50%
Confidence
Long-term
Relevance
8/21/2026
First Seen
Sources
Related Claims
Unverified多轮对话中System消息设定行为基调和约束,user消息代表用户输入,assistant消息是模型的历史回复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% similarUnverifiedChat Model的输入是一个消息列表,输出是结构化消息对象AIMessage,对应ChatOpenAI、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)