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.
The Prompt-Based Completion endpoint allows direct interaction with a language model by sending raw prompts or structured message sequences. It provides a simple interface for generating completions, summaries, or other free-form outputs without performing any retrieval or grounding from the document corpus. This endpoint is ideal for open-ended generation tasks such as text drafting, classification, rewriting, summarization, and chat-like conversations that do not require knowledge integration from R2R’s retrieval pipeline.Documentation Index
Fetch the complete documentation index at: https://io.net/docs/llms.txt
Use this file to discover all available pages before exploring further.
messages list representing the conversational context and an optional generation_config object to control model behavior.