待验证50% 置信事实精确时间
在API调用中系统提示作为独立的message角色(role: system)传入,具有比普通用户消息更高的指令优先级,并贯穿整个对话
1
来源数
50%
置信度
长期有效
时效性
2026/8/13
首次发现
来源
相关事实
已验证在大型语言模型的API调用中,消息分为三种角色:system、user和assistant,其中system prompt具有最高优先级。80% 相似待验证Anthropic's Messages API uses a separate 'system' field for system prompts and explicitly distinguishes 'user' and 'assistant' roles in the message body.78% 相似待验证多轮对话中System消息设定行为基调和约束,user消息代表用户输入,assistant消息是模型的历史回复75% 相似待验证Anthropic 的 Messages API 将 system 消息作为独立的顶层参数传递,而非放在 messages 数组中;工具调用使用 tool_use 和 tool_result content block 类型。74% 相似待验证系统提示词(System Prompt)在每次API调用时都会被放置在messages列表的首位,以role: system标识74% 相似
引用此条事实
Stable URI
https://kongchang.com/claim/741065API
curl https://kongchang.com/api/v1/knowledge/claims/741065MCP
get_claim(id=741065)