AI
Endpoint Details
Request
Request Body
{
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Tell me a joke."},
{"role": "assistant", "content": "Why did the chicken cross the road?"}
],
"temperature": 0.7,
}Response
Error Handling
Last updated