@horribleprogram/sdk 0.1.1 → 0.1.2
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/{chunk-AOE6JLKC.js → chunk-EWLGKE65.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/main.cjs +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
var Botcierge = class {
|
|
3
3
|
baseUrl;
|
|
4
4
|
constructor(config = {}) {
|
|
5
|
-
this.baseUrl = config.baseUrl || "
|
|
5
|
+
this.baseUrl = config.baseUrl || "https://horribleprogram-intentapi.hf.space";
|
|
6
6
|
}
|
|
7
7
|
async query_intent(utterance) {
|
|
8
8
|
const response = await fetch(`${this.baseUrl}/classify`, {
|
package/dist/index.cjs
CHANGED
|
@@ -27,7 +27,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
27
27
|
var Botcierge = class {
|
|
28
28
|
baseUrl;
|
|
29
29
|
constructor(config = {}) {
|
|
30
|
-
this.baseUrl = config.baseUrl || "
|
|
30
|
+
this.baseUrl = config.baseUrl || "https://horribleprogram-intentapi.hf.space";
|
|
31
31
|
}
|
|
32
32
|
async query_intent(utterance) {
|
|
33
33
|
const response = await fetch(`${this.baseUrl}/classify`, {
|
package/dist/index.js
CHANGED
package/dist/main.cjs
CHANGED
|
@@ -29,7 +29,7 @@ var readline = __toESM(require("readline"), 1);
|
|
|
29
29
|
var Botcierge = class {
|
|
30
30
|
baseUrl;
|
|
31
31
|
constructor(config = {}) {
|
|
32
|
-
this.baseUrl = config.baseUrl || "
|
|
32
|
+
this.baseUrl = config.baseUrl || "https://horribleprogram-intentapi.hf.space";
|
|
33
33
|
}
|
|
34
34
|
async query_intent(utterance) {
|
|
35
35
|
const response = await fetch(`${this.baseUrl}/classify`, {
|
package/dist/main.js
CHANGED