@tiledesk/tiledesk-tybot-connector 0.2.62-rc2 → 0.2.62-rc3
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/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
available on:
|
|
6
6
|
▶️ https://www.npmjs.com/package/@tiledesk/tiledesk-tybot-connector
|
|
7
7
|
|
|
8
|
+
# v0.2.62-rc3
|
|
9
|
+
- Added n8n action (webrequest)
|
|
10
|
+
|
|
8
11
|
# v0.2.62-rc1
|
|
9
12
|
- Added VXML actions (speech_form, play_prompt)
|
|
10
13
|
|
|
@@ -29,6 +32,9 @@ available on:
|
|
|
29
32
|
- added flow attribute "decodedCustomJWT"
|
|
30
33
|
|
|
31
34
|
# v0.2.57
|
|
35
|
+
- Changed env variables for AskGPT actions
|
|
36
|
+
- Added support for temperature, top_k, max_tokens and context for AskGPTV2 action
|
|
37
|
+
- Added support for context with variables for GptTask action
|
|
32
38
|
- fixed catching reply error in index.js: reply = await chatbot.replyToMessage(message);
|
|
33
39
|
- Added context and top_k parameter in DirAskGPTV2
|
|
34
40
|
|
package/package.json
CHANGED
|
@@ -727,6 +727,19 @@ class DirectivesChatbotPlug {
|
|
|
727
727
|
this.process(next_dir);
|
|
728
728
|
})
|
|
729
729
|
}
|
|
730
|
+
else if (directive_name === Directives.N8N) {
|
|
731
|
+
new DirWebRequestV2(context).execute(directive, async (stop) => {
|
|
732
|
+
if (context.log) { console.log("stop on condition?", stop);}
|
|
733
|
+
if (stop == true) {
|
|
734
|
+
if (context.log) { console.log("Stopping Actions on:", JSON.stringify(directive));}
|
|
735
|
+
this.theend();
|
|
736
|
+
}
|
|
737
|
+
else {
|
|
738
|
+
let next_dir = await this.nextDirective(this.directives);
|
|
739
|
+
this.process(next_dir);
|
|
740
|
+
}
|
|
741
|
+
});
|
|
742
|
+
}
|
|
730
743
|
else {
|
|
731
744
|
//console.log("Unhandled Post-message Directive:", directive_name);
|
|
732
745
|
let next_dir = await this.nextDirective(this.directives);
|