@digipair/skill-chatbot 0.85.2 → 0.86.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/index.cjs.js CHANGED
@@ -17,7 +17,7 @@ function _extends() {
17
17
 
18
18
  let ChatbotService = class ChatbotService {
19
19
  async answer(params, _pinsSettingsList, context) {
20
- const { command = [], boosts = [], sources = [], assistant, logs, boost, parent_conversation, parent_history, uuid } = params;
20
+ const { command = [], boosts = [], sources = [], assistant, logs, boost, parent_conversation, parent_history, session, uuid } = params;
21
21
  return {
22
22
  assistant,
23
23
  command: await Promise.all(command.map((settings)=>engine.preparePinsSettings(settings, context))),
@@ -29,6 +29,7 @@ let ChatbotService = class ChatbotService {
29
29
  }) : boost,
30
30
  parent_conversation,
31
31
  parent_history,
32
+ session,
32
33
  uuid
33
34
  };
34
35
  }
package/index.esm.js CHANGED
@@ -13,7 +13,7 @@ function _extends() {
13
13
 
14
14
  let ChatbotService = class ChatbotService {
15
15
  async answer(params, _pinsSettingsList, context) {
16
- const { command = [], boosts = [], sources = [], assistant, logs, boost, parent_conversation, parent_history, uuid } = params;
16
+ const { command = [], boosts = [], sources = [], assistant, logs, boost, parent_conversation, parent_history, session, uuid } = params;
17
17
  return {
18
18
  assistant,
19
19
  command: await Promise.all(command.map((settings)=>preparePinsSettings(settings, context))),
@@ -25,6 +25,7 @@ let ChatbotService = class ChatbotService {
25
25
  }) : boost,
26
26
  parent_conversation,
27
27
  parent_history,
28
+ session,
28
29
  uuid
29
30
  };
30
31
  }
@@ -8,6 +8,7 @@ export declare const answer: (params: any, pinsSettingsList: PinsSettings[], con
8
8
  boost: any;
9
9
  parent_conversation: any;
10
10
  parent_history: any;
11
+ session: any;
11
12
  uuid: any;
12
13
  }>;
13
14
  export declare const execute: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-chatbot",
3
- "version": "0.85.2",
3
+ "version": "0.86.0",
4
4
  "keywords": [
5
5
  "digipair",
6
6
  "service",
package/schema.fr.json CHANGED
@@ -97,6 +97,15 @@
97
97
  "type": "string"
98
98
  }
99
99
  },
100
+ {
101
+ "name": "session",
102
+ "summary": "Session",
103
+ "required": false,
104
+ "description": "Session",
105
+ "schema": {
106
+ "type": "string"
107
+ }
108
+ },
100
109
  {
101
110
  "name": "uuid",
102
111
  "summary": "Identifiant",
package/schema.json CHANGED
@@ -97,6 +97,15 @@
97
97
  "type": "string"
98
98
  }
99
99
  },
100
+ {
101
+ "name": "session",
102
+ "summary": "Session",
103
+ "required": false,
104
+ "description": "Session",
105
+ "schema": {
106
+ "type": "string"
107
+ }
108
+ },
100
109
  {
101
110
  "name": "uuid",
102
111
  "summary": "Identifier",