Overview
This node, named "Deeplogix AI Chat," allows users to send a text prompt to the Deeplogix AI Chat service and receive an AI-generated response. It is useful for scenarios where conversational AI or natural language generation is needed, such as generating explanations, answering questions, or creating content based on user input.
For example, a user can input a question like "Why is the sky blue?" and select an AI model to generate a detailed answer from the Deeplogix AI platform.
Properties
| Name | Meaning |
|---|---|
| Prompt | The text input or question you want to send to the AI chat service for generating a response. Example: "Why the sky is blue?" |
| Model | The AI model to use for generating the response. Default is "llama3.2:3b". This controls which underlying AI engine processes the prompt. |
Output
The node outputs JSON data with the following structure:
text: A string containing the AI-generated response returned by the Deeplogix AI Chat service.
Example output JSON:
{
"text": "The sky appears blue because molecules in the air scatter blue light from the sun more than they scatter red light."
}
No binary data is produced by this node.
Dependencies
- Requires an API authentication token credential to access the Deeplogix AI Chat endpoint.
- Makes an HTTP POST request to
https://deeplogix.io/dispatcher/n8n/generatewith the prompt and selected model. - The node expects the credential to provide a valid OAuth token for authorization.
Troubleshooting
Common issues:
- Invalid or expired API token may cause authorization errors.
- Network connectivity problems can prevent reaching the Deeplogix endpoint.
- Providing an unsupported model name might result in an error or no meaningful response.
Error messages:
- Authorization failures typically indicate issues with the API token; re-authenticate or update credentials.
- HTTP request failures suggest checking network settings or endpoint availability.
- Unexpected response format may indicate changes in the external API.
Links and References
- Deeplogix AI Chat official documentation (if available)
- n8n HTTP Request node documentation for understanding HTTP calls
- OAuth 2.0 authentication basics for managing API tokens