@wiro-ai/n8n-nodes-wiroai 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +21 -0
- package/README.md +188 -0
- package/dist/credentials/WiroApi.credentials.d.ts +7 -0
- package/dist/credentials/WiroApi.credentials.js +32 -0
- package/dist/credentials/WiroApi.credentials.js.map +1 -0
- package/dist/nodes/WiroAI/AskAiChatbot/AskAiChatbot.node.d.ts +5 -0
- package/dist/nodes/WiroAI/AskAiChatbot/AskAiChatbot.node.js +298 -0
- package/dist/nodes/WiroAI/AskAiChatbot/AskAiChatbot.node.js.map +1 -0
- package/dist/nodes/WiroAI/AskAiChatbot/AskAiChatbot.node.json +33 -0
- package/dist/nodes/WiroAI/AskAiChatbot/wiro.svg +7 -0
- package/dist/nodes/WiroAI/CvEvaluatorJobdesc/CvEvaluatorJobdesc.node.d.ts +5 -0
- package/dist/nodes/WiroAI/CvEvaluatorJobdesc/CvEvaluatorJobdesc.node.js +114 -0
- package/dist/nodes/WiroAI/CvEvaluatorJobdesc/CvEvaluatorJobdesc.node.js.map +1 -0
- package/dist/nodes/WiroAI/CvEvaluatorJobdesc/CvEvaluatorJobdesc.node.json +32 -0
- package/dist/nodes/WiroAI/CvEvaluatorJobdesc/wiro.svg +7 -0
- package/dist/nodes/WiroAI/EasyOcr/EasyOcr.node.d.ts +5 -0
- package/dist/nodes/WiroAI/EasyOcr/EasyOcr.node.js +120 -0
- package/dist/nodes/WiroAI/EasyOcr/EasyOcr.node.js.map +1 -0
- package/dist/nodes/WiroAI/EasyOcr/EasyOcr.node.json +31 -0
- package/dist/nodes/WiroAI/EasyOcr/wiro.svg +7 -0
- package/dist/nodes/WiroAI/FluxKontextMax/FluxKontextMax.node.d.ts +5 -0
- package/dist/nodes/WiroAI/FluxKontextMax/FluxKontextMax.node.js +162 -0
- package/dist/nodes/WiroAI/FluxKontextMax/FluxKontextMax.node.js.map +1 -0
- package/dist/nodes/WiroAI/FluxKontextMax/FluxKontextMax.node.json +34 -0
- package/dist/nodes/WiroAI/FluxKontextMax/wiro.svg +7 -0
- package/dist/nodes/WiroAI/FluxKontextPro/FluxKontextPro.node.d.ts +5 -0
- package/dist/nodes/WiroAI/FluxKontextPro/FluxKontextPro.node.js +162 -0
- package/dist/nodes/WiroAI/FluxKontextPro/FluxKontextPro.node.js.map +1 -0
- package/dist/nodes/WiroAI/FluxKontextPro/FluxKontextPro.node.json +34 -0
- package/dist/nodes/WiroAI/FluxKontextPro/wiro.svg +7 -0
- package/dist/nodes/WiroAI/GenerateBackgroundMusic/GenerateBackgroundMusic.node.d.ts +5 -0
- package/dist/nodes/WiroAI/GenerateBackgroundMusic/GenerateBackgroundMusic.node.js +111 -0
- package/dist/nodes/WiroAI/GenerateBackgroundMusic/GenerateBackgroundMusic.node.js.map +1 -0
- package/dist/nodes/WiroAI/GenerateBackgroundMusic/GenerateBackgroundMusic.node.json +30 -0
- package/dist/nodes/WiroAI/GenerateBackgroundMusic/wiro.svg +7 -0
- package/dist/nodes/WiroAI/GenerateSpeechTts/GenerateSpeechTts.node.d.ts +5 -0
- package/dist/nodes/WiroAI/GenerateSpeechTts/GenerateSpeechTts.node.js +127 -0
- package/dist/nodes/WiroAI/GenerateSpeechTts/GenerateSpeechTts.node.js.map +1 -0
- package/dist/nodes/WiroAI/GenerateSpeechTts/GenerateSpeechTts.node.json +30 -0
- package/dist/nodes/WiroAI/GenerateSpeechTts/wiro.svg +7 -0
- package/dist/nodes/WiroAI/ImageToVideoKling16/ImageToVideoKling16.node.d.ts +5 -0
- package/dist/nodes/WiroAI/ImageToVideoKling16/ImageToVideoKling16.node.js +148 -0
- package/dist/nodes/WiroAI/ImageToVideoKling16/ImageToVideoKling16.node.js.map +1 -0
- package/dist/nodes/WiroAI/ImageToVideoKling16/ImageToVideoKling16.node.json +30 -0
- package/dist/nodes/WiroAI/ImageToVideoKling16/wiro.svg +7 -0
- package/dist/nodes/WiroAI/InteriorDesignGenerator/InteriorDesignGenerator.node.d.ts +5 -0
- package/dist/nodes/WiroAI/InteriorDesignGenerator/InteriorDesignGenerator.node.js +173 -0
- package/dist/nodes/WiroAI/InteriorDesignGenerator/InteriorDesignGenerator.node.js.map +1 -0
- package/dist/nodes/WiroAI/InteriorDesignGenerator/InteriorDesignGenerator.node.json +31 -0
- package/dist/nodes/WiroAI/InteriorDesignGenerator/wiro.svg +7 -0
- package/dist/nodes/WiroAI/MobileWallpaperGenerator/MobileWallpaperGenerator.node.d.ts +5 -0
- package/dist/nodes/WiroAI/MobileWallpaperGenerator/MobileWallpaperGenerator.node.js +160 -0
- package/dist/nodes/WiroAI/MobileWallpaperGenerator/MobileWallpaperGenerator.node.js.map +1 -0
- package/dist/nodes/WiroAI/MobileWallpaperGenerator/MobileWallpaperGenerator.node.json +38 -0
- package/dist/nodes/WiroAI/MobileWallpaperGenerator/wiro.svg +7 -0
- package/dist/nodes/WiroAI/RagChatYoutube/RagChatYoutube.node.d.ts +5 -0
- package/dist/nodes/WiroAI/RagChatYoutube/RagChatYoutube.node.js +288 -0
- package/dist/nodes/WiroAI/RagChatYoutube/RagChatYoutube.node.js.map +1 -0
- package/dist/nodes/WiroAI/RagChatYoutube/RagChatYoutube.node.json +34 -0
- package/dist/nodes/WiroAI/RagChatYoutube/wiro.svg +7 -0
- package/dist/nodes/WiroAI/RemoveImageBackground/RemoveImageBackground.node.d.ts +5 -0
- package/dist/nodes/WiroAI/RemoveImageBackground/RemoveImageBackground.node.js +91 -0
- package/dist/nodes/WiroAI/RemoveImageBackground/RemoveImageBackground.node.js.map +1 -0
- package/dist/nodes/WiroAI/RemoveImageBackground/RemoveImageBackground.node.json +31 -0
- package/dist/nodes/WiroAI/RemoveImageBackground/wiro.svg +7 -0
- package/dist/nodes/WiroAI/RestoreUpscaleImage/RestoreUpscaleImage.node.d.ts +5 -0
- package/dist/nodes/WiroAI/RestoreUpscaleImage/RestoreUpscaleImage.node.js +111 -0
- package/dist/nodes/WiroAI/RestoreUpscaleImage/RestoreUpscaleImage.node.js.map +1 -0
- package/dist/nodes/WiroAI/RestoreUpscaleImage/RestoreUpscaleImage.node.json +30 -0
- package/dist/nodes/WiroAI/RestoreUpscaleImage/wiro.svg +7 -0
- package/dist/nodes/WiroAI/ShortsReelsVideoGenerator/ShortsReelsVideoGenerator.node.d.ts +5 -0
- package/dist/nodes/WiroAI/ShortsReelsVideoGenerator/ShortsReelsVideoGenerator.node.js +306 -0
- package/dist/nodes/WiroAI/ShortsReelsVideoGenerator/ShortsReelsVideoGenerator.node.js.map +1 -0
- package/dist/nodes/WiroAI/ShortsReelsVideoGenerator/ShortsReelsVideoGenerator.node.json +32 -0
- package/dist/nodes/WiroAI/ShortsReelsVideoGenerator/wiro.svg +7 -0
- package/dist/nodes/WiroAI/TextToImage/TextToImage.node.d.ts +5 -0
- package/dist/nodes/WiroAI/TextToImage/TextToImage.node.js +162 -0
- package/dist/nodes/WiroAI/TextToImage/TextToImage.node.js.map +1 -0
- package/dist/nodes/WiroAI/TextToImage/TextToImage.node.json +32 -0
- package/dist/nodes/WiroAI/TextToImage/wiro.svg +7 -0
- package/dist/nodes/WiroAI/TextToVideoKling16/TextToVideoKling16.node.d.ts +5 -0
- package/dist/nodes/WiroAI/TextToVideoKling16/TextToVideoKling16.node.js +137 -0
- package/dist/nodes/WiroAI/TextToVideoKling16/TextToVideoKling16.node.js.map +1 -0
- package/dist/nodes/WiroAI/TextToVideoKling16/TextToVideoKling16.node.json +32 -0
- package/dist/nodes/WiroAI/TextToVideoKling16/wiro.svg +7 -0
- package/dist/nodes/WiroAI/TextToVideoWan21/TextToVideoWan21.node.d.ts +5 -0
- package/dist/nodes/WiroAI/TextToVideoWan21/TextToVideoWan21.node.js +169 -0
- package/dist/nodes/WiroAI/TextToVideoWan21/TextToVideoWan21.node.js.map +1 -0
- package/dist/nodes/WiroAI/TextToVideoWan21/TextToVideoWan21.node.json +33 -0
- package/dist/nodes/WiroAI/TextToVideoWan21/wiro.svg +7 -0
- package/dist/nodes/WiroAI/VideoBgMusicGenerator/VideoBgMusicGenerator.node.d.ts +5 -0
- package/dist/nodes/WiroAI/VideoBgMusicGenerator/VideoBgMusicGenerator.node.js +118 -0
- package/dist/nodes/WiroAI/VideoBgMusicGenerator/VideoBgMusicGenerator.node.js.map +1 -0
- package/dist/nodes/WiroAI/VideoBgMusicGenerator/VideoBgMusicGenerator.node.json +32 -0
- package/dist/nodes/WiroAI/VideoBgMusicGenerator/wiro.svg +7 -0
- package/dist/nodes/WiroAI/utils/auth.d.ts +5 -0
- package/dist/nodes/WiroAI/utils/auth.js +48 -0
- package/dist/nodes/WiroAI/utils/auth.js.map +1 -0
- package/dist/nodes/WiroAI/utils/polling.d.ts +6 -0
- package/dist/nodes/WiroAI/utils/polling.js +59 -0
- package/dist/nodes/WiroAI/utils/polling.js.map +1 -0
- package/dist/package.json +115 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +115 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 WiroAI
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
<img src="http://wiro.ai/images/logos/logo/logo.png" alt="Wiro Logo" width="200"/>
|
|
2
|
+
|
|
3
|
+
# n8n-nodes-wiroai
|
|
4
|
+
|
|
5
|
+
A [n8n](https://n8n.io) community node pack that gives you access to [Wiro AI](https://wiro.ai)’s powerful generative tools directly in your workflows.
|
|
6
|
+
|
|
7
|
+
<img src="https://wiro.ai/images/illustrations/koala-404.png" alt="Wiro Koala" width="50"/>
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## ✨ Features
|
|
12
|
+
|
|
13
|
+
- 🗣️ Text-to-Speech
|
|
14
|
+
- 🎵 Background Music Generator
|
|
15
|
+
- 🧠 Chatbot (with and without RAG)
|
|
16
|
+
- 🖼️ Text-to-Image
|
|
17
|
+
- 🎞️ Text-to-Video
|
|
18
|
+
- 🧼 Remove Background
|
|
19
|
+
- 🛋️ Interior Design Reimagining
|
|
20
|
+
- 🎥 Image-to-Video (KlingAI)
|
|
21
|
+
- 📄 OCR (Text from Image)
|
|
22
|
+
- 📈 Resume/CV Evaluator with Job Description
|
|
23
|
+
- 🖌️ Image Restoration and Upscaling
|
|
24
|
+
- 📱 4K Mobile Wallpaper Generator
|
|
25
|
+
- 🎬 Shorts / Reels Generator
|
|
26
|
+
- 📹 Add Background Music to Video
|
|
27
|
+
- 🌀 Flux Kontext Pro / Max image stylizers
|
|
28
|
+
|
|
29
|
+
Each tool is implemented as a **separate node** for modular and easy use.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 📦 Installation
|
|
34
|
+
|
|
35
|
+
Follow the [n8n community nodes guide](https://docs.n8n.io/integrations/community-nodes/installation/) to install this package.
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npm install n8n-nodes-wiroai
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## 🛠 Operations
|
|
44
|
+
|
|
45
|
+
| Node | Description |
|
|
46
|
+
| --------------------------- | -------------------------------------------------- |
|
|
47
|
+
| `AskAiChatbot` | General-purpose chat assistant powered by LLMs |
|
|
48
|
+
| `CvEvaluatorJobdesc` | Evaluate resumes/CVs against job descriptions |
|
|
49
|
+
| `EasyOcr` | Extract text from images using OCR |
|
|
50
|
+
| `FluxKontextPro` | Apply stylized prompts to input images |
|
|
51
|
+
| `FluxKontextMax` | Clean and enhance product-style visuals |
|
|
52
|
+
| `GenerateBackgroundMusic` | Generate background audio from prompts |
|
|
53
|
+
| `GenerateSpeechTTS` | Convert text to audio using speech synthesis |
|
|
54
|
+
| `ImageToVideoKling16` | Animate image pairs into video using KlingAI |
|
|
55
|
+
| `InteriorDesignGenerator` | Reimagine interior spaces with descriptive prompts |
|
|
56
|
+
| `MobileWallpaperGenerator` | Generate 4K mobile phone wallpapers |
|
|
57
|
+
| `RagChatYoutube` | Ask questions to YouTube videos using RAG + LLM |
|
|
58
|
+
| `RemoveImageBackground` | Strip background from uploaded images |
|
|
59
|
+
| `RestoreUpscaleImage` | Restore and upscale low-quality images |
|
|
60
|
+
| `ShortsReelsVideoGenerator` | Generate vertical videos for Shorts/Reels |
|
|
61
|
+
| `TextToImage` | Convert descriptive text to images |
|
|
62
|
+
| `TextToVideoKling16` | Convert text to video using KlingAI engine |
|
|
63
|
+
| `TextToVideoWan21` | Generate video from text via WAN2.1 |
|
|
64
|
+
| `VideoBgMusicGenerator` | Automatically compose music for your videos |
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## 🔐 Credentials
|
|
69
|
+
|
|
70
|
+
You’ll need a Wiro API Key and Secret.
|
|
71
|
+
|
|
72
|
+
**Steps:**
|
|
73
|
+
|
|
74
|
+
1. Go to [wiro.ai](https://wiro.ai) and sign up
|
|
75
|
+
2. [wiro.ai/panel/project/](https://wiro.ai/panel/project/) Create a project and get your API credentials
|
|
76
|
+
3. In n8n → Credentials → Add new → **Wiro API**
|
|
77
|
+
4. Enter your key and secret values
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## 🚀 Usage Example
|
|
82
|
+
|
|
83
|
+
To use the Text-to-Speech node:
|
|
84
|
+
|
|
85
|
+
1. Add the `Generate Speech` node
|
|
86
|
+
2. Set:
|
|
87
|
+
- Prompt: `Hello world!`
|
|
88
|
+
- Voice: `af_heart`
|
|
89
|
+
- Language: `a` (American English)
|
|
90
|
+
3. Run the workflow
|
|
91
|
+
|
|
92
|
+
**Output:**
|
|
93
|
+
|
|
94
|
+
```json
|
|
95
|
+
{
|
|
96
|
+
"taskid": "abc123",
|
|
97
|
+
"status": "completed",
|
|
98
|
+
"url": "https://cdn1.wiro.ai/xyz/0.mp3"
|
|
99
|
+
}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## 🧠 Compatibility
|
|
105
|
+
|
|
106
|
+
- Requires: `n8n v1.0+`
|
|
107
|
+
- Node.js: `v18+`
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## 📁 Folder Structure
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
nodes/WiroAI/
|
|
115
|
+
├── AskAiChatbot/
|
|
116
|
+
├── AskAiChatbot.nodes.ts
|
|
117
|
+
└── AskAiChatbot.nodes.json
|
|
118
|
+
├── CvEvaluatorJobdesc/
|
|
119
|
+
├── CvEvaluatorJobdesc.nodes.ts
|
|
120
|
+
└── CvEvaluatorJobdesc.nodes.json
|
|
121
|
+
├── EasyOcr/
|
|
122
|
+
├── EasyOcr.nodes.ts
|
|
123
|
+
└── EasyOcr.nodes.json
|
|
124
|
+
├── FluxKontextMax/
|
|
125
|
+
├── FluxKontextMax.nodes.ts
|
|
126
|
+
└── FluxKontextMax.nodes.json
|
|
127
|
+
├── FluxKontextPro/
|
|
128
|
+
├── FluxKontextPro.nodes.ts
|
|
129
|
+
└── FluxKontextPro.nodes.json
|
|
130
|
+
├── GenerateBackgroundMusic/
|
|
131
|
+
├── GenerateBackgroundMusic.nodes.ts
|
|
132
|
+
└── GenerateBackgroundMusic.nodes.json
|
|
133
|
+
├── GenerateSpeechTTS/
|
|
134
|
+
├── GenerateSpeechTTS.nodes.ts
|
|
135
|
+
└── GenerateSpeechTTS.nodes.json
|
|
136
|
+
├── ImageToVideoKling16/
|
|
137
|
+
├── ImageToVideoKling16.nodes.ts
|
|
138
|
+
└── ImageToVideoKling16.nodes.json
|
|
139
|
+
├── InteriorDesignGenerator/
|
|
140
|
+
├── InteriorDesignGenerator.nodes.ts
|
|
141
|
+
└── InteriorDesignGenerator.nodes.json
|
|
142
|
+
├── MobileWallpaperGenerator/
|
|
143
|
+
├── MobileWallpaperGenerator.nodes.ts
|
|
144
|
+
└── MobileWallpaperGenerator.nodes.json
|
|
145
|
+
├── RagChatYoutube/
|
|
146
|
+
├── RagChatYoutube.nodes.ts
|
|
147
|
+
└── RagChatYoutube.nodes.json
|
|
148
|
+
├── RemoveImageBackground/
|
|
149
|
+
├── RemoveImageBackground.nodes.ts
|
|
150
|
+
└── RemoveImageBackground.nodes.json
|
|
151
|
+
├── RestoreUpscaleImage/
|
|
152
|
+
├── RestoreUpscaleImage.nodes.ts
|
|
153
|
+
└── RestoreUpscaleImage.nodes.json
|
|
154
|
+
├── ShortsReelsVideoGenerator/
|
|
155
|
+
├── ShortsReelsVideoGenerator.nodes.ts
|
|
156
|
+
└── ShortsReelsVideoGenerator.nodes.json
|
|
157
|
+
├── TextToImage/
|
|
158
|
+
├── TextToImage.nodes.ts
|
|
159
|
+
└── TextToImage.nodes.json
|
|
160
|
+
├── TextToVideoKling16/
|
|
161
|
+
├── TextToVideoKling16.nodes.ts
|
|
162
|
+
└── TextToVideoKling16.nodes.json
|
|
163
|
+
├── TextToVideoWan21/
|
|
164
|
+
├── TextToVideoWan21.nodes.ts
|
|
165
|
+
└── TextToVideoWan21.nodes.json
|
|
166
|
+
├── VideoBgMusicGenerator/
|
|
167
|
+
├── VideoBgMusicGenerator.nodes.ts
|
|
168
|
+
└── VideoBgMusicGenerator.nodes.json
|
|
169
|
+
└── utils/
|
|
170
|
+
├── auth.ts
|
|
171
|
+
└── polling.ts
|
|
172
|
+
credentials/
|
|
173
|
+
└── WiroApi.credentials.ts
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
## 📚 Resources
|
|
179
|
+
|
|
180
|
+
- [Wiro API Docs](https://wiro.ai/docs)
|
|
181
|
+
- [n8n Custom Node Docs](https://docs.n8n.io/integrations/creating-nodes/)
|
|
182
|
+
- [Community Node Guide](https://docs.n8n.io/integrations/community-nodes/)
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## 📜 License
|
|
187
|
+
|
|
188
|
+
[MIT](LICENSE.md)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WiroApi = void 0;
|
|
4
|
+
class WiroApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'wiroApi';
|
|
7
|
+
this.displayName = 'Wiro API';
|
|
8
|
+
this.documentationUrl = 'https://wiro.ai/docs';
|
|
9
|
+
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'API Key',
|
|
12
|
+
name: 'apiKey',
|
|
13
|
+
type: 'string',
|
|
14
|
+
typeOptions: {
|
|
15
|
+
password: true,
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'API Secret',
|
|
21
|
+
name: 'apiSecret',
|
|
22
|
+
type: 'string',
|
|
23
|
+
typeOptions: {
|
|
24
|
+
password: true,
|
|
25
|
+
},
|
|
26
|
+
default: '',
|
|
27
|
+
},
|
|
28
|
+
];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.WiroApi = WiroApi;
|
|
32
|
+
//# sourceMappingURL=WiroApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WiroApi.credentials.js","sourceRoot":"","sources":["../../credentials/WiroApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,OAAO;IAApB;QACC,SAAI,GAAG,SAAS,CAAC;QACjB,gBAAW,GAAG,UAAU,CAAC;QACzB,qBAAgB,GAAG,sBAAsB,CAAC;QAE1C,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;aACX;SACD,CAAC;IACH,CAAC;CAAA;AAzBD,0BAyBC"}
|
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AskAiChatbot = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const auth_1 = require("../utils/auth");
|
|
6
|
+
const polling_1 = require("../utils/polling");
|
|
7
|
+
class AskAiChatbot {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.description = {
|
|
10
|
+
displayName: 'Wiro - Ask AI Chatbot',
|
|
11
|
+
name: 'askAiChatbot',
|
|
12
|
+
icon: { light: 'file:wiro.svg', dark: 'file:wiro.svg' },
|
|
13
|
+
group: ['transform'],
|
|
14
|
+
version: 1,
|
|
15
|
+
description: "Sends a prompt to Wiro AI's chatbot and returns the assistant's response",
|
|
16
|
+
defaults: {
|
|
17
|
+
name: 'Wiro - Ask AI Chatbot',
|
|
18
|
+
},
|
|
19
|
+
inputs: ["main"],
|
|
20
|
+
outputs: ["main"],
|
|
21
|
+
usableAsTool: true,
|
|
22
|
+
credentials: [
|
|
23
|
+
{
|
|
24
|
+
name: 'wiroApi',
|
|
25
|
+
required: true,
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
properties: [
|
|
29
|
+
{
|
|
30
|
+
displayName: 'Selected Model',
|
|
31
|
+
name: 'selectedModel',
|
|
32
|
+
type: 'options',
|
|
33
|
+
default: '757',
|
|
34
|
+
required: true,
|
|
35
|
+
description: 'Select a LLM - Chat Model',
|
|
36
|
+
options: [
|
|
37
|
+
{ name: 'Qwen/Qwen2.5-14B-Instruct', value: '757' },
|
|
38
|
+
{ name: 'Qwen/Qwen2.5-32B-Instruct', value: '756' },
|
|
39
|
+
{ name: 'deepseek-ai/DeepSeek-R1-Distill-Qwen-32B', value: '743' },
|
|
40
|
+
{ name: 'deepseek-ai/DeepSeek-R1-Distill-Qwen-14B', value: '742' },
|
|
41
|
+
{ name: 'deepseek-ai/DeepSeek-R1-Distill-Llama-8B', value: '741' },
|
|
42
|
+
{ name: 'deepseek-ai/DeepSeek-R1-Distill-Qwen-7B', value: '740' },
|
|
43
|
+
{ name: 'deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B', value: '739' },
|
|
44
|
+
{ name: 'utter-project/EuroLLM-9B-Instruct', value: '735' },
|
|
45
|
+
{ name: 'utter-project/EuroLLM-1.7B-Instruct', value: '734' },
|
|
46
|
+
{ name: 'm42-health/Llama3-Med42-8B', value: '730' },
|
|
47
|
+
{ name: 'meta-llama/Llama-3.2-3B-Instruct', value: '728' },
|
|
48
|
+
{ name: 'meta-llama/CodeLlama-34b-Instruct-hf', value: '726' },
|
|
49
|
+
{ name: 'meta-llama/CodeLlama-7b-Instruct-hf', value: '725' },
|
|
50
|
+
{ name: 'internlm/internlm3-8b-instruct', value: '720' },
|
|
51
|
+
{ name: 'CohereForAI/aya-expanse-8b', value: '719' },
|
|
52
|
+
{ name: 'mistralai/Mistral-Nemo-Instruct-2407', value: '717' },
|
|
53
|
+
{ name: 'HuggingFaceTB/SmolLM2-1.7B-Instruct', value: '716' },
|
|
54
|
+
{ name: 'mistralai/Mathstral-7B-v0.1', value: '714' },
|
|
55
|
+
{ name: 'deepseek-ai/deepseek-math-7b-instruct', value: '713' },
|
|
56
|
+
{ name: 'microsoft/Phi-3.5-mini-instruct', value: '712' },
|
|
57
|
+
{ name: 'Qwen/Qwen2.5-3B-Instruct', value: '711' },
|
|
58
|
+
{ name: 'Qwen/Qwen2.5-0.5B-Instruct', value: '710' },
|
|
59
|
+
{ name: 'Qwen/Qwen2.5-1.5B-Instruct', value: '709' },
|
|
60
|
+
{ name: 'Qwen/Qwen2-7B-Instruct', value: '692' },
|
|
61
|
+
{ name: 'Qwen/Qwen2.5-Math-7B-Instruct', value: '691' },
|
|
62
|
+
{ name: 'Qwen/Qwen2.5-Math-1.5B-Instruct', value: '690' },
|
|
63
|
+
{ name: 'Qwen/Qwen2.5-Coder-7B-Instruct', value: '689' },
|
|
64
|
+
{ name: 'Qwen/Qwen1.5-0.5B-Chat', value: '688' },
|
|
65
|
+
{ name: 'microsoft/phi-4', value: '686' },
|
|
66
|
+
{ name: 'Qwen/Qwen2.5-Coder-32B-Instruct', value: '685' },
|
|
67
|
+
{ name: 'google/gemma-2-2b-it', value: '684' },
|
|
68
|
+
{ name: 'google/gemma-2-9b-it', value: '683' },
|
|
69
|
+
{ name: 'meta-llama/Meta-Llama-3-8B-Instruct', value: '682' },
|
|
70
|
+
{ name: 'mistralai/Mistral-7B-Instruct-v0.3', value: '681' },
|
|
71
|
+
{ name: 'meta-llama/Llama-3.1-8B-Instruct', value: '680' },
|
|
72
|
+
{ name: 'Qwen/Qwen2.5-7B-Instruct', value: '679' },
|
|
73
|
+
{ name: 'wiro/wiroai-turkish-llm-8b', value: '676' },
|
|
74
|
+
{ name: 'wiro/wiroai-turkish-llm-9b', value: '675' },
|
|
75
|
+
{ name: 'meta-llama/Llama-2-7b-chat-hf', value: '617' },
|
|
76
|
+
],
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
displayName: 'Prompt',
|
|
80
|
+
name: 'prompt',
|
|
81
|
+
type: 'string',
|
|
82
|
+
default: 'What are some interesting historical events that took place near the Tower of London, and how could they inspire a fictional story?',
|
|
83
|
+
required: true,
|
|
84
|
+
description: 'Prompt to send to the chat model',
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
displayName: 'System Prompt',
|
|
88
|
+
name: 'system_prompt',
|
|
89
|
+
type: 'string',
|
|
90
|
+
default: "You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.",
|
|
91
|
+
required: true,
|
|
92
|
+
description: 'System prompt to guide model behavior',
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
displayName: 'User ID',
|
|
96
|
+
name: 'user_id',
|
|
97
|
+
type: 'string',
|
|
98
|
+
default: '',
|
|
99
|
+
description: 'Unique identifier to track user history',
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
displayName: 'Session ID',
|
|
103
|
+
name: 'session_id',
|
|
104
|
+
type: 'string',
|
|
105
|
+
default: '',
|
|
106
|
+
description: 'ID for the current session to maintain history',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
displayName: 'Temperature',
|
|
110
|
+
name: 'temperature',
|
|
111
|
+
type: 'string',
|
|
112
|
+
default: '0.7',
|
|
113
|
+
required: true,
|
|
114
|
+
description: 'Adjusts randomness of outputs',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
displayName: 'Top P',
|
|
118
|
+
name: 'top_p',
|
|
119
|
+
type: 'string',
|
|
120
|
+
default: '0.95',
|
|
121
|
+
required: true,
|
|
122
|
+
description: 'Samples from top p tokens',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
displayName: 'Top K',
|
|
126
|
+
name: 'top_k',
|
|
127
|
+
type: 'string',
|
|
128
|
+
default: '0',
|
|
129
|
+
required: true,
|
|
130
|
+
description: 'Samples from top k tokens',
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
displayName: 'Repetition Penalty',
|
|
134
|
+
name: 'repetition_penalty',
|
|
135
|
+
type: 'string',
|
|
136
|
+
default: '1.0',
|
|
137
|
+
required: true,
|
|
138
|
+
description: 'Discourages repeating earlier tokens',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
displayName: 'Length Penalty',
|
|
142
|
+
name: 'length_penalty',
|
|
143
|
+
type: 'string',
|
|
144
|
+
default: '1',
|
|
145
|
+
required: true,
|
|
146
|
+
description: 'Controls output length',
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
displayName: 'Max Tokens',
|
|
150
|
+
name: 'max_tokens',
|
|
151
|
+
type: 'string',
|
|
152
|
+
default: '0',
|
|
153
|
+
required: true,
|
|
154
|
+
description: 'Maximum tokens to generate',
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
displayName: 'Min Tokens',
|
|
158
|
+
name: 'min_tokens',
|
|
159
|
+
type: 'string',
|
|
160
|
+
default: '0',
|
|
161
|
+
required: true,
|
|
162
|
+
description: 'Minimum tokens to generate',
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
displayName: 'Max New Tokens',
|
|
166
|
+
name: 'max_new_tokens',
|
|
167
|
+
type: 'string',
|
|
168
|
+
default: '0',
|
|
169
|
+
required: true,
|
|
170
|
+
description: 'Maximum new tokens to generate',
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
displayName: 'Min New Tokens',
|
|
174
|
+
name: 'min_new_tokens',
|
|
175
|
+
type: 'string',
|
|
176
|
+
default: '-1',
|
|
177
|
+
required: true,
|
|
178
|
+
description: 'Minimum new tokens to generate',
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
displayName: 'Stop Sequences',
|
|
182
|
+
name: 'stop_sequences',
|
|
183
|
+
type: 'string',
|
|
184
|
+
default: '',
|
|
185
|
+
description: 'Semicolon-separated stop sequences',
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
displayName: 'Seed',
|
|
189
|
+
name: 'seed',
|
|
190
|
+
type: 'string',
|
|
191
|
+
default: '12345',
|
|
192
|
+
required: true,
|
|
193
|
+
description: 'Random seed for reproducibility',
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
displayName: 'Quantization',
|
|
197
|
+
name: 'quantization',
|
|
198
|
+
type: 'string',
|
|
199
|
+
default: '--quantization',
|
|
200
|
+
description: 'Whether to use quantized weights',
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
displayName: 'Do Sample',
|
|
204
|
+
name: 'do_sample',
|
|
205
|
+
type: 'string',
|
|
206
|
+
default: '--do_sample',
|
|
207
|
+
description: 'Whether to enable sampling',
|
|
208
|
+
},
|
|
209
|
+
],
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
async execute() {
|
|
213
|
+
const returnData = [];
|
|
214
|
+
const credentials = await this.getCredentials('wiroApi');
|
|
215
|
+
const apiKey = credentials.apiKey;
|
|
216
|
+
const apiSecret = credentials.apiSecret;
|
|
217
|
+
const headers = (0, auth_1.generateWiroAuthHeaders)(apiKey, apiSecret);
|
|
218
|
+
const selectedModel = this.getNodeParameter('selectedModel', 0);
|
|
219
|
+
const prompt = this.getNodeParameter('prompt', 0);
|
|
220
|
+
const system_prompt = this.getNodeParameter('system_prompt', 0);
|
|
221
|
+
const user_id = this.getNodeParameter('user_id', 0, '');
|
|
222
|
+
const session_id = this.getNodeParameter('session_id', 0, '');
|
|
223
|
+
const temperature = this.getNodeParameter('temperature', 0);
|
|
224
|
+
const top_p = this.getNodeParameter('top_p', 0);
|
|
225
|
+
const top_k = this.getNodeParameter('top_k', 0);
|
|
226
|
+
const repetition_penalty = this.getNodeParameter('repetition_penalty', 0);
|
|
227
|
+
const length_penalty = this.getNodeParameter('length_penalty', 0);
|
|
228
|
+
const max_tokens = this.getNodeParameter('max_tokens', 0);
|
|
229
|
+
const min_tokens = this.getNodeParameter('min_tokens', 0);
|
|
230
|
+
const max_new_tokens = this.getNodeParameter('max_new_tokens', 0);
|
|
231
|
+
const min_new_tokens = this.getNodeParameter('min_new_tokens', 0);
|
|
232
|
+
const stop_sequences = this.getNodeParameter('stop_sequences', 0, '');
|
|
233
|
+
const seed = this.getNodeParameter('seed', 0);
|
|
234
|
+
const quantization = this.getNodeParameter('quantization', 0, '');
|
|
235
|
+
const do_sample = this.getNodeParameter('do_sample', 0, '');
|
|
236
|
+
const body = {
|
|
237
|
+
selectedModel,
|
|
238
|
+
prompt,
|
|
239
|
+
system_prompt,
|
|
240
|
+
user_id,
|
|
241
|
+
session_id,
|
|
242
|
+
temperature,
|
|
243
|
+
top_p,
|
|
244
|
+
top_k,
|
|
245
|
+
repetition_penalty,
|
|
246
|
+
length_penalty,
|
|
247
|
+
max_tokens,
|
|
248
|
+
min_tokens,
|
|
249
|
+
max_new_tokens,
|
|
250
|
+
min_new_tokens,
|
|
251
|
+
stop_sequences,
|
|
252
|
+
seed,
|
|
253
|
+
quantization,
|
|
254
|
+
do_sample,
|
|
255
|
+
};
|
|
256
|
+
const response = await this.helpers.request({
|
|
257
|
+
method: 'POST',
|
|
258
|
+
url: 'https://api.wiro.ai/v1/Run/wiro/chat',
|
|
259
|
+
headers: {
|
|
260
|
+
...headers,
|
|
261
|
+
'Content-Type': 'application/json',
|
|
262
|
+
},
|
|
263
|
+
body,
|
|
264
|
+
json: true,
|
|
265
|
+
});
|
|
266
|
+
if (!(response === null || response === void 0 ? void 0 : response.taskid) || !(response === null || response === void 0 ? void 0 : response.socketaccesstoken)) {
|
|
267
|
+
throw new n8n_workflow_1.NodeApiError(this.getNode(), {
|
|
268
|
+
message: 'Wiro API did not return a valid task ID or socket access token ' +
|
|
269
|
+
JSON.stringify(response),
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
const taskid = response.taskid;
|
|
273
|
+
const socketaccesstoken = response.socketaccesstoken;
|
|
274
|
+
const result = await polling_1.pollTaskUntilComplete.call(this, socketaccesstoken, headers);
|
|
275
|
+
const responseJSON = {
|
|
276
|
+
taskid: taskid,
|
|
277
|
+
message: '',
|
|
278
|
+
status: '',
|
|
279
|
+
};
|
|
280
|
+
switch (result) {
|
|
281
|
+
case '-1':
|
|
282
|
+
case '-2':
|
|
283
|
+
case '-3':
|
|
284
|
+
case '-4':
|
|
285
|
+
responseJSON.status = 'failed';
|
|
286
|
+
break;
|
|
287
|
+
default:
|
|
288
|
+
responseJSON.status = 'completed';
|
|
289
|
+
responseJSON.message = result !== null && result !== void 0 ? result : '';
|
|
290
|
+
}
|
|
291
|
+
returnData.push({
|
|
292
|
+
json: responseJSON,
|
|
293
|
+
});
|
|
294
|
+
return [returnData];
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
exports.AskAiChatbot = AskAiChatbot;
|
|
298
|
+
//# sourceMappingURL=AskAiChatbot.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AskAiChatbot.node.js","sourceRoot":"","sources":["../../../../nodes/WiroAI/AskAiChatbot/AskAiChatbot.node.ts"],"names":[],"mappings":";;;AAAA,+CAOsB;AAEtB,wCAAwD;AACxD,8CAAyD;AAEzD,MAAa,YAAY;IAAzB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,EAAE,KAAK,EAAE,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AC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAElF,MAAM,YAAY,GAAG;YACpB,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,EAAE;YACX,MAAM,EAAE,EAAE;SACV,CAAC;QAEF,QAAQ,MAAM,EAAE,CAAC;YAChB,KAAK,IAAI,CAAC;YACV,KAAK,IAAI,CAAC;YACV,KAAK,IAAI,CAAC;YACV,KAAK,IAAI;gBACR,YAAY,CAAC,MAAM,GAAG,QAAQ,CAAC;gBAC/B,MAAM;YACP;gBACC,YAAY,CAAC,MAAM,GAAG,WAAW,CAAC;gBAClC,YAAY,CAAC,OAAO,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAC;QACtC,CAAC;QAED,UAAU,CAAC,IAAI,CAAC;YACf,IAAI,EAAE,YAAY;SAClB,CAAC,CAAC;QAEH,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AAlUD,oCAkUC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node": "askAiChatbot",
|
|
3
|
+
"nodeVersion": "1.0",
|
|
4
|
+
"codexVersion": "1.0",
|
|
5
|
+
"icon": "wiro.svg",
|
|
6
|
+
"description": "Sends a prompt to Wiro AI's chatbot and returns the assistant's response",
|
|
7
|
+
"categories": ["AI", "Utility", "Productivity", "Text", "Chat", "LLM"],
|
|
8
|
+
"alias": [
|
|
9
|
+
"Wiro",
|
|
10
|
+
"WiroAI",
|
|
11
|
+
"Chatbot",
|
|
12
|
+
"LLM Prompt",
|
|
13
|
+
"Text Completion",
|
|
14
|
+
"Chat Completion",
|
|
15
|
+
"Assistant",
|
|
16
|
+
"Conversational AI",
|
|
17
|
+
"AI Assistant",
|
|
18
|
+
"Wiro Chat",
|
|
19
|
+
"Text Response"
|
|
20
|
+
],
|
|
21
|
+
"resources": {
|
|
22
|
+
"primaryDocumentation": [
|
|
23
|
+
{
|
|
24
|
+
"url": "https://wiro.ai/tools/wiro/chat#apisamples-curl"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"credentialDocumentation": [
|
|
28
|
+
{
|
|
29
|
+
"url": "https://wiro.ai/docs"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
}
|