Chat & Text
System Prompts & Personas
Shape model behaviour with a system message. Use this to set a persona, constrain output format, or inject context.
JSON-only output
json
{
"provider": "openai",
"model": "gpt-4o-mini",
"messages": [
{
"role": "system",
"content": "You are a data extraction assistant. Always respond with valid JSON only. No prose."
},
{
"role": "user",
"content": "Extract name, email, and company from: Hi, I'm Jane Doe, jane@acme.com, Acme Corp."
}
],
"max_tokens": 128,
"temperature": 0
}Customer support persona
json
{
"provider": "anthropic",
"model": "claude-sonnet-4-6",
"messages": [
{
"role": "system",
"content": "You are Aria, a friendly and knowledgeable support agent for OneInfer. Be concise and helpful. If you don't know the answer, say so and offer to escalate."
},
{
"role": "user",
"content": "My API call keeps returning 401. What should I do?"
}
],
"max_tokens": 256,
"temperature": 0.4
}