Actions2
Overview
This node integrates with StrangeLogic's Large Language Models (LLMs) to generate text or process video content based on user input. It is useful for automating content creation, generating responses to prompts, or analyzing video data. For example, users can input a text prompt to receive AI-generated text responses or provide a video URL for processing and analysis.
Use Case Examples
- Generating creative text responses for chatbots or content generation.
- Processing and analyzing video content by providing a video URL.
Properties
| Name | Meaning |
|---|---|
| Model Name or ID | Selects the LLM model to use for generating text or processing video. |
| Prompt | The text prompt to which the LLM will respond. |
| Temperature | Controls randomness in text generation; higher values produce more random outputs. |
| Max Tokens | Maximum length of the generated text response. |
| Top P | Nucleus sampling parameter controlling token selection breadth. |
| Top K | Limits token selection to the top K tokens. |
| Saftey Settings : Hate Block | Safety filter level for hate speech content (None, Low, Medium, High). |
| Saftey Settings : Harrasment Block | Safety filter level for harassment content (None, Low, Medium, High). |
| Saftey Settings : Sexual Block | Safety filter level for sexual content (None, Low, Medium, High). |
| Saftey Settings : Dangerous Content Block | Safety filter level for dangerous content (None, Low, Medium, High). |
| JSON Response | Whether to receive the response in JSON format instead of plain text. |
Output
JSON
json- The response from the LLM or video processing API, containing generated text or processed video data.
Dependencies
- An API key credential for StrangeLogic AI API
Troubleshooting
- Ensure valid API credentials are provided; missing credentials cause errors.
- Check that the selected model is supported and available from the API.
- If the node fails on a specific item, enable 'Continue On Fail' to handle errors gracefully.
- Verify that the video URL is accessible and correctly formatted when using the video operation.
Links
- n8n Expressions Documentation - Documentation on using expressions in n8n for dynamic parameter values.
