Unverified90% confidenceFactTime unknown
Anthropic使用Messages API并引入了独特的system prompt处理方式
1
Sources
90%
Confidence
Long-term
Relevance
6/2/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.78% 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.73% similarUnverifiedAnthropic has formed user preferences for specific scenarios in code generation and long-context tasks.72% similarUnverifiedAnthropic 的 Claude API 要求 system prompt 作为独立顶层字段与 messages 数组并列,不允许混入对话流70% similarUnverifiedAnthropic offers a pay-as-you-go billing method via API Key, charging based on the number of input and output tokens.69% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/37989API
curl https://kongchang.com/api/v1/knowledge/claims/37989MCP
get_claim(id=37989)