n8n
Last updated
https://api.scorable.ai/v1/judges/JUDGE_ID/refine/openai/chat/completions{
"model": "gpt-5.2",
"messages": [
{
"role": "system",
"content": "WRITE YOUR OWN SYSTEM PROMPT HERE. Define who your chatbot is, how it should behave, and what kind of answers it should give."
},
{
"role": "user",
"content": "{{$json.body.message}}"
}
]
}{{
{
"reply": $node["HTTP Request"].json["choices"][0]["message"]["content"]
}.toJsonString()
}}