Learn how to use the chat completions endpoint
Generate conversational responses using our AI models.
Generate a chat completion from a conversation
Must be set to application/json
Your API key
The model to use for completion. Defaults to meta-llama/Meta-Llama-3-8B-Instruct-Turbo
Array of messages in the conversation