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.
Files changed (236) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +206 -0
  3. package/docs/AnalyticsApi.md +59 -0
  4. package/docs/AnalyticsBody.md +6 -0
  5. package/docs/AnswerRatingsBody.md +7 -0
  6. package/docs/CategorizeApi.md +58 -0
  7. package/docs/CategorizeBody.md +6 -0
  8. package/docs/ChatCompletionsBody.md +9 -0
  9. package/docs/ChatcompletionsMessages.md +16 -0
  10. package/docs/ChatcompletionsTools.md +13 -0
  11. package/docs/ExtractBody.md +11 -0
  12. package/docs/ExtractEntitiesApi.md +58 -0
  13. package/docs/GuardrailsApi.md +109 -0
  14. package/docs/IdentifysingleBody.md +6 -0
  15. package/docs/InlineResponse200.md +6 -0
  16. package/docs/InlineResponse2001.md +8 -0
  17. package/docs/InlineResponse20010.md +6 -0
  18. package/docs/InlineResponse20011.md +9 -0
  19. package/docs/InlineResponse20012.md +7 -0
  20. package/docs/InlineResponse20013.md +6 -0
  21. package/docs/InlineResponse2002.md +10 -0
  22. package/docs/InlineResponse2002Render.md +9 -0
  23. package/docs/InlineResponse2003.md +6 -0
  24. package/docs/InlineResponse2003Data.md +10 -0
  25. package/docs/InlineResponse2004.md +10 -0
  26. package/docs/InlineResponse2004Choices.md +8 -0
  27. package/docs/InlineResponse2004Message.md +14 -0
  28. package/docs/InlineResponse2005.md +9 -0
  29. package/docs/InlineResponse2005TopIntents.md +7 -0
  30. package/docs/InlineResponse2006.md +9 -0
  31. package/docs/InlineResponse2006ExtractedEntities.md +6 -0
  32. package/docs/InlineResponse2007.md +12 -0
  33. package/docs/InlineResponse2007Translations.md +6 -0
  34. package/docs/InlineResponse2008.md +7 -0
  35. package/docs/InlineResponse2009.md +7 -0
  36. package/docs/KeysApi.md +99 -0
  37. package/docs/LogExternalAgentBody.md +11 -0
  38. package/docs/LogExternalAgentEntries.md +34 -0
  39. package/docs/LogsApi.md +110 -0
  40. package/docs/LogsBody.md +8 -0
  41. package/docs/MAIstroAgentRatingsApi.md +109 -0
  42. package/docs/MAIstroApi.md +367 -0
  43. package/docs/MaistroBatchBody.md +9 -0
  44. package/docs/MaistroBody.md +9 -0
  45. package/docs/MaistroOptions.md +20 -0
  46. package/docs/MaistroRateBody.md +9 -0
  47. package/docs/MaistroRatingsBody.md +7 -0
  48. package/docs/MaistroStreamBody.md +9 -0
  49. package/docs/MaistroStreamOptions.md +19 -0
  50. package/docs/PiiBody.md +6 -0
  51. package/docs/RateBody.md +8 -0
  52. package/docs/ScoreBody.md +7 -0
  53. package/docs/Seek.md +9 -0
  54. package/docs/SeekAnswerRatingsApi.md +109 -0
  55. package/docs/SeekApi.md +109 -0
  56. package/docs/SeekOptions.md +24 -0
  57. package/docs/SeekResponse.md +32 -0
  58. package/docs/SeekResponsePassages.md +11 -0
  59. package/docs/SeekResponseVariablesExpanded.md +7 -0
  60. package/docs/SeekStreamBody.md +9 -0
  61. package/docs/SeekStreamOptions.md +23 -0
  62. package/docs/SeekStreamOptionsLastTurn.md +7 -0
  63. package/docs/SeekStreamOptionsPersonalize.md +10 -0
  64. package/docs/SeekStreamParams.md +7 -0
  65. package/docs/SeekStreamUserSession.md +7 -0
  66. package/docs/SeekStreamUserSessionMetadata.md +6 -0
  67. package/docs/SeekStreamUserSessionSystem.md +6 -0
  68. package/docs/ServiceTestApi.md +46 -0
  69. package/docs/TestBody.md +6 -0
  70. package/docs/TestBody1.md +6 -0
  71. package/docs/TestQuestionsApi.md +107 -0
  72. package/docs/TrainBody.md +7 -0
  73. package/docs/TrainKBApi.md +58 -0
  74. package/docs/TranslateApi.md +259 -0
  75. package/docs/TranslateBody.md +11 -0
  76. package/docs/TranslateGlossaryBody.md +6 -0
  77. package/docs/TranslateGlossaryBody1.md +6 -0
  78. package/docs/UserDataApi.md +59 -0
  79. package/git_push.sh +52 -0
  80. package/mocha.opts +1 -0
  81. package/package.json +55 -0
  82. package/src/AnalyticsApi.js +82 -0
  83. package/src/ApiClient.js +585 -0
  84. package/src/CategorizeApi.js +87 -0
  85. package/src/ExtractEntitiesApi.js +87 -0
  86. package/src/GuardrailsApi.js +134 -0
  87. package/src/KeysApi.js +122 -0
  88. package/src/LogsApi.js +133 -0
  89. package/src/MAIstroAgentRatingsApi.js +134 -0
  90. package/src/MAIstroApi.js +366 -0
  91. package/src/SeekAnswerRatingsApi.js +134 -0
  92. package/src/SeekApi.js +136 -0
  93. package/src/ServiceTestApi.js +79 -0
  94. package/src/TestQuestionsApi.js +124 -0
  95. package/src/TrainKBApi.js +85 -0
  96. package/src/TranslateApi.js +277 -0
  97. package/src/UserDataApi.js +81 -0
  98. package/src/index.js +587 -0
  99. package/src/model/AnalyticsBody.js +54 -0
  100. package/src/model/AnswerRatingsBody.js +62 -0
  101. package/src/model/CategorizeBody.js +55 -0
  102. package/src/model/ChatCompletionsBody.js +80 -0
  103. package/src/model/ChatcompletionsMessages.js +92 -0
  104. package/src/model/ChatcompletionsTools.js +75 -0
  105. package/src/model/ExtractBody.js +94 -0
  106. package/src/model/IdentifysingleBody.js +55 -0
  107. package/src/model/InlineResponse200.js +56 -0
  108. package/src/model/InlineResponse2001.js +70 -0
  109. package/src/model/InlineResponse20010.js +54 -0
  110. package/src/model/InlineResponse20011.js +81 -0
  111. package/src/model/InlineResponse20012.js +60 -0
  112. package/src/model/InlineResponse20013.js +55 -0
  113. package/src/model/InlineResponse2002.js +88 -0
  114. package/src/model/InlineResponse2002Render.js +80 -0
  115. package/src/model/InlineResponse2003.js +56 -0
  116. package/src/model/InlineResponse2003Data.js +88 -0
  117. package/src/model/InlineResponse2004.js +86 -0
  118. package/src/model/InlineResponse2004Choices.js +70 -0
  119. package/src/model/InlineResponse2004Message.js +80 -0
  120. package/src/model/InlineResponse2005.js +80 -0
  121. package/src/model/InlineResponse2005TopIntents.js +64 -0
  122. package/src/model/InlineResponse2006.js +79 -0
  123. package/src/model/InlineResponse2006ExtractedEntities.js +55 -0
  124. package/src/model/InlineResponse2007.js +103 -0
  125. package/src/model/InlineResponse2007Translations.js +55 -0
  126. package/src/model/InlineResponse2008.js +63 -0
  127. package/src/model/InlineResponse2009.js +63 -0
  128. package/src/model/LogExternalAgentBody.js +104 -0
  129. package/src/model/LogExternalAgentEntries.js +195 -0
  130. package/src/model/LogsBody.js +73 -0
  131. package/src/model/MaistroBatchBody.js +81 -0
  132. package/src/model/MaistroBody.js +81 -0
  133. package/src/model/MaistroOptions.js +176 -0
  134. package/src/model/MaistroRateBody.js +78 -0
  135. package/src/model/MaistroRatingsBody.js +62 -0
  136. package/src/model/MaistroStreamBody.js +81 -0
  137. package/src/model/MaistroStreamOptions.js +167 -0
  138. package/src/model/PiiBody.js +55 -0
  139. package/src/model/RateBody.js +70 -0
  140. package/src/model/ScoreBody.js +63 -0
  141. package/src/model/Seek.js +82 -0
  142. package/src/model/SeekOptions.js +216 -0
  143. package/src/model/SeekResponse.js +281 -0
  144. package/src/model/SeekResponsePassages.js +99 -0
  145. package/src/model/SeekResponseVariablesExpanded.js +64 -0
  146. package/src/model/SeekStreamBody.js +82 -0
  147. package/src/model/SeekStreamOptions.js +207 -0
  148. package/src/model/SeekStreamOptionsLastTurn.js +64 -0
  149. package/src/model/SeekStreamOptionsPersonalize.js +91 -0
  150. package/src/model/SeekStreamParams.js +64 -0
  151. package/src/model/SeekStreamUserSession.js +63 -0
  152. package/src/model/SeekStreamUserSessionMetadata.js +55 -0
  153. package/src/model/SeekStreamUserSessionSystem.js +55 -0
  154. package/src/model/TestBody.js +53 -0
  155. package/src/model/TestBody1.js +55 -0
  156. package/src/model/TrainBody.js +63 -0
  157. package/src/model/TranslateBody.js +99 -0
  158. package/src/model/TranslateGlossaryBody.js +53 -0
  159. package/src/model/TranslateGlossaryBody1.js +54 -0
  160. package/test/api/AnalyticsApi.spec.js +60 -0
  161. package/test/api/CategorizeApi.spec.js +61 -0
  162. package/test/api/ExtractEntitiesApi.spec.js +61 -0
  163. package/test/api/GuardrailsApi.spec.js +85 -0
  164. package/test/api/KeysApi.spec.js +79 -0
  165. package/test/api/LogsApi.spec.js +88 -0
  166. package/test/api/MAIstroAgentRatingsApi.spec.js +79 -0
  167. package/test/api/MAIstroApi.spec.js +180 -0
  168. package/test/api/SeekAnswerRatingsApi.spec.js +79 -0
  169. package/test/api/SeekApi.spec.js +81 -0
  170. package/test/api/ServiceTestApi.spec.js +59 -0
  171. package/test/api/TestQuestionsApi.spec.js +78 -0
  172. package/test/api/TrainKBApi.spec.js +59 -0
  173. package/test/api/TranslateApi.spec.js +143 -0
  174. package/test/api/UserDataApi.spec.js +60 -0
  175. package/test/assert-equals.js +81 -0
  176. package/test/model/AnalyticsBody.spec.js +52 -0
  177. package/test/model/AnswerRatingsBody.spec.js +58 -0
  178. package/test/model/CategorizeBody.spec.js +52 -0
  179. package/test/model/ChatCompletionsBody.spec.js +70 -0
  180. package/test/model/ChatcompletionsMessages.spec.js +58 -0
  181. package/test/model/ChatcompletionsTools.spec.js +58 -0
  182. package/test/model/ExtractBody.spec.js +82 -0
  183. package/test/model/IdentifysingleBody.spec.js +52 -0
  184. package/test/model/InlineResponse200.spec.js +52 -0
  185. package/test/model/InlineResponse2001.spec.js +64 -0
  186. package/test/model/InlineResponse20010.spec.js +52 -0
  187. package/test/model/InlineResponse20011.spec.js +70 -0
  188. package/test/model/InlineResponse20012.spec.js +58 -0
  189. package/test/model/InlineResponse20013.spec.js +52 -0
  190. package/test/model/InlineResponse2002.spec.js +76 -0
  191. package/test/model/InlineResponse2002Render.spec.js +70 -0
  192. package/test/model/InlineResponse2003.spec.js +52 -0
  193. package/test/model/InlineResponse2003Data.spec.js +76 -0
  194. package/test/model/InlineResponse2004.spec.js +76 -0
  195. package/test/model/InlineResponse2004Choices.spec.js +64 -0
  196. package/test/model/InlineResponse2004Message.spec.js +58 -0
  197. package/test/model/InlineResponse2005.spec.js +70 -0
  198. package/test/model/InlineResponse2005TopIntents.spec.js +58 -0
  199. package/test/model/InlineResponse2006.spec.js +70 -0
  200. package/test/model/InlineResponse2006ExtractedEntities.spec.js +52 -0
  201. package/test/model/InlineResponse2007.spec.js +88 -0
  202. package/test/model/InlineResponse2007Translations.spec.js +52 -0
  203. package/test/model/InlineResponse2008.spec.js +58 -0
  204. package/test/model/InlineResponse2009.spec.js +58 -0
  205. package/test/model/LogExternalAgentBody.spec.js +82 -0
  206. package/test/model/LogExternalAgentEntries.spec.js +118 -0
  207. package/test/model/LogsBody.spec.js +64 -0
  208. package/test/model/MaistroBatchBody.spec.js +70 -0
  209. package/test/model/MaistroBody.spec.js +70 -0
  210. package/test/model/MaistroOptions.spec.js +136 -0
  211. package/test/model/MaistroRateBody.spec.js +70 -0
  212. package/test/model/MaistroRatingsBody.spec.js +58 -0
  213. package/test/model/MaistroStreamBody.spec.js +70 -0
  214. package/test/model/MaistroStreamOptions.spec.js +130 -0
  215. package/test/model/PiiBody.spec.js +52 -0
  216. package/test/model/RateBody.spec.js +64 -0
  217. package/test/model/ScoreBody.spec.js +58 -0
  218. package/test/model/Seek.spec.js +70 -0
  219. package/test/model/SeekOptions.spec.js +160 -0
  220. package/test/model/SeekResponse.spec.js +208 -0
  221. package/test/model/SeekResponsePassages.spec.js +82 -0
  222. package/test/model/SeekResponseVariablesExpanded.spec.js +58 -0
  223. package/test/model/SeekStreamBody.spec.js +70 -0
  224. package/test/model/SeekStreamOptions.spec.js +154 -0
  225. package/test/model/SeekStreamOptionsLastTurn.spec.js +58 -0
  226. package/test/model/SeekStreamOptionsPersonalize.spec.js +76 -0
  227. package/test/model/SeekStreamParams.spec.js +58 -0
  228. package/test/model/SeekStreamUserSession.spec.js +58 -0
  229. package/test/model/SeekStreamUserSessionMetadata.spec.js +52 -0
  230. package/test/model/SeekStreamUserSessionSystem.spec.js +52 -0
  231. package/test/model/TestBody.spec.js +52 -0
  232. package/test/model/TestBody1.spec.js +52 -0
  233. package/test/model/TrainBody.spec.js +58 -0
  234. package/test/model/TranslateBody.spec.js +82 -0
  235. package/test/model/TranslateGlossaryBody.spec.js +52 -0
  236. package/test/model/TranslateGlossaryBody1.spec.js +52 -0
@@ -0,0 +1,81 @@
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.SeekApi();
34
+ });
35
+
36
+ describe('(package)', function() {
37
+ describe('SeekApi', function() {
38
+ describe('seek', function() {
39
+ it('should call seek successfully', function(done) {
40
+ // TODO: uncomment, update parameter values for seek call and complete the assertions
41
+ /*
42
+
43
+ instance.seek(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.SeekResponse);
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('seekStream', function() {
59
+ it('should call seekStream successfully', function(done) {
60
+ // TODO: uncomment, update parameter values for seekStream call and complete the assertions
61
+ /*
62
+
63
+ instance.seekStream(body, function(error, data, response) {
64
+ if (error) {
65
+ done(error);
66
+ return;
67
+ }
68
+ // TODO: update response assertions
69
+ expect(data).to.be.a(NeuralSeek.InlineResponse200);
70
+
71
+ done();
72
+ });
73
+ */
74
+ // TODO: uncomment and complete method invocation above, then delete this line and the next:
75
+ done();
76
+ });
77
+ });
78
+ });
79
+ });
80
+
81
+ }));
@@ -0,0 +1,59 @@
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.ServiceTestApi();
34
+ });
35
+
36
+ describe('(package)', function() {
37
+ describe('ServiceTestApi', function() {
38
+ describe('servicetest', function() {
39
+ it('should call servicetest successfully', function(done) {
40
+ // TODO: uncomment servicetest call
41
+ /*
42
+
43
+ instance.servicetest(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
+ }));
@@ -0,0 +1,78 @@
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.TestQuestionsApi();
34
+ });
35
+
36
+ describe('(package)', function() {
37
+ describe('TestQuestionsApi', function() {
38
+ describe('getTestResults', function() {
39
+ it('should call getTestResults successfully', function(done) {
40
+ // TODO: uncomment getTestResults call
41
+ /*
42
+
43
+ instance.getTestResults(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('test', function() {
57
+ it('should call test successfully', function(done) {
58
+ // TODO: uncomment, update parameter values for test call
59
+ /*
60
+ var opts = {};
61
+
62
+ instance.test(opts, function(error, data, response) {
63
+ if (error) {
64
+ done(error);
65
+ return;
66
+ }
67
+
68
+ done();
69
+ });
70
+ */
71
+ // TODO: uncomment and complete method invocation above, then delete this line and the next:
72
+ done();
73
+ });
74
+ });
75
+ });
76
+ });
77
+
78
+ }));
@@ -0,0 +1,59 @@
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.TrainKBApi();
34
+ });
35
+
36
+ describe('(package)', function() {
37
+ describe('TrainKBApi', function() {
38
+ describe('train', function() {
39
+ it('should call train successfully', function(done) {
40
+ // TODO: uncomment, update parameter values for train call
41
+ /*
42
+
43
+ instance.train(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
+ }));
@@ -0,0 +1,143 @@
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.TranslateApi();
34
+ });
35
+
36
+ describe('(package)', function() {
37
+ describe('TranslateApi', function() {
38
+ describe('deleteTranslateGlossary', function() {
39
+ it('should call deleteTranslateGlossary successfully', function(done) {
40
+ // TODO: uncomment deleteTranslateGlossary call
41
+ /*
42
+
43
+ instance.deleteTranslateGlossary(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('identifyLanguage', function() {
57
+ it('should call identifyLanguage successfully', function(done) {
58
+ // TODO: uncomment, update parameter values for identifyLanguage call and complete the assertions
59
+ /*
60
+
61
+ instance.identifyLanguage(body, function(error, data, response) {
62
+ if (error) {
63
+ done(error);
64
+ return;
65
+ }
66
+ // TODO: update response assertions
67
+ let dataCtr = data;
68
+ expect(dataCtr).to.be.an(Array);
69
+ expect(dataCtr).to.not.be.empty();
70
+ for (let p in dataCtr) {
71
+ let data = dataCtr[p];
72
+ expect(data).to.be.a(NeuralSeek.InlineResponse2008);
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
+ describe('identifyLanguageJSON', function() {
83
+ it('should call identifyLanguageJSON successfully', function(done) {
84
+ // TODO: uncomment, update parameter values for identifyLanguageJSON call and complete the assertions
85
+ /*
86
+
87
+ instance.identifyLanguageJSON(body, function(error, data, response) {
88
+ if (error) {
89
+ done(error);
90
+ return;
91
+ }
92
+ // TODO: update response assertions
93
+ expect(data).to.be.a(NeuralSeek.InlineResponse2009);
94
+
95
+ done();
96
+ });
97
+ */
98
+ // TODO: uncomment and complete method invocation above, then delete this line and the next:
99
+ done();
100
+ });
101
+ });
102
+ describe('translate', function() {
103
+ it('should call translate successfully', function(done) {
104
+ // TODO: uncomment, update parameter values for translate call and complete the assertions
105
+ /*
106
+
107
+ instance.translate(body, function(error, data, response) {
108
+ if (error) {
109
+ done(error);
110
+ return;
111
+ }
112
+ // TODO: update response assertions
113
+ expect(data).to.be.a(NeuralSeek.InlineResponse2007);
114
+
115
+ done();
116
+ });
117
+ */
118
+ // TODO: uncomment and complete method invocation above, then delete this line and the next:
119
+ done();
120
+ });
121
+ });
122
+ describe('translateGlossary', function() {
123
+ it('should call translateGlossary successfully', function(done) {
124
+ // TODO: uncomment, update parameter values for translateGlossary call
125
+ /*
126
+
127
+ instance.translateGlossary(file, body, function(error, data, response) {
128
+ if (error) {
129
+ done(error);
130
+ return;
131
+ }
132
+
133
+ done();
134
+ });
135
+ */
136
+ // TODO: uncomment and complete method invocation above, then delete this line and the next:
137
+ done();
138
+ });
139
+ });
140
+ });
141
+ });
142
+
143
+ }));
@@ -0,0 +1,60 @@
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.UserDataApi();
34
+ });
35
+
36
+ describe('(package)', function() {
37
+ describe('UserDataApi', function() {
38
+ describe('deleteUserData', function() {
39
+ it('should call deleteUserData successfully', function(done) {
40
+ // TODO: uncomment, update parameter values for deleteUserData call
41
+ /*
42
+ var opts = {};
43
+
44
+ instance.deleteUserData(opts, function(error, data, response) {
45
+ if (error) {
46
+ done(error);
47
+ return;
48
+ }
49
+
50
+ done();
51
+ });
52
+ */
53
+ // TODO: uncomment and complete method invocation above, then delete this line and the next:
54
+ done();
55
+ });
56
+ });
57
+ });
58
+ });
59
+
60
+ }));
@@ -0,0 +1,81 @@
1
+ (function(root, factory) {
2
+ if (typeof define === 'function' && define.amd) {
3
+ // AMD.
4
+ define(factory);
5
+ } else if (typeof module === 'object' && module.exports) {
6
+ // CommonJS-like environments that support module.exports, like Node.
7
+ module.exports = factory();
8
+ } else {
9
+ // Browser globals (root is window)
10
+ root.assertEquals = factory();
11
+ }
12
+ }(this, function() {
13
+ 'use strict';
14
+
15
+ var assertEquals = function(expected, actual, ptr) {
16
+ if (!ptr)
17
+ ptr = "";
18
+ if (actual === expected)
19
+ return;
20
+ if (expected instanceof Date || actual instanceof Date) {
21
+ expected = toISODateString(expected);
22
+ actual = toISODateString(actual);
23
+ if (actual !== expected)
24
+ fail(expected, actual, ptr, "date value incorrect;");
25
+ }
26
+ if (!expected || !actual || typeof expected != 'object' && typeof actual != 'object') {
27
+ if (typeof actual != typeof expected)
28
+ fail(typeof expected, typeof actual, ptr, "value type incorrect;");
29
+ if (actual != expected)
30
+ fail(expected, actual, ptr, "value incorrect;");
31
+ }
32
+ return checkObject(expected, actual, ptr);
33
+ }
34
+
35
+ function toISODateString(value) {
36
+ if (value instanceof Date) {
37
+ // JavaScript's ISO string contains a milliseconds component that must be stripped out.
38
+ value = value.toISOString().replace('.000', '');
39
+ }
40
+ return value;
41
+ }
42
+
43
+ function checkObject(expected, actual, ptr) {
44
+ if (undefOrNull(expected) || undefOrNull(actual))
45
+ fail(expected, actual, ptr, "missing value;");
46
+ if (typeof expected !== typeof actual)
47
+ fail(typeof expected, typeof actual, ptr, "wrong type;");
48
+ if (expected.prototype !== actual.prototype)
49
+ fail(expected.prototype, actual.prototype, ptr, "wrong prototype;");
50
+ try {
51
+ var expectedKeys = Object.keys(expected);
52
+ var actualKeys = Object.keys(actual);
53
+ } catch (e) {
54
+ fail(expectedKeys, actualKeys, ptr, "wrong keys;");
55
+ }
56
+ if (actualKeys.length != expectedKeys.length)
57
+ fail(expectedKeys.length, actualKeys.length, ptr, "key count incorrect;");
58
+ expectedKeys.sort();
59
+ actualKeys.sort();
60
+ for (var i = 0; i < expectedKeys.length; i++) {
61
+ if (actualKeys[i] != expectedKeys[i])
62
+ fail(expectedKeys, actualKeys, ptr, "wrong keys;");
63
+ }
64
+ for (i = 0; i < expectedKeys.length; i++) {
65
+ var key = expectedKeys[i];
66
+ assertEquals(expected[key], actual[key], ptr + '/' + key);
67
+ }
68
+ }
69
+
70
+ function undefOrNull(v) {
71
+ return v === undefined || v === null;
72
+ }
73
+
74
+ function fail(expected, actual, ptr, msg) {
75
+ var text = ptr + ' ' + msg + " expected: " + expected + ", actual: " + actual;
76
+ console.log(text);
77
+ throw new Error(text);
78
+ }
79
+
80
+ return assertEquals;
81
+ }));
@@ -0,0 +1,52 @@
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
+ describe('(package)', function() {
33
+ describe('AnalyticsBody', function() {
34
+ beforeEach(function() {
35
+ instance = new NeuralSeek.AnalyticsBody();
36
+ });
37
+
38
+ it('should create an instance of AnalyticsBody', function() {
39
+ // TODO: update the code to test AnalyticsBody
40
+ expect(instance).to.be.a(NeuralSeek.AnalyticsBody);
41
+ });
42
+
43
+ it('should have the property count (base name: "count")', function() {
44
+ // TODO: update the code to test the property count
45
+ expect(instance).to.have.property('count');
46
+ // expect(instance.count).to.be(expectedValueLiteral);
47
+ });
48
+
49
+ });
50
+ });
51
+
52
+ }));
@@ -0,0 +1,58 @@
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
+ describe('(package)', function() {
33
+ describe('AnswerRatingsBody', function() {
34
+ beforeEach(function() {
35
+ instance = new NeuralSeek.AnswerRatingsBody();
36
+ });
37
+
38
+ it('should create an instance of AnswerRatingsBody', function() {
39
+ // TODO: update the code to test AnswerRatingsBody
40
+ expect(instance).to.be.a(NeuralSeek.AnswerRatingsBody);
41
+ });
42
+
43
+ it('should have the property answerId (base name: "answerId")', function() {
44
+ // TODO: update the code to test the property answerId
45
+ expect(instance).to.have.property('answerId');
46
+ // expect(instance.answerId).to.be(expectedValueLiteral);
47
+ });
48
+
49
+ it('should have the property _number (base name: "number")', function() {
50
+ // TODO: update the code to test the property _number
51
+ expect(instance).to.have.property('_number');
52
+ // expect(instance._number).to.be(expectedValueLiteral);
53
+ });
54
+
55
+ });
56
+ });
57
+
58
+ }));