curl -L \
--request POST \
--url '/v1/chat/completions' \
--header 'Content-Type: application/json' \
--data '{
"frequency_penalty": 0,
"max_completion_tokens": 128,
"presence_penalty": 0,
"seed": 882534,
"stream": false,
"temperature": 1,
"top_p": 1,
"parallel_tool_calls": true,
"model": "Llama-3.1 8B",
"reasoning_effort": "medium",
"n": 1,
"service_tier": "default",
"metadata": {},
"stop": [
"text"
],
"modalities": [
"text"
],
"stream_options": {
"include_usage": true
},
"messages": [
{
"content": "text",
"name": "text",
"role": "system"
}
],
"tool_choice": "none",
"tools": [
{
"type": "function",
"function": {
"description": "text",
"name": "text",
"strict": false,
"parameters": {}
}
}
]
}'