Verified80% confidenceFactExact time
在大型语言模型的API调用中,消息分为三种角色:system、user和assistant,其中system prompt具有最高优先级。
9
Sources
80%
Confidence
Medium-term (~90 days)
Relevance
7/2/2026
First Seen
Valid until: 9/30/2026
Sources
4 Steps to Simulate the Claude Fable 5 Workflow Using System Prompts
bilibili沐晨AI笔记6/14/2026
Related Claims
Unverified在API调用中系统提示作为独立的message角色(role: system)传入,具有比普通用户消息更高的指令优先级,并贯穿整个对话80% similarUnverifiedLLM交互模型中输入分为系统提示、用户消息和助手回复三个层次,系统提示处于最高优先级并在整个对话中持续生效75% similarUnverifiedAnthropic's Messages API uses a separate 'system' field for system prompts and explicitly distinguishes 'user' and 'assistant' roles in the message body.73% similarUnverified多轮对话中System消息设定行为基调和约束,user消息代表用户输入,assistant消息是模型的历史回复72% similarUnverifiedSystem Prompt具有最高指令优先级,对话框中的内容为User Prompt,AI会优先遵循系统提示词71% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/46268API
curl https://kongchang.com/api/v1/knowledge/claims/46268MCP
get_claim(id=46268)