Overview
This node sends a prompt message to the Dewiar LLM API to generate a response from a selected language model. It supports various models from providers like OpenAI, Anthropic, Google, xAI, DeepSeek, and Dewiar, allowing users to customize parameters such as temperature and maximum tokens. This node is useful for automating text generation tasks, chatbots, content creation, and AI-driven reasoning within n8n workflows.
Use Case Examples
- Generating AI responses to user queries using OpenAI GPT-5 models.
- Using Anthropic Claude models for conversational AI.
- Applying Google Gemini models for advanced text generation.
- Customizing generation parameters like temperature and max tokens for tailored outputs.
Properties
| Name | Meaning |
|---|---|
| Сообщение (Prompt) | The text prompt or query sent to the language model for generating a response. |
| Модель | The specific language model to use for generating the response, selected from multiple providers and versions. |
| Дополнительные параметры | Additional optional parameters to customize the request such as temperature, maximum tokens, and a provider API key for BYOK (Bring Your Own Key). |
Output
JSON
json- The JSON response from the Dewiar LLM API containing the generated text or model output.
Dependencies
- Requires credentials for Dewiar LLM API access, including base URL and authentication token.
Troubleshooting
- If the 'Сообщение (Prompt)' field is empty or contains only whitespace, the node throws an error indicating the prompt cannot be empty. Ensure the prompt text is provided.
- API request failures may occur due to invalid credentials or network issues; verify the Dewiar LLM API credentials and connectivity.
- Incorrect model selection or unsupported parameters might cause errors; ensure the model value matches one of the supported options and parameters are within valid ranges.