Prompt Formatter
Write a conversation once and see the exact request body each provider expects. The three disagree in ways that are easy to get wrong when porting a prompt between them.
System prompt
Conversation
{
"model": "gpt-4o",
"messages": [
{
"role": "system",
"content": "You are a technical editor."
},
{
"role": "user",
"content": "Analyse the following code block…"
}
]
}OpenAI carries the system prompt as the first entry in messages.