neuralseek 1.0.1
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/LICENSE +201 -0
- package/README.md +206 -0
- package/docs/AnalyticsApi.md +59 -0
- package/docs/AnalyticsBody.md +6 -0
- package/docs/AnswerRatingsBody.md +7 -0
- package/docs/CategorizeApi.md +58 -0
- package/docs/CategorizeBody.md +6 -0
- package/docs/ChatCompletionsBody.md +9 -0
- package/docs/ChatcompletionsMessages.md +16 -0
- package/docs/ChatcompletionsTools.md +13 -0
- package/docs/ExtractBody.md +11 -0
- package/docs/ExtractEntitiesApi.md +58 -0
- package/docs/GuardrailsApi.md +109 -0
- package/docs/IdentifysingleBody.md +6 -0
- package/docs/InlineResponse200.md +6 -0
- package/docs/InlineResponse2001.md +8 -0
- package/docs/InlineResponse20010.md +6 -0
- package/docs/InlineResponse20011.md +9 -0
- package/docs/InlineResponse20012.md +7 -0
- package/docs/InlineResponse20013.md +6 -0
- package/docs/InlineResponse2002.md +10 -0
- package/docs/InlineResponse2002Render.md +9 -0
- package/docs/InlineResponse2003.md +6 -0
- package/docs/InlineResponse2003Data.md +10 -0
- package/docs/InlineResponse2004.md +10 -0
- package/docs/InlineResponse2004Choices.md +8 -0
- package/docs/InlineResponse2004Message.md +14 -0
- package/docs/InlineResponse2005.md +9 -0
- package/docs/InlineResponse2005TopIntents.md +7 -0
- package/docs/InlineResponse2006.md +9 -0
- package/docs/InlineResponse2006ExtractedEntities.md +6 -0
- package/docs/InlineResponse2007.md +12 -0
- package/docs/InlineResponse2007Translations.md +6 -0
- package/docs/InlineResponse2008.md +7 -0
- package/docs/InlineResponse2009.md +7 -0
- package/docs/KeysApi.md +99 -0
- package/docs/LogExternalAgentBody.md +11 -0
- package/docs/LogExternalAgentEntries.md +34 -0
- package/docs/LogsApi.md +110 -0
- package/docs/LogsBody.md +8 -0
- package/docs/MAIstroAgentRatingsApi.md +109 -0
- package/docs/MAIstroApi.md +367 -0
- package/docs/MaistroBatchBody.md +9 -0
- package/docs/MaistroBody.md +9 -0
- package/docs/MaistroOptions.md +20 -0
- package/docs/MaistroRateBody.md +9 -0
- package/docs/MaistroRatingsBody.md +7 -0
- package/docs/MaistroStreamBody.md +9 -0
- package/docs/MaistroStreamOptions.md +19 -0
- package/docs/PiiBody.md +6 -0
- package/docs/RateBody.md +8 -0
- package/docs/ScoreBody.md +7 -0
- package/docs/Seek.md +9 -0
- package/docs/SeekAnswerRatingsApi.md +109 -0
- package/docs/SeekApi.md +109 -0
- package/docs/SeekOptions.md +24 -0
- package/docs/SeekResponse.md +32 -0
- package/docs/SeekResponsePassages.md +11 -0
- package/docs/SeekResponseVariablesExpanded.md +7 -0
- package/docs/SeekStreamBody.md +9 -0
- package/docs/SeekStreamOptions.md +23 -0
- package/docs/SeekStreamOptionsLastTurn.md +7 -0
- package/docs/SeekStreamOptionsPersonalize.md +10 -0
- package/docs/SeekStreamParams.md +7 -0
- package/docs/SeekStreamUserSession.md +7 -0
- package/docs/SeekStreamUserSessionMetadata.md +6 -0
- package/docs/SeekStreamUserSessionSystem.md +6 -0
- package/docs/ServiceTestApi.md +46 -0
- package/docs/TestBody.md +6 -0
- package/docs/TestBody1.md +6 -0
- package/docs/TestQuestionsApi.md +107 -0
- package/docs/TrainBody.md +7 -0
- package/docs/TrainKBApi.md +58 -0
- package/docs/TranslateApi.md +259 -0
- package/docs/TranslateBody.md +11 -0
- package/docs/TranslateGlossaryBody.md +6 -0
- package/docs/TranslateGlossaryBody1.md +6 -0
- package/docs/UserDataApi.md +59 -0
- package/git_push.sh +52 -0
- package/mocha.opts +1 -0
- package/package.json +55 -0
- package/src/AnalyticsApi.js +82 -0
- package/src/ApiClient.js +585 -0
- package/src/CategorizeApi.js +87 -0
- package/src/ExtractEntitiesApi.js +87 -0
- package/src/GuardrailsApi.js +134 -0
- package/src/KeysApi.js +122 -0
- package/src/LogsApi.js +133 -0
- package/src/MAIstroAgentRatingsApi.js +134 -0
- package/src/MAIstroApi.js +366 -0
- package/src/SeekAnswerRatingsApi.js +134 -0
- package/src/SeekApi.js +136 -0
- package/src/ServiceTestApi.js +79 -0
- package/src/TestQuestionsApi.js +124 -0
- package/src/TrainKBApi.js +85 -0
- package/src/TranslateApi.js +277 -0
- package/src/UserDataApi.js +81 -0
- package/src/index.js +587 -0
- package/src/model/AnalyticsBody.js +54 -0
- package/src/model/AnswerRatingsBody.js +62 -0
- package/src/model/CategorizeBody.js +55 -0
- package/src/model/ChatCompletionsBody.js +80 -0
- package/src/model/ChatcompletionsMessages.js +92 -0
- package/src/model/ChatcompletionsTools.js +75 -0
- package/src/model/ExtractBody.js +94 -0
- package/src/model/IdentifysingleBody.js +55 -0
- package/src/model/InlineResponse200.js +56 -0
- package/src/model/InlineResponse2001.js +70 -0
- package/src/model/InlineResponse20010.js +54 -0
- package/src/model/InlineResponse20011.js +81 -0
- package/src/model/InlineResponse20012.js +60 -0
- package/src/model/InlineResponse20013.js +55 -0
- package/src/model/InlineResponse2002.js +88 -0
- package/src/model/InlineResponse2002Render.js +80 -0
- package/src/model/InlineResponse2003.js +56 -0
- package/src/model/InlineResponse2003Data.js +88 -0
- package/src/model/InlineResponse2004.js +86 -0
- package/src/model/InlineResponse2004Choices.js +70 -0
- package/src/model/InlineResponse2004Message.js +80 -0
- package/src/model/InlineResponse2005.js +80 -0
- package/src/model/InlineResponse2005TopIntents.js +64 -0
- package/src/model/InlineResponse2006.js +79 -0
- package/src/model/InlineResponse2006ExtractedEntities.js +55 -0
- package/src/model/InlineResponse2007.js +103 -0
- package/src/model/InlineResponse2007Translations.js +55 -0
- package/src/model/InlineResponse2008.js +63 -0
- package/src/model/InlineResponse2009.js +63 -0
- package/src/model/LogExternalAgentBody.js +104 -0
- package/src/model/LogExternalAgentEntries.js +195 -0
- package/src/model/LogsBody.js +73 -0
- package/src/model/MaistroBatchBody.js +81 -0
- package/src/model/MaistroBody.js +81 -0
- package/src/model/MaistroOptions.js +176 -0
- package/src/model/MaistroRateBody.js +78 -0
- package/src/model/MaistroRatingsBody.js +62 -0
- package/src/model/MaistroStreamBody.js +81 -0
- package/src/model/MaistroStreamOptions.js +167 -0
- package/src/model/PiiBody.js +55 -0
- package/src/model/RateBody.js +70 -0
- package/src/model/ScoreBody.js +63 -0
- package/src/model/Seek.js +82 -0
- package/src/model/SeekOptions.js +216 -0
- package/src/model/SeekResponse.js +281 -0
- package/src/model/SeekResponsePassages.js +99 -0
- package/src/model/SeekResponseVariablesExpanded.js +64 -0
- package/src/model/SeekStreamBody.js +82 -0
- package/src/model/SeekStreamOptions.js +207 -0
- package/src/model/SeekStreamOptionsLastTurn.js +64 -0
- package/src/model/SeekStreamOptionsPersonalize.js +91 -0
- package/src/model/SeekStreamParams.js +64 -0
- package/src/model/SeekStreamUserSession.js +63 -0
- package/src/model/SeekStreamUserSessionMetadata.js +55 -0
- package/src/model/SeekStreamUserSessionSystem.js +55 -0
- package/src/model/TestBody.js +53 -0
- package/src/model/TestBody1.js +55 -0
- package/src/model/TrainBody.js +63 -0
- package/src/model/TranslateBody.js +99 -0
- package/src/model/TranslateGlossaryBody.js +53 -0
- package/src/model/TranslateGlossaryBody1.js +54 -0
- package/test/api/AnalyticsApi.spec.js +60 -0
- package/test/api/CategorizeApi.spec.js +61 -0
- package/test/api/ExtractEntitiesApi.spec.js +61 -0
- package/test/api/GuardrailsApi.spec.js +85 -0
- package/test/api/KeysApi.spec.js +79 -0
- package/test/api/LogsApi.spec.js +88 -0
- package/test/api/MAIstroAgentRatingsApi.spec.js +79 -0
- package/test/api/MAIstroApi.spec.js +180 -0
- package/test/api/SeekAnswerRatingsApi.spec.js +79 -0
- package/test/api/SeekApi.spec.js +81 -0
- package/test/api/ServiceTestApi.spec.js +59 -0
- package/test/api/TestQuestionsApi.spec.js +78 -0
- package/test/api/TrainKBApi.spec.js +59 -0
- package/test/api/TranslateApi.spec.js +143 -0
- package/test/api/UserDataApi.spec.js +60 -0
- package/test/assert-equals.js +81 -0
- package/test/model/AnalyticsBody.spec.js +52 -0
- package/test/model/AnswerRatingsBody.spec.js +58 -0
- package/test/model/CategorizeBody.spec.js +52 -0
- package/test/model/ChatCompletionsBody.spec.js +70 -0
- package/test/model/ChatcompletionsMessages.spec.js +58 -0
- package/test/model/ChatcompletionsTools.spec.js +58 -0
- package/test/model/ExtractBody.spec.js +82 -0
- package/test/model/IdentifysingleBody.spec.js +52 -0
- package/test/model/InlineResponse200.spec.js +52 -0
- package/test/model/InlineResponse2001.spec.js +64 -0
- package/test/model/InlineResponse20010.spec.js +52 -0
- package/test/model/InlineResponse20011.spec.js +70 -0
- package/test/model/InlineResponse20012.spec.js +58 -0
- package/test/model/InlineResponse20013.spec.js +52 -0
- package/test/model/InlineResponse2002.spec.js +76 -0
- package/test/model/InlineResponse2002Render.spec.js +70 -0
- package/test/model/InlineResponse2003.spec.js +52 -0
- package/test/model/InlineResponse2003Data.spec.js +76 -0
- package/test/model/InlineResponse2004.spec.js +76 -0
- package/test/model/InlineResponse2004Choices.spec.js +64 -0
- package/test/model/InlineResponse2004Message.spec.js +58 -0
- package/test/model/InlineResponse2005.spec.js +70 -0
- package/test/model/InlineResponse2005TopIntents.spec.js +58 -0
- package/test/model/InlineResponse2006.spec.js +70 -0
- package/test/model/InlineResponse2006ExtractedEntities.spec.js +52 -0
- package/test/model/InlineResponse2007.spec.js +88 -0
- package/test/model/InlineResponse2007Translations.spec.js +52 -0
- package/test/model/InlineResponse2008.spec.js +58 -0
- package/test/model/InlineResponse2009.spec.js +58 -0
- package/test/model/LogExternalAgentBody.spec.js +82 -0
- package/test/model/LogExternalAgentEntries.spec.js +118 -0
- package/test/model/LogsBody.spec.js +64 -0
- package/test/model/MaistroBatchBody.spec.js +70 -0
- package/test/model/MaistroBody.spec.js +70 -0
- package/test/model/MaistroOptions.spec.js +136 -0
- package/test/model/MaistroRateBody.spec.js +70 -0
- package/test/model/MaistroRatingsBody.spec.js +58 -0
- package/test/model/MaistroStreamBody.spec.js +70 -0
- package/test/model/MaistroStreamOptions.spec.js +130 -0
- package/test/model/PiiBody.spec.js +52 -0
- package/test/model/RateBody.spec.js +64 -0
- package/test/model/ScoreBody.spec.js +58 -0
- package/test/model/Seek.spec.js +70 -0
- package/test/model/SeekOptions.spec.js +160 -0
- package/test/model/SeekResponse.spec.js +208 -0
- package/test/model/SeekResponsePassages.spec.js +82 -0
- package/test/model/SeekResponseVariablesExpanded.spec.js +58 -0
- package/test/model/SeekStreamBody.spec.js +70 -0
- package/test/model/SeekStreamOptions.spec.js +154 -0
- package/test/model/SeekStreamOptionsLastTurn.spec.js +58 -0
- package/test/model/SeekStreamOptionsPersonalize.spec.js +76 -0
- package/test/model/SeekStreamParams.spec.js +58 -0
- package/test/model/SeekStreamUserSession.spec.js +58 -0
- package/test/model/SeekStreamUserSessionMetadata.spec.js +52 -0
- package/test/model/SeekStreamUserSessionSystem.spec.js +52 -0
- package/test/model/TestBody.spec.js +52 -0
- package/test/model/TestBody1.spec.js +52 -0
- package/test/model/TrainBody.spec.js +58 -0
- package/test/model/TranslateBody.spec.js +82 -0
- package/test/model/TranslateGlossaryBody.spec.js +52 -0
- package/test/model/TranslateGlossaryBody1.spec.js +52 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.1
|
|
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.NeuralSeek);
|
|
26
|
+
}
|
|
27
|
+
}(this, function(expect, NeuralSeek) {
|
|
28
|
+
'use strict';
|
|
29
|
+
|
|
30
|
+
var instance;
|
|
31
|
+
|
|
32
|
+
beforeEach(function() {
|
|
33
|
+
instance = new NeuralSeek.ExtractEntitiesApi();
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
describe('(package)', function() {
|
|
37
|
+
describe('ExtractEntitiesApi', function() {
|
|
38
|
+
describe('extractEntities', function() {
|
|
39
|
+
it('should call extractEntities successfully', function(done) {
|
|
40
|
+
// TODO: uncomment, update parameter values for extractEntities call and complete the assertions
|
|
41
|
+
/*
|
|
42
|
+
|
|
43
|
+
instance.extractEntities(body, function(error, data, response) {
|
|
44
|
+
if (error) {
|
|
45
|
+
done(error);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
// TODO: update response assertions
|
|
49
|
+
expect(data).to.be.a(NeuralSeek.InlineResponse2006);
|
|
50
|
+
|
|
51
|
+
done();
|
|
52
|
+
});
|
|
53
|
+
*/
|
|
54
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
55
|
+
done();
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
}));
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.1
|
|
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.NeuralSeek);
|
|
26
|
+
}
|
|
27
|
+
}(this, function(expect, NeuralSeek) {
|
|
28
|
+
'use strict';
|
|
29
|
+
|
|
30
|
+
var instance;
|
|
31
|
+
|
|
32
|
+
beforeEach(function() {
|
|
33
|
+
instance = new NeuralSeek.GuardrailsApi();
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
describe('(package)', function() {
|
|
37
|
+
describe('GuardrailsApi', function() {
|
|
38
|
+
describe('pii', function() {
|
|
39
|
+
it('should call pii successfully', function(done) {
|
|
40
|
+
// TODO: uncomment, update parameter values for pii call and complete the assertions
|
|
41
|
+
/*
|
|
42
|
+
|
|
43
|
+
instance.pii(body, function(error, data, response) {
|
|
44
|
+
if (error) {
|
|
45
|
+
done(error);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
// TODO: update response assertions
|
|
49
|
+
let dataCtr = data;
|
|
50
|
+
expect(dataCtr).to.be.an(Array);
|
|
51
|
+
expect(dataCtr).to.not.be.empty();
|
|
52
|
+
for (let p in dataCtr) {
|
|
53
|
+
let data = dataCtr[p];
|
|
54
|
+
expect(data).to.be.a(NeuralSeek.InlineResponse20010);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
done();
|
|
58
|
+
});
|
|
59
|
+
*/
|
|
60
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
61
|
+
done();
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
describe('score', function() {
|
|
65
|
+
it('should call score successfully', function(done) {
|
|
66
|
+
// TODO: uncomment, update parameter values for score call
|
|
67
|
+
/*
|
|
68
|
+
|
|
69
|
+
instance.score(body, function(error, data, response) {
|
|
70
|
+
if (error) {
|
|
71
|
+
done(error);
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
done();
|
|
76
|
+
});
|
|
77
|
+
*/
|
|
78
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
79
|
+
done();
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
}));
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.1
|
|
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.NeuralSeek);
|
|
26
|
+
}
|
|
27
|
+
}(this, function(expect, NeuralSeek) {
|
|
28
|
+
'use strict';
|
|
29
|
+
|
|
30
|
+
var instance;
|
|
31
|
+
|
|
32
|
+
beforeEach(function() {
|
|
33
|
+
instance = new NeuralSeek.KeysApi();
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
describe('(package)', function() {
|
|
37
|
+
describe('KeysApi', function() {
|
|
38
|
+
describe('keycheck', function() {
|
|
39
|
+
it('should call keycheck successfully', function(done) {
|
|
40
|
+
// TODO: uncomment keycheck call
|
|
41
|
+
/*
|
|
42
|
+
|
|
43
|
+
instance.keycheck(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('otp', function() {
|
|
57
|
+
it('should call otp successfully', function(done) {
|
|
58
|
+
// TODO: uncomment otp call and complete the assertions
|
|
59
|
+
/*
|
|
60
|
+
|
|
61
|
+
instance.otp(function(error, data, response) {
|
|
62
|
+
if (error) {
|
|
63
|
+
done(error);
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
// TODO: update response assertions
|
|
67
|
+
expect(data).to.be.a(NeuralSeek.InlineResponse20013);
|
|
68
|
+
|
|
69
|
+
done();
|
|
70
|
+
});
|
|
71
|
+
*/
|
|
72
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
73
|
+
done();
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
}));
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.1
|
|
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.NeuralSeek);
|
|
26
|
+
}
|
|
27
|
+
}(this, function(expect, NeuralSeek) {
|
|
28
|
+
'use strict';
|
|
29
|
+
|
|
30
|
+
var instance;
|
|
31
|
+
|
|
32
|
+
beforeEach(function() {
|
|
33
|
+
instance = new NeuralSeek.LogsApi();
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
describe('(package)', function() {
|
|
37
|
+
describe('LogsApi', function() {
|
|
38
|
+
describe('logExternalAgent', function() {
|
|
39
|
+
it('should call logExternalAgent successfully', function(done) {
|
|
40
|
+
// TODO: uncomment, update parameter values for logExternalAgent call and complete the assertions
|
|
41
|
+
/*
|
|
42
|
+
|
|
43
|
+
instance.logExternalAgent(body, function(error, data, response) {
|
|
44
|
+
if (error) {
|
|
45
|
+
done(error);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
// TODO: update response assertions
|
|
49
|
+
expect(data).to.be.a(NeuralSeek.InlineResponse20012);
|
|
50
|
+
|
|
51
|
+
done();
|
|
52
|
+
});
|
|
53
|
+
*/
|
|
54
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
55
|
+
done();
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
describe('logs', function() {
|
|
59
|
+
it('should call logs successfully', function(done) {
|
|
60
|
+
// TODO: uncomment, update parameter values for logs call and complete the assertions
|
|
61
|
+
/*
|
|
62
|
+
var opts = {};
|
|
63
|
+
|
|
64
|
+
instance.logs(opts, function(error, data, response) {
|
|
65
|
+
if (error) {
|
|
66
|
+
done(error);
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
// TODO: update response assertions
|
|
70
|
+
let dataCtr = data;
|
|
71
|
+
expect(dataCtr).to.be.an(Array);
|
|
72
|
+
expect(dataCtr).to.not.be.empty();
|
|
73
|
+
for (let p in dataCtr) {
|
|
74
|
+
let data = dataCtr[p];
|
|
75
|
+
expect(data).to.be.a(NeuralSeek.InlineResponse20011);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
done();
|
|
79
|
+
});
|
|
80
|
+
*/
|
|
81
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
82
|
+
done();
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
}));
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.1
|
|
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.NeuralSeek);
|
|
26
|
+
}
|
|
27
|
+
}(this, function(expect, NeuralSeek) {
|
|
28
|
+
'use strict';
|
|
29
|
+
|
|
30
|
+
var instance;
|
|
31
|
+
|
|
32
|
+
beforeEach(function() {
|
|
33
|
+
instance = new NeuralSeek.MAIstroAgentRatingsApi();
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
describe('(package)', function() {
|
|
37
|
+
describe('MAIstroAgentRatingsApi', function() {
|
|
38
|
+
describe('maistroRate', function() {
|
|
39
|
+
it('should call maistroRate successfully', function(done) {
|
|
40
|
+
// TODO: uncomment, update parameter values for maistroRate call
|
|
41
|
+
/*
|
|
42
|
+
|
|
43
|
+
instance.maistroRate(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('maistroRatings', function() {
|
|
57
|
+
it('should call maistroRatings successfully', function(done) {
|
|
58
|
+
// TODO: uncomment, update parameter values for maistroRatings call and complete the assertions
|
|
59
|
+
/*
|
|
60
|
+
|
|
61
|
+
instance.maistroRatings(body, function(error, data, response) {
|
|
62
|
+
if (error) {
|
|
63
|
+
done(error);
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
// TODO: update response assertions
|
|
67
|
+
expect(data).to.be.a(NeuralSeek.InlineResponse2001);
|
|
68
|
+
|
|
69
|
+
done();
|
|
70
|
+
});
|
|
71
|
+
*/
|
|
72
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
73
|
+
done();
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
}));
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.1
|
|
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.NeuralSeek);
|
|
26
|
+
}
|
|
27
|
+
}(this, function(expect, NeuralSeek) {
|
|
28
|
+
'use strict';
|
|
29
|
+
|
|
30
|
+
var instance;
|
|
31
|
+
|
|
32
|
+
beforeEach(function() {
|
|
33
|
+
instance = new NeuralSeek.MAIstroApi();
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
describe('(package)', function() {
|
|
37
|
+
describe('MAIstroApi', function() {
|
|
38
|
+
describe('chat', function() {
|
|
39
|
+
it('should call chat successfully', function(done) {
|
|
40
|
+
// TODO: uncomment, update parameter values for chat call and complete the assertions
|
|
41
|
+
/*
|
|
42
|
+
var opts = {};
|
|
43
|
+
|
|
44
|
+
instance.chat(opts, function(error, data, response) {
|
|
45
|
+
if (error) {
|
|
46
|
+
done(error);
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
// TODO: update response assertions
|
|
50
|
+
expect(data).to.be.a(NeuralSeek.InlineResponse2004);
|
|
51
|
+
|
|
52
|
+
done();
|
|
53
|
+
});
|
|
54
|
+
*/
|
|
55
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
56
|
+
done();
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
describe('maistro', function() {
|
|
60
|
+
it('should call maistro successfully', function(done) {
|
|
61
|
+
// TODO: uncomment, update parameter values for maistro call and complete the assertions
|
|
62
|
+
/*
|
|
63
|
+
var opts = {};
|
|
64
|
+
|
|
65
|
+
instance.maistro(body, opts, function(error, data, response) {
|
|
66
|
+
if (error) {
|
|
67
|
+
done(error);
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
// TODO: update response assertions
|
|
71
|
+
expect(data).to.be.a(NeuralSeek.InlineResponse2002);
|
|
72
|
+
|
|
73
|
+
done();
|
|
74
|
+
});
|
|
75
|
+
*/
|
|
76
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
77
|
+
done();
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
describe('maistroAgentGet', function() {
|
|
81
|
+
it('should call maistroAgentGet successfully', function(done) {
|
|
82
|
+
// TODO: uncomment, update parameter values for maistroAgentGet call and complete the assertions
|
|
83
|
+
/*
|
|
84
|
+
var opts = {};
|
|
85
|
+
|
|
86
|
+
instance.maistroAgentGet(agent, opts, function(error, data, response) {
|
|
87
|
+
if (error) {
|
|
88
|
+
done(error);
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
// TODO: update response assertions
|
|
92
|
+
expect(data).to.be.a(NeuralSeek.InlineResponse2002);
|
|
93
|
+
|
|
94
|
+
done();
|
|
95
|
+
});
|
|
96
|
+
*/
|
|
97
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
98
|
+
done();
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
describe('maistroBatch', function() {
|
|
102
|
+
it('should call maistroBatch successfully', function(done) {
|
|
103
|
+
// TODO: uncomment, update parameter values for maistroBatch call
|
|
104
|
+
/*
|
|
105
|
+
|
|
106
|
+
instance.maistroBatch(body, function(error, data, response) {
|
|
107
|
+
if (error) {
|
|
108
|
+
done(error);
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
done();
|
|
113
|
+
});
|
|
114
|
+
*/
|
|
115
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
116
|
+
done();
|
|
117
|
+
});
|
|
118
|
+
});
|
|
119
|
+
describe('maistroBatchDelete', function() {
|
|
120
|
+
it('should call maistroBatchDelete successfully', function(done) {
|
|
121
|
+
// TODO: uncomment maistroBatchDelete call
|
|
122
|
+
/*
|
|
123
|
+
|
|
124
|
+
instance.maistroBatchDelete(function(error, data, response) {
|
|
125
|
+
if (error) {
|
|
126
|
+
done(error);
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
done();
|
|
131
|
+
});
|
|
132
|
+
*/
|
|
133
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
134
|
+
done();
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
describe('maistroBatchGet', function() {
|
|
138
|
+
it('should call maistroBatchGet successfully', function(done) {
|
|
139
|
+
// TODO: uncomment maistroBatchGet call and complete the assertions
|
|
140
|
+
/*
|
|
141
|
+
|
|
142
|
+
instance.maistroBatchGet(function(error, data, response) {
|
|
143
|
+
if (error) {
|
|
144
|
+
done(error);
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
// TODO: update response assertions
|
|
148
|
+
expect(data).to.be.a(NeuralSeek.InlineResponse2002);
|
|
149
|
+
|
|
150
|
+
done();
|
|
151
|
+
});
|
|
152
|
+
*/
|
|
153
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
154
|
+
done();
|
|
155
|
+
});
|
|
156
|
+
});
|
|
157
|
+
describe('maistroStream', function() {
|
|
158
|
+
it('should call maistroStream successfully', function(done) {
|
|
159
|
+
// TODO: uncomment, update parameter values for maistroStream call and complete the assertions
|
|
160
|
+
/*
|
|
161
|
+
|
|
162
|
+
instance.maistroStream(body, function(error, data, response) {
|
|
163
|
+
if (error) {
|
|
164
|
+
done(error);
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
// TODO: update response assertions
|
|
168
|
+
expect(data).to.be.a(NeuralSeek.InlineResponse2003);
|
|
169
|
+
|
|
170
|
+
done();
|
|
171
|
+
});
|
|
172
|
+
*/
|
|
173
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
174
|
+
done();
|
|
175
|
+
});
|
|
176
|
+
});
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
|
|
180
|
+
}));
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.1
|
|
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.NeuralSeek);
|
|
26
|
+
}
|
|
27
|
+
}(this, function(expect, NeuralSeek) {
|
|
28
|
+
'use strict';
|
|
29
|
+
|
|
30
|
+
var instance;
|
|
31
|
+
|
|
32
|
+
beforeEach(function() {
|
|
33
|
+
instance = new NeuralSeek.SeekAnswerRatingsApi();
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
describe('(package)', function() {
|
|
37
|
+
describe('SeekAnswerRatingsApi', function() {
|
|
38
|
+
describe('answerRatings', function() {
|
|
39
|
+
it('should call answerRatings successfully', function(done) {
|
|
40
|
+
// TODO: uncomment, update parameter values for answerRatings call and complete the assertions
|
|
41
|
+
/*
|
|
42
|
+
|
|
43
|
+
instance.answerRatings(body, function(error, data, response) {
|
|
44
|
+
if (error) {
|
|
45
|
+
done(error);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
// TODO: update response assertions
|
|
49
|
+
expect(data).to.be.a(NeuralSeek.InlineResponse2001);
|
|
50
|
+
|
|
51
|
+
done();
|
|
52
|
+
});
|
|
53
|
+
*/
|
|
54
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
55
|
+
done();
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
describe('rate', function() {
|
|
59
|
+
it('should call rate successfully', function(done) {
|
|
60
|
+
// TODO: uncomment, update parameter values for rate call
|
|
61
|
+
/*
|
|
62
|
+
|
|
63
|
+
instance.rate(body, function(error, data, response) {
|
|
64
|
+
if (error) {
|
|
65
|
+
done(error);
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
done();
|
|
70
|
+
});
|
|
71
|
+
*/
|
|
72
|
+
// TODO: uncomment and complete method invocation above, then delete this line and the next:
|
|
73
|
+
done();
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
}));
|