Generate completions for a list of messages.
This endpoint uses the language model to generate completions for the provided messages. The generation process can be customized using the generation_config parameter.
The messages list should contain alternating user and assistant messages, with an optional system message at the start. Each message should have a ‘role’ and ‘content’.
List of messages to generate completion for
Configuration for text generation
Successful Response