RouterAI Chat Model icon

RouterAI Chat Model

For advanced usage with an AI chain

RouterAI Chat Model

AI-generated

Summary

Initialize a RouterAI Chat Model instance and output it as an ai_languageModel connection for use in AI agents or chains.

Inputs

None.

Output shape

ai_languageModel

The operation provides a Chat Model via the ai_languageModel connection. It has 0 inputs and 1 output named 'Model'.

Examples

Example 1: Use this node with an AI Agent or AI Chain node to provide a configured Chat Model.

Select a model from the dropdown (populated via GET /models from RouterAI credentials). Optionally adjust temperature, topP, presence/frequency penalty, max tokens, response format, timeout, and max retries. The node initializes a langchain ChatOpenAI instance and outputs it for downstream AI nodes.

Discussion