@n8n/chat 0.1.0 → 0.1.2
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/README.md +1 -8
- package/chat.bundle.es.js +11799 -0
- package/chat.bundle.umd.js +24 -0
- package/chat.es.js +6870 -0
- package/chat.umd.js +13 -24
- package/package.json +7 -7
- package/types/composables/index.d.ts +1 -0
- package/types/composables/useChat.d.ts +2 -0
- package/types/constants/symbols.d.ts +2 -1
- package/types/plugins/chat.d.ts +3 -0
- package/types/plugins/index.d.ts +1 -0
- package/types/types/chat.d.ts +11 -0
- package/types/types/index.d.ts +1 -0
- package/types/types/options.d.ts +0 -1
- package/chat.js +0 -7836
- package/types/stores/chat.d.ts +0 -41
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# n8n Chat
|
|
2
2
|
This is an embeddable Chat widget for n8n. It allows the execution of AI-Powered Workflows through a Chat window.
|
|
3
3
|
|
|
4
|
-
##
|
|
4
|
+
## Prerequisites
|
|
5
5
|
Create a n8n workflow which you want to execute via chat. The workflow has to be triggered using a **Webhook** node and return data using the **Respond to Webhook** node.
|
|
6
6
|
|
|
7
7
|
Open the **Webhook** node and add your domain to the **Domain Allowlist** field. This makes sure that only requests from your domain are accepted.
|
|
@@ -120,7 +120,6 @@ createChat({
|
|
|
120
120
|
inputPlaceholder: 'Type your question..',
|
|
121
121
|
},
|
|
122
122
|
},
|
|
123
|
-
poweredBy: true,
|
|
124
123
|
});
|
|
125
124
|
```
|
|
126
125
|
|
|
@@ -162,12 +161,6 @@ createChat({
|
|
|
162
161
|
- **Type**: `string[]`
|
|
163
162
|
- **Description**: The initial messages to be displayed in the Chat window.
|
|
164
163
|
|
|
165
|
-
### `poweredBy`
|
|
166
|
-
- **Type**: `boolean`
|
|
167
|
-
- **Default**: `true`
|
|
168
|
-
- **Description**: Whether to display the "Powered by n8n" footer in the Chat window.
|
|
169
|
-
|
|
170
|
-
|
|
171
164
|
## Customization
|
|
172
165
|
The Chat window is entirely customizable using CSS variables.
|
|
173
166
|
|