neuralseekui 1.0.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/README.md +163 -0
- package/docs/AddIntentBody.md +10 -0
- package/docs/AnswersApi.md +160 -0
- package/docs/CategoriesApi.md +58 -0
- package/docs/CategoryBody.md +8 -0
- package/docs/CurateBody.md +9 -0
- package/docs/CuratedDataApi.md +59 -0
- package/docs/DelAnswerBody.md +6 -0
- package/docs/DelQuestionBody.md +7 -0
- package/docs/DelUserDataBody.md +7 -0
- package/docs/EditAnswerBody.md +7 -0
- package/docs/ExploreFilesBody.md +6 -0
- package/docs/ExploreUploadBody.md +6 -0
- package/docs/FdelBody.md +7 -0
- package/docs/FindAnswerIdBody.md +6 -0
- package/docs/FlagBody.md +7 -0
- package/docs/GodocumentBody.md +9 -0
- package/docs/GomaistroBody.md +7 -0
- package/docs/GomaistrotokensBody.md +7 -0
- package/docs/GooverBody.md +9 -0
- package/docs/GoperfBody.md +7 -0
- package/docs/GosemanticBody.md +9 -0
- package/docs/GotokensBody.md +7 -0
- package/docs/GovernanceApi.md +410 -0
- package/docs/IntentsApi.md +364 -0
- package/docs/LoadUserResponseBody.md +7 -0
- package/docs/MAIstroApi.md +265 -0
- package/docs/MaistroFilesBody.md +8 -0
- package/docs/MaistroOCRBody.md +6 -0
- package/docs/MergeBody.md +7 -0
- package/docs/QuestionsApi.md +58 -0
- package/docs/RenBody.md +7 -0
- package/docs/UnmergeBody.md +6 -0
- package/git_push.sh +52 -0
- package/mocha.opts +1 -0
- package/package.json +55 -0
- package/src/ApiClient.js +585 -0
- package/src/api/AnswersApi.js +179 -0
- package/src/api/CategoriesApi.js +85 -0
- package/src/api/CuratedDataApi.js +82 -0
- package/src/api/GovernanceApi.js +408 -0
- package/src/api/IntentsApi.js +367 -0
- package/src/api/MAIstroApi.js +262 -0
- package/src/api/QuestionsApi.js +85 -0
- package/src/index.js +279 -0
- package/src/model/AddIntentBody.js +91 -0
- package/src/model/CategoryBody.js +71 -0
- package/src/model/CurateBody.js +75 -0
- package/src/model/DelAnswerBody.js +55 -0
- package/src/model/DelQuestionBody.js +64 -0
- package/src/model/DelUserDataBody.js +62 -0
- package/src/model/EditAnswerBody.js +64 -0
- package/src/model/ExploreFilesBody.js +55 -0
- package/src/model/ExploreUploadBody.js +53 -0
- package/src/model/FdelBody.js +62 -0
- package/src/model/FindAnswerIdBody.js +55 -0
- package/src/model/FlagBody.js +61 -0
- package/src/model/GodocumentBody.js +76 -0
- package/src/model/GomaistroBody.js +62 -0
- package/src/model/GomaistrotokensBody.js +62 -0
- package/src/model/GooverBody.js +76 -0
- package/src/model/GoperfBody.js +62 -0
- package/src/model/GosemanticBody.js +76 -0
- package/src/model/GotokensBody.js +62 -0
- package/src/model/LoadUserResponseBody.js +64 -0
- package/src/model/MaistroFilesBody.js +69 -0
- package/src/model/MaistroOCRBody.js +53 -0
- package/src/model/MergeBody.js +64 -0
- package/src/model/RenBody.js +62 -0
- package/src/model/UnmergeBody.js +53 -0
- package/test/api/AnswersApi.spec.js +95 -0
- package/test/api/CategoriesApi.spec.js +59 -0
- package/test/api/CuratedDataApi.spec.js +60 -0
- package/test/api/GovernanceApi.spec.js +185 -0
- package/test/api/IntentsApi.spec.js +167 -0
- package/test/api/MAIstroApi.spec.js +134 -0
- package/test/api/QuestionsApi.spec.js +59 -0
- package/test/assert-equals.js +81 -0
- package/test/model/AddIntentBody.spec.js +76 -0
- package/test/model/CategoryBody.spec.js +64 -0
- package/test/model/CurateBody.spec.js +70 -0
- package/test/model/DelAnswerBody.spec.js +52 -0
- package/test/model/DelQuestionBody.spec.js +58 -0
- package/test/model/DelUserDataBody.spec.js +58 -0
- package/test/model/EditAnswerBody.spec.js +58 -0
- package/test/model/ExploreFilesBody.spec.js +52 -0
- package/test/model/ExploreUploadBody.spec.js +52 -0
- package/test/model/FdelBody.spec.js +58 -0
- package/test/model/FindAnswerIdBody.spec.js +52 -0
- package/test/model/FlagBody.spec.js +58 -0
- package/test/model/GodocumentBody.spec.js +70 -0
- package/test/model/GomaistroBody.spec.js +58 -0
- package/test/model/GomaistrotokensBody.spec.js +58 -0
- package/test/model/GooverBody.spec.js +70 -0
- package/test/model/GoperfBody.spec.js +58 -0
- package/test/model/GosemanticBody.spec.js +70 -0
- package/test/model/GotokensBody.spec.js +58 -0
- package/test/model/LoadUserResponseBody.spec.js +58 -0
- package/test/model/MaistroFilesBody.spec.js +64 -0
- package/test/model/MaistroOCRBody.spec.js +52 -0
- package/test/model/MergeBody.spec.js +58 -0
- package/test/model/RenBody.spec.js +58 -0
- package/test/model/UnmergeBody.spec.js +52 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek UI
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
* Contact: support@NeuralSeek.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
*
|
|
11
|
+
* Swagger Codegen version: 3.0.78
|
|
12
|
+
*
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
import ApiClient from '../ApiClient';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The GosemanticBody model module.
|
|
20
|
+
* @module model/GosemanticBody
|
|
21
|
+
* @version 1.0.0
|
|
22
|
+
*/
|
|
23
|
+
export default class GosemanticBody {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>GosemanticBody</code>.
|
|
26
|
+
* @alias module:model/GosemanticBody
|
|
27
|
+
* @class
|
|
28
|
+
*/
|
|
29
|
+
constructor() {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a <code>GosemanticBody</code> from a plain JavaScript object, optionally creating a new instance.
|
|
34
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
35
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
36
|
+
* @param {module:model/GosemanticBody} obj Optional instance to populate.
|
|
37
|
+
* @return {module:model/GosemanticBody} The populated <code>GosemanticBody</code> instance.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject(data, obj) {
|
|
40
|
+
if (data) {
|
|
41
|
+
obj = obj || new GosemanticBody();
|
|
42
|
+
if (data.hasOwnProperty('startDate'))
|
|
43
|
+
obj.startDate = ApiClient.convertToType(data['startDate'], 'String');
|
|
44
|
+
if (data.hasOwnProperty('endDate'))
|
|
45
|
+
obj.endDate = ApiClient.convertToType(data['endDate'], 'String');
|
|
46
|
+
if (data.hasOwnProperty('intent'))
|
|
47
|
+
obj.intent = ApiClient.convertToType(data['intent'], 'String');
|
|
48
|
+
if (data.hasOwnProperty('category'))
|
|
49
|
+
obj.category = ApiClient.convertToType(data['category'], 'String');
|
|
50
|
+
}
|
|
51
|
+
return obj;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* UTC date
|
|
57
|
+
* @member {String} startDate
|
|
58
|
+
*/
|
|
59
|
+
GosemanticBody.prototype.startDate = undefined;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* UTC date
|
|
63
|
+
* @member {String} endDate
|
|
64
|
+
*/
|
|
65
|
+
GosemanticBody.prototype.endDate = undefined;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @member {String} intent
|
|
69
|
+
*/
|
|
70
|
+
GosemanticBody.prototype.intent = undefined;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @member {String} category
|
|
74
|
+
*/
|
|
75
|
+
GosemanticBody.prototype.category = undefined;
|
|
76
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek UI
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
* Contact: support@NeuralSeek.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
*
|
|
11
|
+
* Swagger Codegen version: 3.0.78
|
|
12
|
+
*
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
import ApiClient from '../ApiClient';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The GotokensBody model module.
|
|
20
|
+
* @module model/GotokensBody
|
|
21
|
+
* @version 1.0.0
|
|
22
|
+
*/
|
|
23
|
+
export default class GotokensBody {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>GotokensBody</code>.
|
|
26
|
+
* @alias module:model/GotokensBody
|
|
27
|
+
* @class
|
|
28
|
+
*/
|
|
29
|
+
constructor() {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a <code>GotokensBody</code> from a plain JavaScript object, optionally creating a new instance.
|
|
34
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
35
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
36
|
+
* @param {module:model/GotokensBody} obj Optional instance to populate.
|
|
37
|
+
* @return {module:model/GotokensBody} The populated <code>GotokensBody</code> instance.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject(data, obj) {
|
|
40
|
+
if (data) {
|
|
41
|
+
obj = obj || new GotokensBody();
|
|
42
|
+
if (data.hasOwnProperty('startDate'))
|
|
43
|
+
obj.startDate = ApiClient.convertToType(data['startDate'], 'String');
|
|
44
|
+
if (data.hasOwnProperty('endDate'))
|
|
45
|
+
obj.endDate = ApiClient.convertToType(data['endDate'], 'String');
|
|
46
|
+
}
|
|
47
|
+
return obj;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* UTC date
|
|
53
|
+
* @member {String} startDate
|
|
54
|
+
*/
|
|
55
|
+
GotokensBody.prototype.startDate = undefined;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* UTC date
|
|
59
|
+
* @member {String} endDate
|
|
60
|
+
*/
|
|
61
|
+
GotokensBody.prototype.endDate = undefined;
|
|
62
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek UI
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
* Contact: support@NeuralSeek.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
*
|
|
11
|
+
* Swagger Codegen version: 3.0.78
|
|
12
|
+
*
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
import ApiClient from '../ApiClient';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The LoadUserResponseBody model module.
|
|
20
|
+
* @module model/LoadUserResponseBody
|
|
21
|
+
* @version 1.0.0
|
|
22
|
+
*/
|
|
23
|
+
export default class LoadUserResponseBody {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>LoadUserResponseBody</code>.
|
|
26
|
+
* @alias module:model/LoadUserResponseBody
|
|
27
|
+
* @class
|
|
28
|
+
*/
|
|
29
|
+
constructor() {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a <code>LoadUserResponseBody</code> from a plain JavaScript object, optionally creating a new instance.
|
|
34
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
35
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
36
|
+
* @param {module:model/LoadUserResponseBody} obj Optional instance to populate.
|
|
37
|
+
* @return {module:model/LoadUserResponseBody} The populated <code>LoadUserResponseBody</code> instance.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject(data, obj) {
|
|
40
|
+
if (data) {
|
|
41
|
+
obj = obj || new LoadUserResponseBody();
|
|
42
|
+
if (data.hasOwnProperty('intent'))
|
|
43
|
+
obj.intent = ApiClient.convertToType(data['intent'], 'String');
|
|
44
|
+
if (data.hasOwnProperty('examples'))
|
|
45
|
+
obj.examples = ApiClient.convertToType(data['examples'], 'String');
|
|
46
|
+
}
|
|
47
|
+
return obj;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* The new Intent name
|
|
53
|
+
* @member {String} intent
|
|
54
|
+
* @default ''
|
|
55
|
+
*/
|
|
56
|
+
LoadUserResponseBody.prototype.intent = '';
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* One or more example user questions, separated by a \\n
|
|
60
|
+
* @member {String} examples
|
|
61
|
+
* @default ''
|
|
62
|
+
*/
|
|
63
|
+
LoadUserResponseBody.prototype.examples = '';
|
|
64
|
+
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek UI
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
* Contact: support@NeuralSeek.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
*
|
|
11
|
+
* Swagger Codegen version: 3.0.78
|
|
12
|
+
*
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
import ApiClient from '../ApiClient';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The MaistroFilesBody model module.
|
|
20
|
+
* @module model/MaistroFilesBody
|
|
21
|
+
* @version 1.0.0
|
|
22
|
+
*/
|
|
23
|
+
export default class MaistroFilesBody {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>MaistroFilesBody</code>.
|
|
26
|
+
* @alias module:model/MaistroFilesBody
|
|
27
|
+
* @class
|
|
28
|
+
*/
|
|
29
|
+
constructor() {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a <code>MaistroFilesBody</code> from a plain JavaScript object, optionally creating a new instance.
|
|
34
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
35
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
36
|
+
* @param {module:model/MaistroFilesBody} obj Optional instance to populate.
|
|
37
|
+
* @return {module:model/MaistroFilesBody} The populated <code>MaistroFilesBody</code> instance.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject(data, obj) {
|
|
40
|
+
if (data) {
|
|
41
|
+
obj = obj || new MaistroFilesBody();
|
|
42
|
+
if (data.hasOwnProperty('search'))
|
|
43
|
+
obj.search = ApiClient.convertToType(data['search'], 'String');
|
|
44
|
+
if (data.hasOwnProperty('page'))
|
|
45
|
+
obj.page = ApiClient.convertToType(data['page'], 'Number');
|
|
46
|
+
if (data.hasOwnProperty('limit'))
|
|
47
|
+
obj.limit = ApiClient.convertToType(data['limit'], 'Number');
|
|
48
|
+
}
|
|
49
|
+
return obj;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @member {String} search
|
|
55
|
+
*/
|
|
56
|
+
MaistroFilesBody.prototype.search = undefined;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @member {Number} page
|
|
60
|
+
* @default 0
|
|
61
|
+
*/
|
|
62
|
+
MaistroFilesBody.prototype.page = 0;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @member {Number} limit
|
|
66
|
+
* @default 100
|
|
67
|
+
*/
|
|
68
|
+
MaistroFilesBody.prototype.limit = 100;
|
|
69
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek UI
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
* Contact: support@NeuralSeek.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
*
|
|
11
|
+
* Swagger Codegen version: 3.0.78
|
|
12
|
+
*
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
import ApiClient from '../ApiClient';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The MaistroOCRBody model module.
|
|
20
|
+
* @module model/MaistroOCRBody
|
|
21
|
+
* @version 1.0.0
|
|
22
|
+
*/
|
|
23
|
+
export default class MaistroOCRBody {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>MaistroOCRBody</code>.
|
|
26
|
+
* @alias module:model/MaistroOCRBody
|
|
27
|
+
* @class
|
|
28
|
+
*/
|
|
29
|
+
constructor() {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a <code>MaistroOCRBody</code> from a plain JavaScript object, optionally creating a new instance.
|
|
34
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
35
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
36
|
+
* @param {module:model/MaistroOCRBody} obj Optional instance to populate.
|
|
37
|
+
* @return {module:model/MaistroOCRBody} The populated <code>MaistroOCRBody</code> instance.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject(data, obj) {
|
|
40
|
+
if (data) {
|
|
41
|
+
obj = obj || new MaistroOCRBody();
|
|
42
|
+
if (data.hasOwnProperty('file'))
|
|
43
|
+
obj.file = ApiClient.convertToType(data['file'], 'Blob');
|
|
44
|
+
}
|
|
45
|
+
return obj;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @member {Blob} file
|
|
51
|
+
*/
|
|
52
|
+
MaistroOCRBody.prototype.file = undefined;
|
|
53
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek UI
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
* Contact: support@NeuralSeek.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
*
|
|
11
|
+
* Swagger Codegen version: 3.0.78
|
|
12
|
+
*
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
import ApiClient from '../ApiClient';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The MergeBody model module.
|
|
20
|
+
* @module model/MergeBody
|
|
21
|
+
* @version 1.0.0
|
|
22
|
+
*/
|
|
23
|
+
export default class MergeBody {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>MergeBody</code>.
|
|
26
|
+
* @alias module:model/MergeBody
|
|
27
|
+
* @class
|
|
28
|
+
* @param rows {Array.<String>}
|
|
29
|
+
*/
|
|
30
|
+
constructor(rows) {
|
|
31
|
+
this.rows = rows;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Constructs a <code>MergeBody</code> from a plain JavaScript object, optionally creating a new instance.
|
|
36
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
37
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
38
|
+
* @param {module:model/MergeBody} obj Optional instance to populate.
|
|
39
|
+
* @return {module:model/MergeBody} The populated <code>MergeBody</code> instance.
|
|
40
|
+
*/
|
|
41
|
+
static constructFromObject(data, obj) {
|
|
42
|
+
if (data) {
|
|
43
|
+
obj = obj || new MergeBody();
|
|
44
|
+
if (data.hasOwnProperty('intent'))
|
|
45
|
+
obj.intent = ApiClient.convertToType(data['intent'], 'String');
|
|
46
|
+
if (data.hasOwnProperty('rows'))
|
|
47
|
+
obj.rows = ApiClient.convertToType(data['rows'], ['String']);
|
|
48
|
+
}
|
|
49
|
+
return obj;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* The Intent name to use as the final once merged. This Intent name must be part of the rows array
|
|
55
|
+
* @member {String} intent
|
|
56
|
+
* @default ''
|
|
57
|
+
*/
|
|
58
|
+
MergeBody.prototype.intent = '';
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @member {Array.<String>} rows
|
|
62
|
+
*/
|
|
63
|
+
MergeBody.prototype.rows = undefined;
|
|
64
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek UI
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
* Contact: support@NeuralSeek.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
*
|
|
11
|
+
* Swagger Codegen version: 3.0.78
|
|
12
|
+
*
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
import ApiClient from '../ApiClient';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The RenBody model module.
|
|
20
|
+
* @module model/RenBody
|
|
21
|
+
* @version 1.0.0
|
|
22
|
+
*/
|
|
23
|
+
export default class RenBody {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>RenBody</code>.
|
|
26
|
+
* @alias module:model/RenBody
|
|
27
|
+
* @class
|
|
28
|
+
*/
|
|
29
|
+
constructor() {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a <code>RenBody</code> from a plain JavaScript object, optionally creating a new instance.
|
|
34
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
35
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
36
|
+
* @param {module:model/RenBody} obj Optional instance to populate.
|
|
37
|
+
* @return {module:model/RenBody} The populated <code>RenBody</code> instance.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject(data, obj) {
|
|
40
|
+
if (data) {
|
|
41
|
+
obj = obj || new RenBody();
|
|
42
|
+
if (data.hasOwnProperty('rows'))
|
|
43
|
+
obj.rows = ApiClient.convertToType(data['rows'], ['String']);
|
|
44
|
+
if (data.hasOwnProperty('intent'))
|
|
45
|
+
obj.intent = ApiClient.convertToType(data['intent'], 'String');
|
|
46
|
+
}
|
|
47
|
+
return obj;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @member {Array.<String>} rows
|
|
53
|
+
*/
|
|
54
|
+
RenBody.prototype.rows = undefined;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The new Intent name
|
|
58
|
+
* @member {String} intent
|
|
59
|
+
* @default ''
|
|
60
|
+
*/
|
|
61
|
+
RenBody.prototype.intent = '';
|
|
62
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek UI
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
* Contact: support@NeuralSeek.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
*
|
|
11
|
+
* Swagger Codegen version: 3.0.78
|
|
12
|
+
*
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
import ApiClient from '../ApiClient';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The UnmergeBody model module.
|
|
20
|
+
* @module model/UnmergeBody
|
|
21
|
+
* @version 1.0.0
|
|
22
|
+
*/
|
|
23
|
+
export default class UnmergeBody {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>UnmergeBody</code>.
|
|
26
|
+
* @alias module:model/UnmergeBody
|
|
27
|
+
* @class
|
|
28
|
+
*/
|
|
29
|
+
constructor() {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a <code>UnmergeBody</code> from a plain JavaScript object, optionally creating a new instance.
|
|
34
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
35
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
36
|
+
* @param {module:model/UnmergeBody} obj Optional instance to populate.
|
|
37
|
+
* @return {module:model/UnmergeBody} The populated <code>UnmergeBody</code> instance.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject(data, obj) {
|
|
40
|
+
if (data) {
|
|
41
|
+
obj = obj || new UnmergeBody();
|
|
42
|
+
if (data.hasOwnProperty('rows'))
|
|
43
|
+
obj.rows = ApiClient.convertToType(data['rows'], ['String']);
|
|
44
|
+
}
|
|
45
|
+
return obj;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @member {Array.<String>} rows
|
|
51
|
+
*/
|
|
52
|
+
UnmergeBody.prototype.rows = undefined;
|
|
53
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek UI
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
* Contact: support@NeuralSeek.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
*
|
|
11
|
+
* Swagger Codegen version: 3.0.78
|
|
12
|
+
*
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
(function(root, factory) {
|
|
17
|
+
if (typeof define === 'function' && define.amd) {
|
|
18
|
+
// AMD.
|
|
19
|
+
define(['expect.js', '../../src/index'], factory);
|
|
20
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
+
factory(require('expect.js'), require('../../src/index'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
factory(root.expect, root.NeuralSeekUi);
|
|
26
|
+
}
|
|
27
|
+
}(this, function(expect, NeuralSeekUi) {
|
|
28
|
+
'use strict';
|
|
29
|
+
|
|
30
|
+
var instance;
|
|
31
|
+
|
|
32
|
+
beforeEach(function() {
|
|
33
|
+
instance = new NeuralSeekUi.AnswersApi();
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
describe('(package)', function() {
|
|
37
|
+
describe('AnswersApi', function() {
|
|
38
|
+
describe('deleteAnswer', function() {
|
|
39
|
+
it('should call deleteAnswer successfully', function(done) {
|
|
40
|
+
// TODO: uncomment, update parameter values for deleteAnswer call
|
|
41
|
+
/*
|
|
42
|
+
|
|
43
|
+
instance.deleteAnswer(body, function(error, data, response) {
|
|
44
|
+
if (error) {
|
|
45
|
+
done(error);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
done();
|
|
50
|
+
});
|
|
51
|
+
*/
|
|
52
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
53
|
+
done();
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
describe('editAnswer', function() {
|
|
57
|
+
it('should call editAnswer successfully', function(done) {
|
|
58
|
+
// TODO: uncomment, update parameter values for editAnswer call
|
|
59
|
+
/*
|
|
60
|
+
|
|
61
|
+
instance.editAnswer(body, function(error, data, response) {
|
|
62
|
+
if (error) {
|
|
63
|
+
done(error);
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
done();
|
|
68
|
+
});
|
|
69
|
+
*/
|
|
70
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
71
|
+
done();
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
describe('findAnswerId', function() {
|
|
75
|
+
it('should call findAnswerId successfully', function(done) {
|
|
76
|
+
// TODO: uncomment, update parameter values for findAnswerId call
|
|
77
|
+
/*
|
|
78
|
+
|
|
79
|
+
instance.findAnswerId(body, function(error, data, response) {
|
|
80
|
+
if (error) {
|
|
81
|
+
done(error);
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
done();
|
|
86
|
+
});
|
|
87
|
+
*/
|
|
88
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
89
|
+
done();
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
}));
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek UI
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
* Contact: support@NeuralSeek.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
*
|
|
11
|
+
* Swagger Codegen version: 3.0.78
|
|
12
|
+
*
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
(function(root, factory) {
|
|
17
|
+
if (typeof define === 'function' && define.amd) {
|
|
18
|
+
// AMD.
|
|
19
|
+
define(['expect.js', '../../src/index'], factory);
|
|
20
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
21
|
+
// CommonJS-like environments that support module.exports, like Node.
|
|
22
|
+
factory(require('expect.js'), require('../../src/index'));
|
|
23
|
+
} else {
|
|
24
|
+
// Browser globals (root is window)
|
|
25
|
+
factory(root.expect, root.NeuralSeekUi);
|
|
26
|
+
}
|
|
27
|
+
}(this, function(expect, NeuralSeekUi) {
|
|
28
|
+
'use strict';
|
|
29
|
+
|
|
30
|
+
var instance;
|
|
31
|
+
|
|
32
|
+
beforeEach(function() {
|
|
33
|
+
instance = new NeuralSeekUi.CategoriesApi();
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
describe('(package)', function() {
|
|
37
|
+
describe('CategoriesApi', function() {
|
|
38
|
+
describe('category', function() {
|
|
39
|
+
it('should call category successfully', function(done) {
|
|
40
|
+
// TODO: uncomment, update parameter values for category call
|
|
41
|
+
/*
|
|
42
|
+
|
|
43
|
+
instance.category(body, function(error, data, response) {
|
|
44
|
+
if (error) {
|
|
45
|
+
done(error);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
done();
|
|
50
|
+
});
|
|
51
|
+
*/
|
|
52
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
53
|
+
done();
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
}));
|