docs(Chat Trigger Node): Add option for loadPreviousSession (#13132)

This commit is contained in:
Ria Scholz 2025-02-07 16:49:22 +01:00 committed by GitHub
parent cd8b300d5c
commit ccdca6b39f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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`