Rooyai Chat Model
AI-generatedSummary
Provides a Rooyai chat model for n8n AI workflows. Select a model and optionally set the response token limit and sampling temperature; the node connects to Rooyai using its API credential and returns a chat model for downstream AI nodes to invoke.
Inputs
- Model (required) — Choose the Rooyai model that generates completions. The default is gemini-2.5-pro; the available choices are loaded from the Rooyai models API using the configured credential.
- Options — Maximum Number of Tokens (default 4096) limits generated tokens. Sampling Temperature (default 0.7, range 0–1) controls randomness; lower values produce less random, more repetitive output.
- Rooyai API credential (required) — A Rooyai API key is required to initialize the model and make requests.
Output shape
An AI Language Model connection, with no regular item output.
Downstream AI nodes send prompts to Rooyai and receive generated assistant messages, which may include tool calls. The implementation supports non-streaming requests; if the API responds asynchronously, it polls for a result for up to 240 seconds.
