The R2R Completion endpoint generates text completions directly from a language model. It accepts structured messages, supports configurable generation parameters, and enables both streaming and non-streaming responses for flexible AI interaction.
messages list representing the conversational context and an optional generation_config object to control model behavior.