@n8n/chat 0.4.0 → 0.5.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/README.md +6 -6
- package/chat.bundle.es.js +215 -211
- package/chat.bundle.umd.js +6 -6
- package/chat.es.js +873 -869
- package/chat.umd.js +12 -12
- package/package.json +1 -1
- package/types/types/chat.d.ts +1 -1
- package/types/types/options.d.ts +2 -1
package/README.md
CHANGED
|
@@ -104,8 +104,8 @@ createChat({
|
|
|
104
104
|
},
|
|
105
105
|
target: '#n8n-chat',
|
|
106
106
|
mode: 'window',
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
chatInputKey: 'chatInput',
|
|
108
|
+
chatSessionKey: 'sessionId',
|
|
109
109
|
metadata: {},
|
|
110
110
|
showWelcomeScreen: false,
|
|
111
111
|
defaultLanguage: 'en',
|
|
@@ -155,14 +155,14 @@ createChat({
|
|
|
155
155
|
- **Default**: `false`
|
|
156
156
|
- **Description**: Whether to show the welcome screen when the Chat window is opened.
|
|
157
157
|
|
|
158
|
-
### `
|
|
158
|
+
### `chatSessionKey`
|
|
159
159
|
- **Type**: `string`
|
|
160
|
-
- **Default**: `'
|
|
160
|
+
- **Default**: `'sessionId'`
|
|
161
161
|
- **Description**: The key to use for sending the chat history session ID for the AI Memory node.
|
|
162
162
|
|
|
163
163
|
### `chatInputKey`
|
|
164
164
|
- **Type**: `string`
|
|
165
|
-
- **Default**: `'
|
|
165
|
+
- **Default**: `'chatInput'`
|
|
166
166
|
- **Description**: The key to use for sending the chat input for the AI Agent node.
|
|
167
167
|
|
|
168
168
|
### `defaultLanguage`
|
|
@@ -235,7 +235,7 @@ body,
|
|
|
235
235
|
```
|
|
236
236
|
|
|
237
237
|
## License
|
|
238
|
-
n8n Chat is [fair-code](
|
|
238
|
+
n8n Chat is [fair-code](https://faircode.io) distributed under the
|
|
239
239
|
[**Sustainable Use License**](https://github.com/n8n-io/n8n/blob/master/packages/cli/LICENSE.md).
|
|
240
240
|
|
|
241
241
|
Proprietary licenses are available for enterprise customers. [Get in touch](mailto:license@n8n.io)
|