@digipair/skill-chatbot 0.1.16 → 0.1.18
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.cjs2.js
CHANGED
@@ -41051,7 +41051,7 @@ Résumé de l'historique la conversation:
|
|
41051
41051
|
Nouveaux messages:
|
41052
41052
|
{history}
|
41053
41053
|
|
41054
|
-
Résumer dans un texte court, précis et concis l'historique de la conversation en prenant en compte les nouveaux messages.`,
|
41054
|
+
Résumer dans un texte court, précis et concis l'historique de la conversation en prenant en compte les nouveaux messages.`, command = [], assistant, sources, logs } = params;
|
41055
41055
|
const input = context.request.body;
|
41056
41056
|
const date = Date.now();
|
41057
41057
|
var _input_inputs;
|
@@ -41096,7 +41096,7 @@ Résumer dans un texte court, précis et concis l'historique de la conversation
|
|
41096
41096
|
});
|
41097
41097
|
return {
|
41098
41098
|
assistant,
|
41099
|
-
command: await preparePinsSettings(
|
41099
|
+
command: await Promise.all(command.map((settings)=>preparePinsSettings(settings, context))),
|
41100
41100
|
sources,
|
41101
41101
|
logs
|
41102
41102
|
};
|
package/index.esm2.js
CHANGED
@@ -41029,7 +41029,7 @@ Résumé de l'historique la conversation:
|
|
41029
41029
|
Nouveaux messages:
|
41030
41030
|
{history}
|
41031
41031
|
|
41032
|
-
Résumer dans un texte court, précis et concis l'historique de la conversation en prenant en compte les nouveaux messages.`,
|
41032
|
+
Résumer dans un texte court, précis et concis l'historique de la conversation en prenant en compte les nouveaux messages.`, command = [], assistant, sources, logs } = params;
|
41033
41033
|
const input = context.request.body;
|
41034
41034
|
const date = Date.now();
|
41035
41035
|
var _input_inputs;
|
@@ -41074,7 +41074,7 @@ Résumer dans un texte court, précis et concis l'historique de la conversation
|
|
41074
41074
|
});
|
41075
41075
|
return {
|
41076
41076
|
assistant,
|
41077
|
-
command: await preparePinsSettings(
|
41077
|
+
command: await Promise.all(command.map((settings)=>preparePinsSettings(settings, context))),
|
41078
41078
|
sources,
|
41079
41079
|
logs
|
41080
41080
|
};
|
@@ -4,7 +4,7 @@ export declare const find: (params: any, pinsSettingsList: PinsSettings[], conte
|
|
4
4
|
export declare const search: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
5
5
|
export declare const chatbot: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<{
|
6
6
|
assistant: any;
|
7
|
-
command: any;
|
7
|
+
command: any[];
|
8
8
|
sources: any;
|
9
9
|
logs: any;
|
10
10
|
}>;
|