Unverified60% confidenceFactTime unknown
Anthropic Claude 将 system 字段独立于 messages 之外作为顶层参数传入,而 OpenAI 将系统提示作为 messages 数组中 role=system 的一条消息
2
Sources
60%
Confidence
Long-term
Relevance
6/1/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedAnthropic's Messages API uses a separate 'system' field for system prompts and explicitly distinguishes 'user' and 'assistant' roles in the message body.72% similarUnverifiedAnthropic 的 Claude API 要求 system prompt 作为独立顶层字段与 messages 数组并列,不允许混入对话流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.67% 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.67% similarUnverifiedSystem prompts are a layer of instructions preset by vendors and invisible to users, injected into the model context before the user's conversation begins, used to shape the model's behavioral boundaries, response style, and safety policies.66% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/30402API
curl https://kongchang.com/api/v1/knowledge/claims/30402MCP
get_claim(id=30402)