mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
docs(Chat Trigger Node): Add option for loadPreviousSession (#13132)
This commit is contained in:
parent
cd8b300d5c
commit
ccdca6b39f
|
@ -112,6 +112,7 @@ createChat({
|
||||||
mode: 'window',
|
mode: 'window',
|
||||||
chatInputKey: 'chatInput',
|
chatInputKey: 'chatInput',
|
||||||
chatSessionKey: 'sessionId',
|
chatSessionKey: 'sessionId',
|
||||||
|
loadPreviousSession: true,
|
||||||
metadata: {},
|
metadata: {},
|
||||||
showWelcomeScreen: false,
|
showWelcomeScreen: false,
|
||||||
defaultLanguage: 'en',
|
defaultLanguage: 'en',
|
||||||
|
@ -161,15 +162,20 @@ createChat({
|
||||||
- **Default**: `false`
|
- **Default**: `false`
|
||||||
- **Description**: Whether to show the welcome screen when the Chat window is opened.
|
- **Description**: Whether to show the welcome screen when the Chat window is opened.
|
||||||
|
|
||||||
|
### `chatInputKey`
|
||||||
|
- **Type**: `string`
|
||||||
|
- **Default**: `'chatInput'`
|
||||||
|
- **Description**: The key to use for sending the chat input for the AI Agent node.
|
||||||
|
|
||||||
### `chatSessionKey`
|
### `chatSessionKey`
|
||||||
- **Type**: `string`
|
- **Type**: `string`
|
||||||
- **Default**: `'sessionId'`
|
- **Default**: `'sessionId'`
|
||||||
- **Description**: The key to use for sending the chat history session ID for the AI Memory node.
|
- **Description**: The key to use for sending the chat history session ID for the AI Memory node.
|
||||||
|
|
||||||
### `chatInputKey`
|
### `loadPreviousSession`
|
||||||
- **Type**: `string`
|
- **Type**: `boolean`
|
||||||
- **Default**: `'chatInput'`
|
- **Default**: `true`
|
||||||
- **Description**: The key to use for sending the chat input for the AI Agent node.
|
- **Description**: Whether to load previous messages (chat context).
|
||||||
|
|
||||||
### `defaultLanguage`
|
### `defaultLanguage`
|
||||||
- **Type**: `string`
|
- **Type**: `string`
|
||||||
|
|
Loading…
Reference in a new issue