Use the latest AI chat models
Set Authorization header to BYTEZ_KEY
'Authorization: YOUR_BYTEZ_KEY_HERE'
Schema for chat models
Conversation history.
[
{
"role": "system",
"content": "You are a friendly chatbot"
},
{
"role": "assistant",
"content": "Hello, I'm a friendly bot"
},
{
"role": "user",
"content": "Hello bot, what is the capital of England?"
}
]
Enable text streaming.
Model-specific parameters.