@coveo/platform-client 57.12.1 → 57.13.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.
- package/dist/cjs/resources/MachineLearning/MachineLearning.js +3 -0
- package/dist/cjs/resources/MachineLearning/MachineLearning.js.map +1 -1
- package/dist/cjs/resources/MachineLearning/ModelAssociations/ModelAssociations.js +19 -0
- package/dist/cjs/resources/MachineLearning/ModelAssociations/ModelAssociations.js.map +1 -0
- package/dist/cjs/resources/MachineLearning/ModelAssociations/ModelAssociationsInterfaces.js +3 -0
- package/dist/cjs/resources/MachineLearning/ModelAssociations/ModelAssociationsInterfaces.js.map +1 -0
- package/dist/cjs/resources/MachineLearning/ModelAssociations/index.js +6 -0
- package/dist/cjs/resources/MachineLearning/ModelAssociations/index.js.map +1 -0
- package/dist/cjs/resources/MachineLearning/index.js +1 -0
- package/dist/cjs/resources/MachineLearning/index.js.map +1 -1
- package/dist/esm/resources/MachineLearning/MachineLearning.js +3 -0
- package/dist/esm/resources/MachineLearning/MachineLearning.js.map +1 -1
- package/dist/esm/resources/MachineLearning/ModelAssociations/ModelAssociations.js +15 -0
- package/dist/esm/resources/MachineLearning/ModelAssociations/ModelAssociations.js.map +1 -0
- package/dist/esm/resources/MachineLearning/ModelAssociations/ModelAssociationsInterfaces.js +2 -0
- package/dist/esm/resources/MachineLearning/ModelAssociations/ModelAssociationsInterfaces.js.map +1 -0
- package/dist/esm/resources/MachineLearning/ModelAssociations/index.js +3 -0
- package/dist/esm/resources/MachineLearning/ModelAssociations/index.js.map +1 -0
- package/dist/esm/resources/MachineLearning/index.js +1 -0
- package/dist/esm/resources/MachineLearning/index.js.map +1 -1
- package/dist/types/resources/MachineLearning/MachineLearning.d.ts +2 -0
- package/dist/types/resources/MachineLearning/ModelAssociations/ModelAssociations.d.ts +13 -0
- package/dist/types/resources/MachineLearning/ModelAssociations/ModelAssociationsInterfaces.d.ts +57 -0
- package/dist/types/resources/MachineLearning/ModelAssociations/index.d.ts +2 -0
- package/dist/types/resources/MachineLearning/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ 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
8
|
const IAPRConfiguration_js_1 = tslib_1.__importDefault(require("./IAPRConfiguration/IAPRConfiguration.js"));
|
|
9
|
+
const ModelAssociations_js_1 = tslib_1.__importDefault(require("./ModelAssociations/ModelAssociations.js"));
|
|
9
10
|
const ModelDetailedInfo_js_1 = tslib_1.__importDefault(require("./ModelDetailedInfo/ModelDetailedInfo.js"));
|
|
10
11
|
const ModelListing_js_1 = tslib_1.__importDefault(require("./ModelListing/ModelListing.js"));
|
|
11
12
|
const Models_js_1 = tslib_1.__importDefault(require("./Models/Models.js"));
|
|
@@ -29,6 +30,7 @@ class MachineLearning extends Resource_js_1.default {
|
|
|
29
30
|
relevanceGenerativeAnsweringConfig;
|
|
30
31
|
semanticEncoderConfig;
|
|
31
32
|
modelDetailedInfo;
|
|
33
|
+
modelAssociations;
|
|
32
34
|
constructor(api, serverlessApi) {
|
|
33
35
|
super(api, serverlessApi);
|
|
34
36
|
this.api = api;
|
|
@@ -44,6 +46,7 @@ class MachineLearning extends Resource_js_1.default {
|
|
|
44
46
|
this.relevanceGenerativeAnsweringConfig = new RelevanceGenerativeAnsweringConfiguration_js_1.default(api, serverlessApi);
|
|
45
47
|
this.semanticEncoderConfig = new SemanticEncoderConfiguration_js_1.default(api, serverlessApi);
|
|
46
48
|
this.modelDetailedInfo = new ModelDetailedInfo_js_1.default(api, serverlessApi);
|
|
49
|
+
this.modelAssociations = new ModelAssociations_js_1.default(api, serverlessApi);
|
|
47
50
|
}
|
|
48
51
|
register(registration) {
|
|
49
52
|
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,4GAAyE;AAEzE,4GAAyE;AACzE,6FAA0D;AAC1D,2EAAwC;AACxC,yGAAsE;AACtE,2JAAwH;AACxH,6IAA0G;AAC1G,uIAAoG;AACpG,mJAAgH;AAEhH,MAAqB,eAAgB,SAAQ,qBAAQ;
|
|
1
|
+
{"version":3,"file":"MachineLearning.js","sourceRoot":"","sources":["../../../../src/resources/MachineLearning/MachineLearning.ts"],"names":[],"mappings":";;;AAAA,0EAAmC;AACnC,yEAAsC;AACtC,sJAAmH;AACnH,yGAAsE;AACtE,4GAAyE;AAEzE,4GAAyE;AACzE,4GAAyE;AACzE,6FAA0D;AAC1D,2EAAwC;AACxC,yGAAsE;AACtE,2JAAwH;AACxH,6IAA0G;AAC1G,uIAAoG;AACpG,mJAAgH;AAEhH,MAAqB,eAAgB,SAAQ,qBAAQ;IAiBnC;IACA;IAjBd,MAAM,CAAC,OAAO,GAAG,uBAAuB,oBAAG,CAAC,cAAc,kBAAkB,CAAC;IAE7E,MAAM,CAAS;IACf,SAAS,CAAmB;IAC5B,wBAAwB,CAAkC;IAC1D,mBAAmB,CAA6B;IAChD,uBAAuB,CAAiC;IACxD,SAAS,CAAmB;IAC5B,UAAU,CAAoB;IAC9B,YAAY,CAAe;IAC3B,kCAAkC,CAA4C;IAC9E,qBAAqB,CAA+B;IACpD,iBAAiB,CAAoB;IACrC,iBAAiB,CAAoB;IAErC,YACc,GAAQ,EACR,aAAkB;QAE5B,KAAK,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QAHhB,QAAG,GAAH,GAAG,CAAK;QACR,kBAAa,GAAb,aAAa,CAAK;QAI5B,IAAI,CAAC,M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
|
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 ModelAssociations extends Resource_js_1.default {
|
|
7
|
+
static baseUrl = `/rest/organizations/${APICore_js_1.default.orgPlaceholder}/machinelearning/configuration/querypipelines`;
|
|
8
|
+
/**
|
|
9
|
+
* Lists the organization associations corresponding to the specified pipelineId.
|
|
10
|
+
* @param pipelineId The unique identifier of the query pipeline.
|
|
11
|
+
* @param params The pagination parameters.
|
|
12
|
+
* @returns A list of associated models
|
|
13
|
+
*/
|
|
14
|
+
list(pipelineId, params) {
|
|
15
|
+
return this.api.get(this.buildPath(`${ModelAssociations.baseUrl}/${pipelineId}/associations`, params));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.default = ModelAssociations;
|
|
19
|
+
//# sourceMappingURL=ModelAssociations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelAssociations.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelAssociations/ModelAssociations.ts"],"names":[],"mappings":";;;AAAA,6EAAsC;AAEtC,4EAAyC;AAGzC,MAAqB,iBAAkB,SAAQ,qBAAQ;IACnD,MAAM,CAAC,OAAO,GAAG,uBAAuB,oBAAG,CAAC,cAAc,+CAA+C,CAAC;IAE1G;;;;;OAKG;IACH,IAAI,CAAC,UAAkB,EAAE,MAAmC;QACxD,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,iBAAiB,CAAC,OAAO,IAAI,UAAU,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC;IAC3G,CAAC;;AAXL,oCAYC"}
|
package/dist/cjs/resources/MachineLearning/ModelAssociations/ModelAssociationsInterfaces.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelAssociationsInterfaces.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelAssociations/ModelAssociationsInterfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./ModelAssociations.js"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ModelAssociationsInterfaces.js"), exports);
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelAssociations/index.ts"],"names":[],"mappings":";;;AAAA,iEAAuC;AACvC,2EAAiD"}
|
|
@@ -8,6 +8,7 @@ tslib_1.__exportStar(require("./FilterConditions.js"), exports);
|
|
|
8
8
|
tslib_1.__exportStar(require("./IAPRConfiguration/index.js"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./MachineLearning.js"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./MachineLearningInterfaces.js"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ModelAssociations/index.js"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./ModelDetailedInfo/index.js"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./ModelInformation/index.js"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./ModelListing/index.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
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"}
|
|
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,uEAA6C;AAC7C,sEAA4C;AAC5C,kEAAwC;AACxC,4DAAkC;AAClC,sEAA4C;AAC5C,sEAA4C;AAC5C,kFAAwD;AACxD,gFAAsD;AACtD,oFAA0D"}
|
|
@@ -3,6 +3,7 @@ import Resource from '../Resource.js';
|
|
|
3
3
|
import CaseClassificationConfiguration from './CaseClassificationConfiguration/CaseClassificationConfiguration.js';
|
|
4
4
|
import DNEConfiguration from './DNEConfiguration/DNEConfiguration.js';
|
|
5
5
|
import IAPRConfiguration from './IAPRConfiguration/IAPRConfiguration.js';
|
|
6
|
+
import ModelAssociations from './ModelAssociations/ModelAssociations.js';
|
|
6
7
|
import ModelDetailedInfo from './ModelDetailedInfo/ModelDetailedInfo.js';
|
|
7
8
|
import ModelListing from './ModelListing/ModelListing.js';
|
|
8
9
|
import Models from './Models/Models.js';
|
|
@@ -26,6 +27,7 @@ export default class MachineLearning extends Resource {
|
|
|
26
27
|
relevanceGenerativeAnsweringConfig;
|
|
27
28
|
semanticEncoderConfig;
|
|
28
29
|
modelDetailedInfo;
|
|
30
|
+
modelAssociations;
|
|
29
31
|
constructor(api, serverlessApi) {
|
|
30
32
|
super(api, serverlessApi);
|
|
31
33
|
this.api = api;
|
|
@@ -41,6 +43,7 @@ export default class MachineLearning extends Resource {
|
|
|
41
43
|
this.relevanceGenerativeAnsweringConfig = new RelevanceGenerativeAnsweringConfiguration(api, serverlessApi);
|
|
42
44
|
this.semanticEncoderConfig = new SemanticEncoderConfiguration(api, serverlessApi);
|
|
43
45
|
this.modelDetailedInfo = new ModelDetailedInfo(api, serverlessApi);
|
|
46
|
+
this.modelAssociations = new ModelAssociations(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,OAAO,GAAG,MAAM,kBAAkB,CAAC;AACnC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,+BAA+B,MAAM,sEAAsE,CAAC;AACnH,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,iBAAiB,MAAM,0CAA0C,CAAC;AAEzE,OAAO,iBAAiB,MAAM,0CAA0C,CAAC;AACzE,OAAO,YAAY,MAAM,gCAAgC,CAAC;AAC1D,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,yCAAyC,MAAM,iEAAiE,CAAC;AACxH,OAAO,4BAA4B,MAAM,gEAAgE,CAAC;AAC1G,OAAO,0BAA0B,MAAM,4DAA4D,CAAC;AACpG,OAAO,8BAA8B,MAAM,oEAAoE,CAAC;AAEhH,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,QAAQ;
|
|
1
|
+
{"version":3,"file":"MachineLearning.js","sourceRoot":"","sources":["../../../../src/resources/MachineLearning/MachineLearning.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,kBAAkB,CAAC;AACnC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,+BAA+B,MAAM,sEAAsE,CAAC;AACnH,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,iBAAiB,MAAM,0CAA0C,CAAC;AAEzE,OAAO,iBAAiB,MAAM,0CAA0C,CAAC;AACzE,OAAO,iBAAiB,MAAM,0CAA0C,CAAC;AACzE,OAAO,YAAY,MAAM,gC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AAI,iBAAiB,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;QAC5D,IAAI,CAAC,uBAAuB,GAAG,IAAI,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;QACnE,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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import API from '../../../APICore.js';
|
|
2
|
+
import Resource from '../../Resource.js';
|
|
3
|
+
export default class ModelAssociations extends Resource {
|
|
4
|
+
static baseUrl = `/rest/organizations/${API.orgPlaceholder}/machinelearning/configuration/querypipelines`;
|
|
5
|
+
/**
|
|
6
|
+
* Lists the organization associations corresponding to the specified pipelineId.
|
|
7
|
+
* @param pipelineId The unique identifier of the query pipeline.
|
|
8
|
+
* @param params The pagination parameters.
|
|
9
|
+
* @returns A list of associated models
|
|
10
|
+
*/
|
|
11
|
+
list(pipelineId, params) {
|
|
12
|
+
return this.api.get(this.buildPath(`${ModelAssociations.baseUrl}/${pipelineId}/associations`, params));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=ModelAssociations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelAssociations.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelAssociations/ModelAssociations.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAEtC,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AAGzC,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,QAAQ;IACnD,MAAM,CAAC,OAAO,GAAG,uBAAuB,GAAG,CAAC,cAAc,+CAA+C,CAAC;IAE1G;;;;;OAKG;IACH,IAAI,CAAC,UAAkB,EAAE,MAAmC;QACxD,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,iBAAiB,CAAC,OAAO,IAAI,UAAU,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC;IAC3G,CAAC"}
|
package/dist/esm/resources/MachineLearning/ModelAssociations/ModelAssociationsInterfaces.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelAssociationsInterfaces.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelAssociations/ModelAssociationsInterfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/ModelAssociations/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC"}
|
|
@@ -5,6 +5,7 @@ export * from './FilterConditions.js';
|
|
|
5
5
|
export * from './IAPRConfiguration/index.js';
|
|
6
6
|
export * from './MachineLearning.js';
|
|
7
7
|
export * from './MachineLearningInterfaces.js';
|
|
8
|
+
export * from './ModelAssociations/index.js';
|
|
8
9
|
export * from './ModelDetailedInfo/index.js';
|
|
9
10
|
export * from './ModelInformation/index.js';
|
|
10
11
|
export * from './ModelListing/index.js';
|
|
@@ -1 +1 @@
|
|
|
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"}
|
|
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,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"}
|
|
@@ -4,6 +4,7 @@ import CaseClassificationConfiguration from './CaseClassificationConfiguration/C
|
|
|
4
4
|
import DNEConfiguration from './DNEConfiguration/DNEConfiguration.js';
|
|
5
5
|
import IAPRConfiguration from './IAPRConfiguration/IAPRConfiguration.js';
|
|
6
6
|
import { MLModelCreated, RegistrationModel } from './MachineLearningInterfaces.js';
|
|
7
|
+
import ModelAssociations from './ModelAssociations/ModelAssociations.js';
|
|
7
8
|
import ModelDetailedInfo from './ModelDetailedInfo/ModelDetailedInfo.js';
|
|
8
9
|
import ModelListing from './ModelListing/ModelListing.js';
|
|
9
10
|
import Models from './Models/Models.js';
|
|
@@ -27,6 +28,7 @@ export default class MachineLearning extends Resource {
|
|
|
27
28
|
relevanceGenerativeAnsweringConfig: RelevanceGenerativeAnsweringConfiguration;
|
|
28
29
|
semanticEncoderConfig: SemanticEncoderConfiguration;
|
|
29
30
|
modelDetailedInfo: ModelDetailedInfo;
|
|
31
|
+
modelAssociations: ModelAssociations;
|
|
30
32
|
constructor(api: API, serverlessApi: API);
|
|
31
33
|
register(registration: RegistrationModel): Promise<MLModelCreated>;
|
|
32
34
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PageModel } from '../../BaseInterfaces.js';
|
|
2
|
+
import Resource from '../../Resource.js';
|
|
3
|
+
import { AssociationItem, ModelAssociationsListParams } from './ModelAssociationsInterfaces.js';
|
|
4
|
+
export default class ModelAssociations extends Resource {
|
|
5
|
+
static baseUrl: string;
|
|
6
|
+
/**
|
|
7
|
+
* Lists the organization associations corresponding to the specified pipelineId.
|
|
8
|
+
* @param pipelineId The unique identifier of the query pipeline.
|
|
9
|
+
* @param params The pagination parameters.
|
|
10
|
+
* @returns A list of associated models
|
|
11
|
+
*/
|
|
12
|
+
list(pipelineId: string, params: ModelAssociationsListParams): Promise<PageModel<AssociationItem>>;
|
|
13
|
+
}
|
package/dist/types/resources/MachineLearning/ModelAssociations/ModelAssociationsInterfaces.d.ts
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ConditionModel } from '../../Pipelines/index.js';
|
|
2
|
+
import { MLModelStatus } from '../MachineLearningInterfaces.js';
|
|
3
|
+
export interface ModelAssociationsListParams {
|
|
4
|
+
page: number;
|
|
5
|
+
pageSize: number;
|
|
6
|
+
}
|
|
7
|
+
export interface AssociationItem {
|
|
8
|
+
/**
|
|
9
|
+
* The unique identifier of the model association.
|
|
10
|
+
*/
|
|
11
|
+
associationId: string;
|
|
12
|
+
/**
|
|
13
|
+
* The unique identifier of the target machine learning model.
|
|
14
|
+
*/
|
|
15
|
+
modelId: string;
|
|
16
|
+
/**
|
|
17
|
+
* The id of the engine.
|
|
18
|
+
*/
|
|
19
|
+
engineId?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The name of the model configuration.
|
|
22
|
+
*/
|
|
23
|
+
modelDisplayName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The current status of the model.
|
|
26
|
+
* @example { modelStatus: "BUILDING", daysUntilArchival : 3 }
|
|
27
|
+
*/
|
|
28
|
+
modelStatusInfo?: {
|
|
29
|
+
/**
|
|
30
|
+
* The status of the model.
|
|
31
|
+
* @example "ACTIVE"
|
|
32
|
+
*/
|
|
33
|
+
modelStatus: MLModelStatus;
|
|
34
|
+
/**
|
|
35
|
+
* The remaining days until the model is archived.
|
|
36
|
+
*/
|
|
37
|
+
daysUntilArchival?: number;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* The condition that must be met to trigger the model association.
|
|
41
|
+
*/
|
|
42
|
+
condition?: ConditionModel;
|
|
43
|
+
/**
|
|
44
|
+
* The position at which this model association is evaluated in the query pipeline, relative to other model associations.
|
|
45
|
+
*/
|
|
46
|
+
position: number;
|
|
47
|
+
/**
|
|
48
|
+
* Whether the Coveo Administration Console should show the advanced configuration for this association.
|
|
49
|
+
*/
|
|
50
|
+
useAdvancedConfiguration?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* The additional parameters to send to Coveo ML.
|
|
53
|
+
*/
|
|
54
|
+
customQueryParameters?: {
|
|
55
|
+
submodel: string;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -5,6 +5,7 @@ export * from './FilterConditions.js';
|
|
|
5
5
|
export * from './IAPRConfiguration/index.js';
|
|
6
6
|
export * from './MachineLearning.js';
|
|
7
7
|
export * from './MachineLearningInterfaces.js';
|
|
8
|
+
export * from './ModelAssociations/index.js';
|
|
8
9
|
export * from './ModelDetailedInfo/index.js';
|
|
9
10
|
export * from './ModelInformation/index.js';
|
|
10
11
|
export * from './ModelListing/index.js';
|