@digipair/skill-chatbot 0.133.2 → 0.134.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/dist/index.cjs.js CHANGED
@@ -4,7 +4,7 @@ var engine = require('@digipair/engine');
4
4
 
5
5
  let ChatbotService = class ChatbotService {
6
6
  async answer(params, _pinsSettingsList, context) {
7
- const { command = [], boosts = [], sources = [], agent_history = [], files = [], assistant, logs, boost, parent_conversation, parent_history, session, uuid } = params;
7
+ const { command = [], boosts = [], sources = [], agent_history = [], files = [], assistant, logs, boost, parent_history, session, uuid } = params;
8
8
  return {
9
9
  assistant,
10
10
  command: await Promise.all(command.map((settings)=>engine.preparePinsSettings(settings, context))),
@@ -17,7 +17,6 @@ let ChatbotService = class ChatbotService {
17
17
  ...boost,
18
18
  inputs: await Promise.all((boost.inputs || []).map((settings)=>engine.preparePinsSettings(settings, context)))
19
19
  } : boost,
20
- parent_conversation,
21
20
  parent_history,
22
21
  session,
23
22
  uuid
package/dist/index.esm.js CHANGED
@@ -2,7 +2,7 @@ import { preparePinsSettings, executePinsList } from '@digipair/engine';
2
2
 
3
3
  let ChatbotService = class ChatbotService {
4
4
  async answer(params, _pinsSettingsList, context) {
5
- const { command = [], boosts = [], sources = [], agent_history = [], files = [], assistant, logs, boost, parent_conversation, parent_history, session, uuid } = params;
5
+ const { command = [], boosts = [], sources = [], agent_history = [], files = [], assistant, logs, boost, parent_history, session, uuid } = params;
6
6
  return {
7
7
  assistant,
8
8
  command: await Promise.all(command.map((settings)=>preparePinsSettings(settings, context))),
@@ -15,7 +15,6 @@ let ChatbotService = class ChatbotService {
15
15
  ...boost,
16
16
  inputs: await Promise.all((boost.inputs || []).map((settings)=>preparePinsSettings(settings, context)))
17
17
  } : boost,
18
- parent_conversation,
19
18
  parent_history,
20
19
  session,
21
20
  uuid
@@ -88,15 +88,6 @@
88
88
  "type": "object"
89
89
  }
90
90
  },
91
- {
92
- "name": "parent_conversation",
93
- "summary": "Conversation parent",
94
- "required": false,
95
- "description": "Conversation parent",
96
- "schema": {
97
- "type": "string"
98
- }
99
- },
100
91
  {
101
92
  "name": "parent_history",
102
93
  "summary": "Message parent",
@@ -168,10 +159,6 @@
168
159
  "nullable": true,
169
160
  "description": "Configuration du boost"
170
161
  },
171
- "parent_conversation": {
172
- "type": "string",
173
- "description": "ID de la conversation parente"
174
- },
175
162
  "parent_history": {
176
163
  "type": "string",
177
164
  "description": "ID du message parent"
package/dist/schema.json CHANGED
@@ -88,15 +88,6 @@
88
88
  "type": "object"
89
89
  }
90
90
  },
91
- {
92
- "name": "parent_conversation",
93
- "summary": "Parent conversation",
94
- "required": false,
95
- "description": "Parent conversation",
96
- "schema": {
97
- "type": "string"
98
- }
99
- },
100
91
  {
101
92
  "name": "parent_history",
102
93
  "summary": "Parent message",
@@ -168,10 +159,6 @@
168
159
  "nullable": true,
169
160
  "description": "Boost configuration"
170
161
  },
171
- "parent_conversation": {
172
- "type": "string",
173
- "description": "Parent conversation ID"
174
- },
175
162
  "parent_history": {
176
163
  "type": "string",
177
164
  "description": "Parent message ID"
@@ -8,7 +8,6 @@ export declare const answer: (params: any, pinsSettingsList: PinsSettings[], con
8
8
  files: any;
9
9
  logs: any;
10
10
  boost: any;
11
- parent_conversation: any;
12
11
  parent_history: any;
13
12
  session: any;
14
13
  uuid: any;
@@ -1 +1 @@
1
- {"version":3,"file":"skill-chatbot.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-chatbot.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAwC,MAAM,kBAAkB,CAAC;AA6EtF,eAAO,MAAM,MAAM,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG;;;;;;;;;;;;;EAClB,CAAC;AAEjE,eAAO,MAAM,OAAO,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBAClB,CAAC;AAIlE,eAAO,MAAM,KAAK,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBAClB,CAAC"}
1
+ {"version":3,"file":"skill-chatbot.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-chatbot.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAwC,MAAM,kBAAkB,CAAC;AA2EtF,eAAO,MAAM,MAAM,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG;;;;;;;;;;;;EAClB,CAAC;AAEjE,eAAO,MAAM,OAAO,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBAClB,CAAC;AAIlE,eAAO,MAAM,KAAK,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBAClB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-chatbot",
3
- "version": "0.133.2",
3
+ "version": "0.134.0",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",