Ferentin Chat Model
AI-generatedSummary
Configures and returns a LangChain ChatOpenAI instance for interactions with the Ferentin API.
Inputs
- model (required) — The model identifier to use (e.g., gpt-4o-mini).
- options — Additional configuration including Base URL, penalties, temperature, max tokens, timeout, and top P.
Output shape
A LangChain ChatOpenAI instance configured with the specified parameters.
The node authenticates using a Ferentin OAuth2 credential. It transforms n8n parameters into the LangChain
ChatOpenAIconstructor options.
Examples
Example 1: Configure a specific model and temperature.
Model: gpt-4o-mini, Temperature: 0.5
Example 2: Set a custom base URL and maximum tokens.
Base URL: https://api.example.com/v1, Max Tokens: 500