@coveo/platform-client 56.0.0 → 56.1.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.
Files changed (67) hide show
  1. package/dist/cjs/resources/MachineLearning/MachineLearning.js +7 -4
  2. package/dist/cjs/resources/MachineLearning/MachineLearning.js.map +1 -1
  3. package/dist/cjs/resources/MachineLearning/MachineLearningInterfaces.js +13 -0
  4. package/dist/cjs/resources/MachineLearning/MachineLearningInterfaces.js.map +1 -1
  5. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfo.js +13 -0
  6. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfo.js.map +1 -0
  7. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfoInterfaces.js +3 -0
  8. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfoInterfaces.js.map +1 -0
  9. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.js +3 -0
  10. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.js.map +1 -0
  11. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsBuildingStats.js +3 -0
  12. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsBuildingStats.js.map +1 -0
  13. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsCommerceEvents.js +3 -0
  14. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsCommerceEvents.js.map +1 -0
  15. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.js +3 -0
  16. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.js.map +1 -0
  17. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsStatsPerSource.js +3 -0
  18. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsStatsPerSource.js.map +1 -0
  19. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsSubModels.js +3 -0
  20. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsSubModels.js.map +1 -0
  21. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/index.js +10 -0
  22. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/index.js.map +1 -0
  23. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/index.js +7 -0
  24. package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/index.js.map +1 -0
  25. package/dist/cjs/resources/MachineLearning/index.js +9 -8
  26. package/dist/cjs/resources/MachineLearning/index.js.map +1 -1
  27. package/dist/esm/resources/MachineLearning/MachineLearning.js +7 -4
  28. package/dist/esm/resources/MachineLearning/MachineLearning.js.map +1 -1
  29. package/dist/esm/resources/MachineLearning/MachineLearningInterfaces.js +12 -1
  30. package/dist/esm/resources/MachineLearning/MachineLearningInterfaces.js.map +1 -1
  31. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfo.js +9 -0
  32. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfo.js.map +1 -0
  33. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfoInterfaces.js +2 -0
  34. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfoInterfaces.js.map +1 -0
  35. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.js +2 -0
  36. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.js.map +1 -0
  37. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsBuildingStats.js +2 -0
  38. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsBuildingStats.js.map +1 -0
  39. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsCommerceEvents.js +2 -0
  40. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsCommerceEvents.js.map +1 -0
  41. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.js +2 -0
  42. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.js.map +1 -0
  43. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsStatsPerSource.js +2 -0
  44. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsStatsPerSource.js.map +1 -0
  45. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsSubModels.js +2 -0
  46. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsSubModels.js.map +1 -0
  47. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/index.js +7 -0
  48. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/index.js.map +1 -0
  49. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/index.js +4 -0
  50. package/dist/esm/resources/MachineLearning/ModelDetailedInfo/index.js.map +1 -0
  51. package/dist/esm/resources/MachineLearning/index.js +9 -8
  52. package/dist/esm/resources/MachineLearning/index.js.map +1 -1
  53. package/dist/types/resources/MachineLearning/MachineLearning.d.ts +6 -4
  54. package/dist/types/resources/MachineLearning/MachineLearningInterfaces.d.ts +11 -0
  55. package/dist/types/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfo.d.ts +6 -0
  56. package/dist/types/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfoInterfaces.d.ts +95 -0
  57. package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.d.ts +21 -0
  58. package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsBuildingStats.d.ts +30 -0
  59. package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsCommerceEvents.d.ts +6 -0
  60. package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.d.ts +8 -0
  61. package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsStatsPerSource.d.ts +7 -0
  62. package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsSubModels.d.ts +5 -0
  63. package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/index.d.ts +6 -0
  64. package/dist/types/resources/MachineLearning/ModelDetailedInfo/index.d.ts +3 -0
  65. package/dist/types/resources/MachineLearning/ModelListing/ModelListingInterfaces.d.ts +2 -1
  66. package/dist/types/resources/MachineLearning/index.d.ts +9 -8
  67. package/package.json +1 -1
@@ -5,14 +5,15 @@ const APICore_js_1 = tslib_1.__importDefault(require("../../APICore.js"));
5
5
  const Resource_js_1 = tslib_1.__importDefault(require("../Resource.js"));
6
6
  const CaseClassificationConfiguration_js_1 = tslib_1.__importDefault(require("./CaseClassificationConfiguration/CaseClassificationConfiguration.js"));
7
7
  const DNEConfiguration_js_1 = tslib_1.__importDefault(require("./DNEConfiguration/DNEConfiguration.js"));
8
- const SmartSnippetsConfiguration_js_1 = tslib_1.__importDefault(require("./SmartSnippetsConfiguration/SmartSnippetsConfiguration.js"));
9
- const Models_js_1 = tslib_1.__importDefault(require("./Models/Models.js"));
10
- const PQSConfiguration_js_1 = tslib_1.__importDefault(require("./PQSConfiguration/PQSConfiguration.js"));
11
- const UserActionHistoryConfiguration_js_1 = tslib_1.__importDefault(require("./UserActionHistoryConfiguration/UserActionHistoryConfiguration.js"));
12
8
  const IAPRConfiguration_js_1 = tslib_1.__importDefault(require("./IAPRConfiguration/IAPRConfiguration.js"));
9
+ const ModelDetailedInfo_js_1 = tslib_1.__importDefault(require("./ModelDetailedInfo/ModelDetailedInfo.js"));
13
10
  const ModelListing_js_1 = tslib_1.__importDefault(require("./ModelListing/ModelListing.js"));
11
+ const Models_js_1 = tslib_1.__importDefault(require("./Models/Models.js"));
12
+ const PQSConfiguration_js_1 = tslib_1.__importDefault(require("./PQSConfiguration/PQSConfiguration.js"));
14
13
  const RelevanceGenerativeAnsweringConfiguration_js_1 = tslib_1.__importDefault(require("./RGAConfiguration/RelevanceGenerativeAnsweringConfiguration.js"));
15
14
  const SemanticEncoderConfiguration_js_1 = tslib_1.__importDefault(require("./SemanticEncoderConfiguration/SemanticEncoderConfiguration.js"));
15
+ const SmartSnippetsConfiguration_js_1 = tslib_1.__importDefault(require("./SmartSnippetsConfiguration/SmartSnippetsConfiguration.js"));
16
+ const UserActionHistoryConfiguration_js_1 = tslib_1.__importDefault(require("./UserActionHistoryConfiguration/UserActionHistoryConfiguration.js"));
16
17
  class MachineLearning extends Resource_js_1.default {
17
18
  api;
18
19
  serverlessApi;
@@ -27,6 +28,7 @@ class MachineLearning extends Resource_js_1.default {
27
28
  modelListing;
28
29
  relevanceGenerativeAnsweringConfig;
29
30
  semanticEncoderConfig;
31
+ modelDetailedInfo;
30
32
  constructor(api, serverlessApi) {
31
33
  super(api, serverlessApi);
32
34
  this.api = api;
@@ -41,6 +43,7 @@ class MachineLearning extends Resource_js_1.default {
41
43
  this.modelListing = new ModelListing_js_1.default(api, serverlessApi);
42
44
  this.relevanceGenerativeAnsweringConfig = new RelevanceGenerativeAnsweringConfiguration_js_1.default(api, serverlessApi);
43
45
  this.semanticEncoderConfig = new SemanticEncoderConfiguration_js_1.default(api, serverlessApi);
46
+ this.modelDetailedInfo = new ModelDetailedInfo_js_1.default(api, serverlessApi);
44
47
  }
45
48
  register(registration) {
46
49
  return this.api.post(`${MachineLearning.baseUrl}/model`, registration);
@@ -1 +1 @@
1
- {"version":3,"file":"MachineLearning.js","sourceRoot":"","sources":["../../../../src/resources/MachineLearning/MachineLearning.ts"],"names":[],"mappings":";;;AAAA,0EAAmC;AACnC,yEAAsC;AACtC,sJAAmH;AACnH,yGAAsE;AACtE,uIAAoG;AAEpG,2EAAwC;AACxC,yGAAsE;AACtE,mJAAgH;AAChH,4GAAyE;AACzE,6FAA0D;AAC1D,2JAAwH;AACxH,6IAA0G;AAE1G,MAAqB,eAAgB,SAAQ,qBAAQ;IAenC;IACA;IAfd,MAAM,CAAC,OAAO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CAA0B,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QAC9E,IAAI,CAAC,SAAS,GAAG,IAAI,6BAAgB,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QAC1D,IAAI,CAAC,UAAU,GAAG,IAAI,8BAAiB,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QAC5D,IAAI,CAAC,uBAAuB,GAAG,IAAI,2CAA8B,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QACtF,IAAI,CAAC,YAAY,GAAG,IAAI,yBAAY,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QACzD,IAAI,CAAC,kCAAkC,GAAG,IAAI,sDAAyC,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QAC5G,IAAI,CAAC,qBAAqB,GAAG,IAAI,yCAA4B,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QAClF,IAAI,CAAC,iBAAiB,GAAG,IAAI,8BAAiB,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;IACvE,CAAC;IAED,QAAQ,CAAC,YAA+B;QACpC,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAiB,GAAG,eAAe,CAAC,OAAO,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC3F,CAAC;;AApCL,kCAqCC"}
@@ -1,3 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MLModelStatus = void 0;
4
+ var MLModelStatus;
5
+ (function (MLModelStatus) {
6
+ MLModelStatus["ARCHIVED"] = "ARCHIVED";
7
+ MLModelStatus["SOON_TO_BE_ARCHIVED"] = "SOON_TO_BE_ARCHIVED";
8
+ MLModelStatus["BUILD_IN_PROGRESS"] = "BUILD_IN_PROGRESS";
9
+ MLModelStatus["ERROR"] = "ERROR";
10
+ MLModelStatus["ERROR_INTERNAL"] = "ERROR_INTERNAL";
11
+ MLModelStatus["LIMITED"] = "LIMITED";
12
+ MLModelStatus["NOT_ASSOCIATED"] = "NOT_ASSOCIATED";
13
+ MLModelStatus["ACTIVE"] = "ACTIVE";
14
+ MLModelStatus["INACTIVE"] = "INACTIVE";
15
+ })(MLModelStatus || (exports.MLModelStatus = MLModelStatus = {}));
3
16
  //# sourceMappingURL=MachineLearningInterfaces.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MachineLearningInterfaces.js","sourceRoot":"","sources":["../../../../src/resources/MachineLearning/MachineLearningInterfaces.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"MachineLearningInterfaces.js","sourceRoot":"","sources":["../../../../src/resources/MachineLearning/MachineLearningInterfaces.ts"],"names":[],"mappings":";;;AA0GA,IAAY,aAUX;AAVD,WAAY,aAAa;IACrB,sCAAqB,CAAA;IACrB,4DAA2C,CAAA;IAC3C,wDAAuC,CAAA;IACvC,gCAAe,CAAA;IACf,kDAAiC,CAAA;IACjC,oCAAmB,CAAA;IACnB,kDAAiC,CAAA;IACjC,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;AACzB,CAAC,EAVW,aAAa,6BAAb,aAAa,QAUxB"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const APICore_js_1 = tslib_1.__importDefault(require("../../../APICore.js"));
5
+ const Resource_js_1 = tslib_1.__importDefault(require("../../Resource.js"));
6
+ class ModelDetailedInfo extends Resource_js_1.default {
7
+ static baseUrl = `/rest/organizations/${APICore_js_1.default.orgPlaceholder}/machinelearning/configuration/modeldetailedinfo`;
8
+ get(modelId) {
9
+ return this.api.get(`${ModelDetailedInfo.baseUrl}/${modelId}`);
10
+ }
11
+ }
12
+ exports.default = ModelDetailedInfo;
13
+ //# sourceMappingURL=ModelDetailedInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetailedInfo.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfo.ts"],"names":[],"mappings":";;;AAAA,6EAAsC;AACtC,4EAAyC;AAGzC,MAAqB,iBAAkB,SAAQ,qBAAQ;IACnD,MAAM,CAAC,OAAO,GAAG,uBAAuB,oBAAG,CAAC,cAAc,kDAAkD,CAAC;IAE7G,GAAG,CAAC,OAAe;QACf,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAmB,GAAG,iBAAiB,CAAC,OAAO,IAAI,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;;AALL,oCAMC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ModelDetailedInfoInterfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetailedInfoInterfaces.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfoInterfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ModelDetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetails.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ModelDetailsBuildingStats.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetailsBuildingStats.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsBuildingStats.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ModelDetailsCommerceEvents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetailsCommerceEvents.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsCommerceEvents.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ModelDetailsLanguages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetailsLanguages.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ModelDetailsStatsPerSource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetailsStatsPerSource.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsStatsPerSource.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ModelDetailsSubModels.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetailsSubModels.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsSubModels.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./ModelDetails.js"), exports);
5
+ tslib_1.__exportStar(require("./ModelDetailsBuildingStats.js"), exports);
6
+ tslib_1.__exportStar(require("./ModelDetailsCommerceEvents.js"), exports);
7
+ tslib_1.__exportStar(require("./ModelDetailsLanguages.js"), exports);
8
+ tslib_1.__exportStar(require("./ModelDetailsStatsPerSource.js"), exports);
9
+ tslib_1.__exportStar(require("./ModelDetailsSubModels.js"), exports);
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/index.ts"],"names":[],"mappings":";;;AAAA,4DAAkC;AAClC,yEAA+C;AAC/C,0EAAgD;AAChD,qEAA2C;AAC3C,0EAAgD;AAChD,qEAA2C"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./details/index.js"), exports);
5
+ tslib_1.__exportStar(require("./ModelDetailedInfo.js"), exports);
6
+ tslib_1.__exportStar(require("./ModelDetailedInfoInterfaces.js"), exports);
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelDetailedInfo/index.ts"],"names":[],"mappings":";;;AAAA,6DAAmC;AACnC,iEAAuC;AACvC,2EAAiD"}
@@ -1,19 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CaseClassificationConfiguration/index.js"), exports);
5
+ tslib_1.__exportStar(require("./DNEConfiguration/index.js"), exports);
6
+ tslib_1.__exportStar(require("./DocumentInterfaces.js"), exports);
7
+ tslib_1.__exportStar(require("./FilterConditions.js"), exports);
8
+ tslib_1.__exportStar(require("./IAPRConfiguration/index.js"), exports);
4
9
  tslib_1.__exportStar(require("./MachineLearning.js"), exports);
5
10
  tslib_1.__exportStar(require("./MachineLearningInterfaces.js"), exports);
6
- tslib_1.__exportStar(require("./FilterConditions.js"), exports);
7
- tslib_1.__exportStar(require("./DocumentInterfaces.js"), exports);
8
- tslib_1.__exportStar(require("./Models/index.js"), exports);
11
+ tslib_1.__exportStar(require("./ModelDetailedInfo/index.js"), exports);
9
12
  tslib_1.__exportStar(require("./ModelInformation/index.js"), exports);
10
13
  tslib_1.__exportStar(require("./ModelListing/index.js"), exports);
11
- tslib_1.__exportStar(require("./DNEConfiguration/index.js"), exports);
12
- tslib_1.__exportStar(require("./CaseClassificationConfiguration/index.js"), exports);
13
- tslib_1.__exportStar(require("./SmartSnippetsConfiguration/index.js"), exports);
14
+ tslib_1.__exportStar(require("./Models/index.js"), exports);
14
15
  tslib_1.__exportStar(require("./PQSConfiguration/index.js"), exports);
16
+ tslib_1.__exportStar(require("./RGAConfiguration/index.js"), exports);
15
17
  tslib_1.__exportStar(require("./SemanticEncoderConfiguration/index.js"), exports);
16
- tslib_1.__exportStar(require("./IAPRConfiguration/index.js"), exports);
18
+ tslib_1.__exportStar(require("./SmartSnippetsConfiguration/index.js"), exports);
17
19
  tslib_1.__exportStar(require("./UserActionHistoryConfiguration/index.js"), exports);
18
- tslib_1.__exportStar(require("./RGAConfiguration/index.js"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/MachineLearning/index.ts"],"names":[],"mappings":";;;AAAA,+DAAqC;AACrC,yEAA+C;AAC/C,gEAAsC;AACtC,kEAAwC;AACxC,4DAAkC;AAClC,sEAA4C;AAC5C,kEAAwC;AACxC,sEAA4C;AAC5C,qFAA2D;AAC3D,gFAAsD;AACtD,sEAA4C;AAC5C,kFAAwD;AACxD,uEAA6C;AAC7C,oFAA0D;AAC1D,sEAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/MachineLearning/index.ts"],"names":[],"mappings":";;;AAAA,qFAA2D;AAC3D,sEAA4C;AAC5C,kEAAwC;AACxC,gEAAsC;AACtC,uEAA6C;AAC7C,+DAAqC;AACrC,yEAA+C;AAC/C,uEAA6C;AAC7C,sEAA4C;AAC5C,kEAAwC;AACxC,4DAAkC;AAClC,sEAA4C;AAC5C,sEAA4C;AAC5C,kFAAwD;AACxD,gFAAsD;AACtD,oFAA0D"}
@@ -2,14 +2,15 @@ import API from '../../APICore.js';
2
2
  import Resource from '../Resource.js';
3
3
  import CaseClassificationConfiguration from './CaseClassificationConfiguration/CaseClassificationConfiguration.js';
4
4
  import DNEConfiguration from './DNEConfiguration/DNEConfiguration.js';
5
- import SmartSnippetsConfiguration from './SmartSnippetsConfiguration/SmartSnippetsConfiguration.js';
6
- import Models from './Models/Models.js';
7
- import PQSConfiguration from './PQSConfiguration/PQSConfiguration.js';
8
- import UserActionHistoryConfiguration from './UserActionHistoryConfiguration/UserActionHistoryConfiguration.js';
9
5
  import IAPRConfiguration from './IAPRConfiguration/IAPRConfiguration.js';
6
+ import ModelDetailedInfo from './ModelDetailedInfo/ModelDetailedInfo.js';
10
7
  import ModelListing from './ModelListing/ModelListing.js';
8
+ import Models from './Models/Models.js';
9
+ import PQSConfiguration from './PQSConfiguration/PQSConfiguration.js';
11
10
  import RelevanceGenerativeAnsweringConfiguration from './RGAConfiguration/RelevanceGenerativeAnsweringConfiguration.js';
12
11
  import SemanticEncoderConfiguration from './SemanticEncoderConfiguration/SemanticEncoderConfiguration.js';
12
+ import SmartSnippetsConfiguration from './SmartSnippetsConfiguration/SmartSnippetsConfiguration.js';
13
+ import UserActionHistoryConfiguration from './UserActionHistoryConfiguration/UserActionHistoryConfiguration.js';
13
14
  export default class MachineLearning extends Resource {
14
15
  api;
15
16
  serverlessApi;
@@ -24,6 +25,7 @@ export default class MachineLearning extends Resource {
24
25
  modelListing;
25
26
  relevanceGenerativeAnsweringConfig;
26
27
  semanticEncoderConfig;
28
+ modelDetailedInfo;
27
29
  constructor(api, serverlessApi) {
28
30
  super(api, serverlessApi);
29
31
  this.api = api;
@@ -38,6 +40,7 @@ export default class MachineLearning extends Resource {
38
40
  this.modelListing = new ModelListing(api, serverlessApi);
39
41
  this.relevanceGenerativeAnsweringConfig = new RelevanceGenerativeAnsweringConfiguration(api, serverlessApi);
40
42
  this.semanticEncoderConfig = new SemanticEncoderConfiguration(api, serverlessApi);
43
+ this.modelDetailedInfo = new ModelDetailedInfo(api, serverlessApi);
41
44
  }
42
45
  register(registration) {
43
46
  return this.api.post(`${MachineLearning.baseUrl}/model`, registration);
@@ -1 +1 @@
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8BAA8B,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QACtF,IAAI,CAAC,YAAY,GAAG,IAAI,YAAY,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QACzD,IAAI,CAAC,kCAAkC,GAAG,IAAI,yCAAyC,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QAC5G,IAAI,CAAC,qBAAqB,GAAG,IAAI,4BAA4B,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QAClF,IAAI,CAAC,iBAAiB,GAAG,IAAI,iBAAiB,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;IACvE,CAAC;IAED,QAAQ,CAAC,YAA+B;QACpC,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAiB,GAAG,eAAe,CAAC,OAAO,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC3F,CAAC"}
@@ -1,2 +1,13 @@
1
- export {};
1
+ export var MLModelStatus;
2
+ (function (MLModelStatus) {
3
+ MLModelStatus["ARCHIVED"] = "ARCHIVED";
4
+ MLModelStatus["SOON_TO_BE_ARCHIVED"] = "SOON_TO_BE_ARCHIVED";
5
+ MLModelStatus["BUILD_IN_PROGRESS"] = "BUILD_IN_PROGRESS";
6
+ MLModelStatus["ERROR"] = "ERROR";
7
+ MLModelStatus["ERROR_INTERNAL"] = "ERROR_INTERNAL";
8
+ MLModelStatus["LIMITED"] = "LIMITED";
9
+ MLModelStatus["NOT_ASSOCIATED"] = "NOT_ASSOCIATED";
10
+ MLModelStatus["ACTIVE"] = "ACTIVE";
11
+ MLModelStatus["INACTIVE"] = "INACTIVE";
12
+ })(MLModelStatus || (MLModelStatus = {}));
2
13
  //# sourceMappingURL=MachineLearningInterfaces.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MachineLearningInterfaces.js","sourceRoot":"","sources":["../../../../src/resources/MachineLearning/MachineLearningInterfaces.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"MachineLearningInterfaces.js","sourceRoot":"","sources":["../../../../src/resources/MachineLearning/MachineLearningInterfaces.ts"],"names":[],"mappings":"AA0GA,MAAM,CAAN,IAAY,aAUX;AAVD,WAAY,aAAa;IACrB,sCAAqB,CAAA;IACrB,4DAA2C,CAAA;IAC3C,wDAAuC,CAAA;IACvC,gCAAe,CAAA;IACf,kDAAiC,CAAA;IACjC,oCAAmB,CAAA;IACnB,kDAAiC,CAAA;IACjC,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;AACzB,CAAC,EAVW,aAAa,KAAb,aAAa,QAUxB"}
@@ -0,0 +1,9 @@
1
+ import API from '../../../APICore.js';
2
+ import Resource from '../../Resource.js';
3
+ export default class ModelDetailedInfo extends Resource {
4
+ static baseUrl = `/rest/organizations/${API.orgPlaceholder}/machinelearning/configuration/modeldetailedinfo`;
5
+ get(modelId) {
6
+ return this.api.get(`${ModelDetailedInfo.baseUrl}/${modelId}`);
7
+ }
8
+ }
9
+ //# sourceMappingURL=ModelDetailedInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetailedInfo.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfo.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,qBAAqB,CAAC;AACtC,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AAGzC,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,QAAQ;IACnD,MAAM,CAAC,OAAO,GAAG,uBAAuB,GAAG,CAAC,cAAc,kDAAkD,CAAC;IAE7G,GAAG,CAAC,OAAe;QACf,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAmB,GAAG,iBAAiB,CAAC,OAAO,IAAI,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ModelDetailedInfoInterfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetailedInfoInterfaces.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfoInterfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ModelDetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetails.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ModelDetailsBuildingStats.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetailsBuildingStats.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsBuildingStats.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ModelDetailsCommerceEvents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetailsCommerceEvents.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsCommerceEvents.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ModelDetailsLanguages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetailsLanguages.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ModelDetailsStatsPerSource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetailsStatsPerSource.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsStatsPerSource.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ModelDetailsSubModels.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelDetailsSubModels.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsSubModels.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ export * from './ModelDetails.js';
2
+ export * from './ModelDetailsBuildingStats.js';
3
+ export * from './ModelDetailsCommerceEvents.js';
4
+ export * from './ModelDetailsLanguages.js';
5
+ export * from './ModelDetailsStatsPerSource.js';
6
+ export * from './ModelDetailsSubModels.js';
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/resources/MachineLearning/ModelDetailedInfo/details/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './details/index.js';
2
+ export * from './ModelDetailedInfo.js';
3
+ export * from './ModelDetailedInfoInterfaces.js';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelDetailedInfo/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC"}
@@ -1,16 +1,17 @@
1
+ export * from './CaseClassificationConfiguration/index.js';
2
+ export * from './DNEConfiguration/index.js';
3
+ export * from './DocumentInterfaces.js';
4
+ export * from './FilterConditions.js';
5
+ export * from './IAPRConfiguration/index.js';
1
6
  export * from './MachineLearning.js';
2
7
  export * from './MachineLearningInterfaces.js';
3
- export * from './FilterConditions.js';
4
- export * from './DocumentInterfaces.js';
5
- export * from './Models/index.js';
8
+ export * from './ModelDetailedInfo/index.js';
6
9
  export * from './ModelInformation/index.js';
7
10
  export * from './ModelListing/index.js';
8
- export * from './DNEConfiguration/index.js';
9
- export * from './CaseClassificationConfiguration/index.js';
10
- export * from './SmartSnippetsConfiguration/index.js';
11
+ export * from './Models/index.js';
11
12
  export * from './PQSConfiguration/index.js';
13
+ export * from './RGAConfiguration/index.js';
12
14
  export * from './SemanticEncoderConfiguration/index.js';
13
- export * from './IAPRConfiguration/index.js';
15
+ export * from './SmartSnippetsConfiguration/index.js';
14
16
  export * from './UserActionHistoryConfiguration/index.js';
15
- export * from './RGAConfiguration/index.js';
16
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/MachineLearning/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yCAAyC,CAAC;AACxD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/MachineLearning/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC"}
@@ -2,15 +2,16 @@ import API from '../../APICore.js';
2
2
  import Resource from '../Resource.js';
3
3
  import CaseClassificationConfiguration from './CaseClassificationConfiguration/CaseClassificationConfiguration.js';
4
4
  import DNEConfiguration from './DNEConfiguration/DNEConfiguration.js';
5
- import SmartSnippetsConfiguration from './SmartSnippetsConfiguration/SmartSnippetsConfiguration.js';
5
+ import IAPRConfiguration from './IAPRConfiguration/IAPRConfiguration.js';
6
6
  import { MLModelCreated, RegistrationModel } from './MachineLearningInterfaces.js';
7
+ import ModelDetailedInfo from './ModelDetailedInfo/ModelDetailedInfo.js';
8
+ import ModelListing from './ModelListing/ModelListing.js';
7
9
  import Models from './Models/Models.js';
8
10
  import PQSConfiguration from './PQSConfiguration/PQSConfiguration.js';
9
- import UserActionHistoryConfiguration from './UserActionHistoryConfiguration/UserActionHistoryConfiguration.js';
10
- import IAPRConfiguration from './IAPRConfiguration/IAPRConfiguration.js';
11
- import ModelListing from './ModelListing/ModelListing.js';
12
11
  import RelevanceGenerativeAnsweringConfiguration from './RGAConfiguration/RelevanceGenerativeAnsweringConfiguration.js';
13
12
  import SemanticEncoderConfiguration from './SemanticEncoderConfiguration/SemanticEncoderConfiguration.js';
13
+ import SmartSnippetsConfiguration from './SmartSnippetsConfiguration/SmartSnippetsConfiguration.js';
14
+ import UserActionHistoryConfiguration from './UserActionHistoryConfiguration/UserActionHistoryConfiguration.js';
14
15
  export default class MachineLearning extends Resource {
15
16
  protected api: API;
16
17
  protected serverlessApi: API;
@@ -25,6 +26,7 @@ export default class MachineLearning extends Resource {
25
26
  modelListing: ModelListing;
26
27
  relevanceGenerativeAnsweringConfig: RelevanceGenerativeAnsweringConfiguration;
27
28
  semanticEncoderConfig: SemanticEncoderConfiguration;
29
+ modelDetailedInfo: ModelDetailedInfo;
28
30
  constructor(api: API, serverlessApi: API);
29
31
  register(registration: RegistrationModel): Promise<MLModelCreated>;
30
32
  }
@@ -85,3 +85,14 @@ export interface MLModelCreated extends New<MLModel> {
85
85
  startTime?: number;
86
86
  resourceId?: string;
87
87
  }
88
+ export declare enum MLModelStatus {
89
+ ARCHIVED = "ARCHIVED",
90
+ SOON_TO_BE_ARCHIVED = "SOON_TO_BE_ARCHIVED",
91
+ BUILD_IN_PROGRESS = "BUILD_IN_PROGRESS",
92
+ ERROR = "ERROR",
93
+ ERROR_INTERNAL = "ERROR_INTERNAL",
94
+ LIMITED = "LIMITED",
95
+ NOT_ASSOCIATED = "NOT_ASSOCIATED",
96
+ ACTIVE = "ACTIVE",
97
+ INACTIVE = "INACTIVE"
98
+ }
@@ -0,0 +1,6 @@
1
+ import Resource from '../../Resource.js';
2
+ import { ModelWithDetails } from './ModelDetailedInfoInterfaces.js';
3
+ export default class ModelDetailedInfo extends Resource {
4
+ static baseUrl: string;
5
+ get(modelId: string): Promise<ModelWithDetails>;
6
+ }
@@ -0,0 +1,95 @@
1
+ import { MLModelStatus } from '../MachineLearningInterfaces.js';
2
+ import { ModelDetails } from './details/ModelDetails.js';
3
+ export interface ModelAssociation {
4
+ /**
5
+ * The unique identifier of the query pipeline to which the model is associated.
6
+ * @example 38b08160-d7d4-4626-8e03-53587c23415d
7
+ */
8
+ parentId: string;
9
+ /**
10
+ * The unique identifier of the model association.
11
+ * @example 917af358-13fd-4c8e-94af-7cf649bddc48
12
+ */
13
+ id: string;
14
+ /**
15
+ * The name of the query pipeline or case assist configuration the model is associated with.
16
+ * @example association name
17
+ */
18
+ name: string;
19
+ /**
20
+ * The type of the association.
21
+ * @example QUERY_PIPELINE
22
+ */
23
+ associationType: 'QUERY_PIPELINE' | 'CASE_ASSIST';
24
+ }
25
+ export interface ModelIssues {
26
+ /**
27
+ * A description of an error or limitation present in the model.
28
+ */
29
+ description: string;
30
+ /**
31
+ * The recommended action to perform to resolve the error or limitation.
32
+ */
33
+ troubleshoot: string;
34
+ }
35
+ export interface ModelStatusInfo {
36
+ /**
37
+ * The status of the model.
38
+ * @example ACTIVE
39
+ */
40
+ modelStatus: MLModelStatus;
41
+ /**
42
+ * The remaining days until the model is archived.
43
+ * @example 2
44
+ */
45
+ daysUntilArchival: number;
46
+ }
47
+ export interface ModelWithDetails {
48
+ /**
49
+ * The id of the engine.
50
+ * @Example topclicks
51
+ */
52
+ engineId: string;
53
+ /**
54
+ * The unique identifier of the target machine learning model.
55
+ * @example My_Model_ID
56
+ */
57
+ modelId: string;
58
+ /**
59
+ * The name of the model configuration.
60
+ * @example My model
61
+ */
62
+ modelDisplayName: string;
63
+ /**
64
+ * The associations related to this model.
65
+ * @example [{
66
+ * "parentId": "38b08160-d7d4-4626-8e03-53587c23415d",
67
+ * "id": "917af358-13fd-4c8e-94af-7cf649bddc48",
68
+ * "name": "test pipeline",
69
+ * "associationType": "QUERY_PIPELINE"
70
+ * }]
71
+ */
72
+ modelAssociations: ModelAssociation[];
73
+ /**
74
+ * The date and time the model was last updated.
75
+ * @example 1691762520000
76
+ */
77
+ estimatedPreviousModelUpdateTime: number;
78
+ /**
79
+ * The date and time the model is scheduled to start its next update.
80
+ * @example 1691762520000
81
+ */
82
+ nextModelUpdateTime: number;
83
+ /**
84
+ * The description and troubleshooting messages for a model error or limitation.
85
+ */
86
+ modelIssues: ModelIssues[];
87
+ /**
88
+ * The detailed information about the model.
89
+ */
90
+ modelDetails?: ModelDetails;
91
+ /**
92
+ * The current status of the model.
93
+ */
94
+ modelStatusInfo: ModelStatusInfo;
95
+ }
@@ -0,0 +1,21 @@
1
+ import { ModelDetailsBuildingStats } from './ModelDetailsBuildingStats.js';
2
+ import { ModelDetailsLanguages } from './ModelDetailsLanguages.js';
3
+ import { ModelDetailsSubModels } from './ModelDetailsSubModels.js';
4
+ export interface ModelDetails {
5
+ possibleRecommendations?: number;
6
+ totalQueries?: number;
7
+ recommendationsPerLanguage?: Map<string, number>;
8
+ userContextFields?: string[];
9
+ contentIDKeys?: string[];
10
+ candidatesPerFilters?: Map<string, number>;
11
+ contextCandidateExamples?: Map<string, string[]>;
12
+ languages?: Map<string, ModelDetailsLanguages>;
13
+ candidateExamples?: Map<string, string[]>;
14
+ candidatesPerLanguages?: Map<string, number>;
15
+ minClickCountPerLang?: Map<string, number>;
16
+ subModels?: {
17
+ [key: string]: ModelDetailsSubModels;
18
+ };
19
+ candidates?: number;
20
+ modelDetailedBuildingStats?: ModelDetailsBuildingStats;
21
+ }
@@ -0,0 +1,30 @@
1
+ import { ModelDetailsCommerceEvents } from './ModelDetailsCommerceEvents.js';
2
+ import { ModelDetailsStatsPerSource } from './ModelDetailsStatsPerSource.js';
3
+ export interface ModelDetailsBuildingStats {
4
+ documentWithSnippetRatio?: number;
5
+ headerCount?: number;
6
+ snippetCount?: number;
7
+ meanSnippetLength?: number;
8
+ documentCount?: number;
9
+ documentWithSnippetCount?: number;
10
+ searchEventCount?: number;
11
+ clickEventCount?: number;
12
+ viewEventCount?: number;
13
+ customEventCount?: number;
14
+ segmentedVisitsCount?: number;
15
+ searchCount?: number;
16
+ clickCount?: number;
17
+ viewCount?: number;
18
+ visitsCount?: number;
19
+ facetSelectEventCount?: number;
20
+ snippetsPerDocument?: {
21
+ min?: number;
22
+ max?: number;
23
+ mean?: number;
24
+ };
25
+ invalidHtmlDocumentCount?: number;
26
+ documentWithoutIdCount?: number;
27
+ documentWithDuplicatedIdCount?: number;
28
+ commerceEventCounts?: ModelDetailsCommerceEvents;
29
+ modelDetailedStatsPerSource?: ModelDetailsStatsPerSource[];
30
+ }
@@ -0,0 +1,6 @@
1
+ export interface ModelDetailsCommerceEvents {
2
+ removeFromCart?: number;
3
+ addToCart?: number;
4
+ addPurchase?: number;
5
+ detailView?: number;
6
+ }
@@ -0,0 +1,8 @@
1
+ export interface ModelDetailsLanguages {
2
+ queries?: number;
3
+ words?: number;
4
+ stopwords?: number;
5
+ topfacets?: string[];
6
+ contextKeysToDocuments?: Map<string, number>;
7
+ docPerFilters?: Map<string, number>;
8
+ }
@@ -0,0 +1,7 @@
1
+ export interface ModelDetailsStatsPerSource {
2
+ sourceName: string;
3
+ documentCount: number;
4
+ invalidHtmlDocumentCount: number;
5
+ documentWithoutIdCount: number;
6
+ documentWithDuplicatedIdCount: number;
7
+ }
@@ -0,0 +1,5 @@
1
+ export interface ModelDetailsSubModels {
2
+ numOfItems?: number;
3
+ candidates?: string[] | string[][];
4
+ numOfUsers?: number;
5
+ }
@@ -0,0 +1,6 @@
1
+ export * from './ModelDetails.js';
2
+ export * from './ModelDetailsBuildingStats.js';
3
+ export * from './ModelDetailsCommerceEvents.js';
4
+ export * from './ModelDetailsLanguages.js';
5
+ export * from './ModelDetailsStatsPerSource.js';
6
+ export * from './ModelDetailsSubModels.js';
@@ -0,0 +1,3 @@
1
+ export * from './details/index.js';
2
+ export * from './ModelDetailedInfo.js';
3
+ export * from './ModelDetailedInfoInterfaces.js';
@@ -1,3 +1,4 @@
1
+ import { MLModelStatus } from '../MachineLearningInterfaces.js';
1
2
  export interface MLListingModel {
2
3
  /**
3
4
  * The model display name in the Coveo Administration console.
@@ -50,7 +51,7 @@ export interface MLModelStatusInfo {
50
51
  * The status of the model.
51
52
  * @Example `ACTIVE`
52
53
  */
53
- modelStatus: 'ARCHIVED' | 'SOON_TO_BE_ARCHIVED' | 'BUILD_IN_PROGRESS' | 'ERROR' | 'ERROR_INTERNAL' | 'LIMITED' | 'NOT_ASSOCIATED' | 'ACTIVE' | 'INACTIVE';
54
+ modelStatus: MLModelStatus;
54
55
  /**
55
56
  * The remaining days until the model is archived.
56
57
  * @Example `4`
@@ -1,15 +1,16 @@
1
+ export * from './CaseClassificationConfiguration/index.js';
2
+ export * from './DNEConfiguration/index.js';
3
+ export * from './DocumentInterfaces.js';
4
+ export * from './FilterConditions.js';
5
+ export * from './IAPRConfiguration/index.js';
1
6
  export * from './MachineLearning.js';
2
7
  export * from './MachineLearningInterfaces.js';
3
- export * from './FilterConditions.js';
4
- export * from './DocumentInterfaces.js';
5
- export * from './Models/index.js';
8
+ export * from './ModelDetailedInfo/index.js';
6
9
  export * from './ModelInformation/index.js';
7
10
  export * from './ModelListing/index.js';
8
- export * from './DNEConfiguration/index.js';
9
- export * from './CaseClassificationConfiguration/index.js';
10
- export * from './SmartSnippetsConfiguration/index.js';
11
+ export * from './Models/index.js';
11
12
  export * from './PQSConfiguration/index.js';
13
+ export * from './RGAConfiguration/index.js';
12
14
  export * from './SemanticEncoderConfiguration/index.js';
13
- export * from './IAPRConfiguration/index.js';
15
+ export * from './SmartSnippetsConfiguration/index.js';
14
16
  export * from './UserActionHistoryConfiguration/index.js';
15
- export * from './RGAConfiguration/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/platform-client",
3
- "version": "56.0.0",
3
+ "version": "56.1.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {