@tiledesk/tiledesk-tybot-connector 0.2.111 → 0.2.113
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
|
@@ -17,6 +17,12 @@ available on:
|
|
|
17
17
|
- Added flowError on JSONCondition when result = null
|
|
18
18
|
- Added fix on Filler -->
|
|
19
19
|
|
|
20
|
+
# v0.2.113 -> test
|
|
21
|
+
- Fixed DirClose not importing TiledeskChatbotConst
|
|
22
|
+
|
|
23
|
+
# v0.2.112 -> prod
|
|
24
|
+
- Fix index name in DirAskGPTV2
|
|
25
|
+
|
|
20
26
|
# v0.2.111 -> test
|
|
21
27
|
- Updated DirAskGPTV2 with engine support
|
|
22
28
|
|
package/package.json
CHANGED
|
@@ -171,7 +171,9 @@ class DirAskGPTV2 {
|
|
|
171
171
|
let keep_going = await this.checkQuoteAvailability(server_base_url);
|
|
172
172
|
if (keep_going === false) {
|
|
173
173
|
if (this.log) { console.log("DirAskGPT - Quota exceeded for tokens. Skip the action")}
|
|
174
|
-
|
|
174
|
+
await this.chatbot.addParameter("flowError", "AskGPT Error: tokens quota exceeded");
|
|
175
|
+
await this.#executeCondition(false, trueIntent, trueIntentAttributes, falseIntent, falseIntentAttributes);
|
|
176
|
+
callback(true);
|
|
175
177
|
return;
|
|
176
178
|
}
|
|
177
179
|
}
|
|
@@ -624,7 +626,7 @@ class DirAskGPTV2 {
|
|
|
624
626
|
type: "pod",
|
|
625
627
|
apikey: "",
|
|
626
628
|
vector_size: 1536,
|
|
627
|
-
index_name: "
|
|
629
|
+
index_name: "pugliai-tiledesk"
|
|
628
630
|
}
|
|
629
631
|
resolve(engine);
|
|
630
632
|
})
|