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,80 @@
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
+ import ApiClient from '../ApiClient';
17
+
18
+ /**
19
+ * The InlineResponse2004Message model module.
20
+ * @module model/InlineResponse2004Message
21
+ * @version 1.0.1
22
+ */
23
+ export default class InlineResponse2004Message {
24
+ /**
25
+ * Constructs a new <code>InlineResponse2004Message</code>.
26
+ * @alias module:model/InlineResponse2004Message
27
+ * @class
28
+ */
29
+ constructor() {
30
+ }
31
+
32
+ /**
33
+ * Constructs a <code>InlineResponse2004Message</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/InlineResponse2004Message} obj Optional instance to populate.
37
+ * @return {module:model/InlineResponse2004Message} The populated <code>InlineResponse2004Message</code> instance.
38
+ */
39
+ static constructFromObject(data, obj) {
40
+ if (data) {
41
+ obj = obj || new InlineResponse2004Message();
42
+ if (data.hasOwnProperty('role'))
43
+ obj.role = ApiClient.convertToType(data['role'], 'String');
44
+ if (data.hasOwnProperty('content'))
45
+ obj.content = ApiClient.convertToType(data['content'], 'String');
46
+ }
47
+ return obj;
48
+ }
49
+ }
50
+
51
+ /**
52
+ * Allowed values for the <code>role</code> property.
53
+ * @enum {String}
54
+ * @readonly
55
+ */
56
+ InlineResponse2004Message.RoleEnum = {
57
+ /**
58
+ * value: "user"
59
+ * @const
60
+ */
61
+ user: "user",
62
+
63
+ /**
64
+ * value: "assistant"
65
+ * @const
66
+ */
67
+ assistant: "assistant"
68
+ };
69
+ /**
70
+ * The role of the message sender
71
+ * @member {module:model/InlineResponse2004Message.RoleEnum} role
72
+ */
73
+ InlineResponse2004Message.prototype.role = undefined;
74
+
75
+ /**
76
+ * The content of the message
77
+ * @member {String} content
78
+ */
79
+ InlineResponse2004Message.prototype.content = undefined;
80
+
@@ -0,0 +1,80 @@
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
+ import ApiClient from '../ApiClient';
17
+ import InlineResponse2005TopIntents from './InlineResponse2005TopIntents';
18
+
19
+ /**
20
+ * The InlineResponse2005 model module.
21
+ * @module model/InlineResponse2005
22
+ * @version 1.0.1
23
+ */
24
+ export default class InlineResponse2005 {
25
+ /**
26
+ * Constructs a new <code>InlineResponse2005</code>.
27
+ * @alias module:model/InlineResponse2005
28
+ * @class
29
+ */
30
+ constructor() {
31
+ }
32
+
33
+ /**
34
+ * Constructs a <code>InlineResponse2005</code> from a plain JavaScript object, optionally creating a new instance.
35
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
36
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
37
+ * @param {module:model/InlineResponse2005} obj Optional instance to populate.
38
+ * @return {module:model/InlineResponse2005} The populated <code>InlineResponse2005</code> instance.
39
+ */
40
+ static constructFromObject(data, obj) {
41
+ if (data) {
42
+ obj = obj || new InlineResponse2005();
43
+ if (data.hasOwnProperty('intent'))
44
+ obj.intent = ApiClient.convertToType(data['intent'], 'String');
45
+ if (data.hasOwnProperty('category'))
46
+ obj.category = ApiClient.convertToType(data['category'], 'String');
47
+ if (data.hasOwnProperty('categoryId'))
48
+ obj.categoryId = ApiClient.convertToType(data['categoryId'], 'Number');
49
+ if (data.hasOwnProperty('topIntents'))
50
+ obj.topIntents = InlineResponse2005TopIntents.constructFromObject(data['topIntents']);
51
+ }
52
+ return obj;
53
+ }
54
+ }
55
+
56
+ /**
57
+ * The matched Intent
58
+ * @member {String} intent
59
+ * @default ''
60
+ */
61
+ InlineResponse2005.prototype.intent = '';
62
+
63
+ /**
64
+ * The matched Category
65
+ * @member {String} category
66
+ * @default ''
67
+ */
68
+ InlineResponse2005.prototype.category = '';
69
+
70
+ /**
71
+ * The Category id
72
+ * @member {Number} categoryId
73
+ */
74
+ InlineResponse2005.prototype.categoryId = undefined;
75
+
76
+ /**
77
+ * @member {module:model/InlineResponse2005TopIntents} topIntents
78
+ */
79
+ InlineResponse2005.prototype.topIntents = undefined;
80
+
@@ -0,0 +1,64 @@
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
+ import ApiClient from '../ApiClient';
17
+
18
+ /**
19
+ * The InlineResponse2005TopIntents model module.
20
+ * @module model/InlineResponse2005TopIntents
21
+ * @version 1.0.1
22
+ */
23
+ export default class InlineResponse2005TopIntents {
24
+ /**
25
+ * Constructs a new <code>InlineResponse2005TopIntents</code>.
26
+ * If Vector Similarity is set as the Intent Match type, this will provide the top 3 matches
27
+ * @alias module:model/InlineResponse2005TopIntents
28
+ * @class
29
+ */
30
+ constructor() {
31
+ }
32
+
33
+ /**
34
+ * Constructs a <code>InlineResponse2005TopIntents</code> from a plain JavaScript object, optionally creating a new instance.
35
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
36
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
37
+ * @param {module:model/InlineResponse2005TopIntents} obj Optional instance to populate.
38
+ * @return {module:model/InlineResponse2005TopIntents} The populated <code>InlineResponse2005TopIntents</code> instance.
39
+ */
40
+ static constructFromObject(data, obj) {
41
+ if (data) {
42
+ obj = obj || new InlineResponse2005TopIntents();
43
+ if (data.hasOwnProperty('score'))
44
+ obj.score = ApiClient.convertToType(data['score'], 'Number');
45
+ if (data.hasOwnProperty('intent'))
46
+ obj.intent = ApiClient.convertToType(data['intent'], 'String');
47
+ }
48
+ return obj;
49
+ }
50
+ }
51
+
52
+ /**
53
+ * The score of the intent
54
+ * @member {Number} score
55
+ */
56
+ InlineResponse2005TopIntents.prototype.score = undefined;
57
+
58
+ /**
59
+ * The intent name
60
+ * @member {String} intent
61
+ * @default ''
62
+ */
63
+ InlineResponse2005TopIntents.prototype.intent = '';
64
+
@@ -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
+ import ApiClient from '../ApiClient';
17
+ import InlineResponse2006ExtractedEntities from './InlineResponse2006ExtractedEntities';
18
+
19
+ /**
20
+ * The InlineResponse2006 model module.
21
+ * @module model/InlineResponse2006
22
+ * @version 1.0.1
23
+ */
24
+ export default class InlineResponse2006 {
25
+ /**
26
+ * Constructs a new <code>InlineResponse2006</code>.
27
+ * @alias module:model/InlineResponse2006
28
+ * @class
29
+ */
30
+ constructor() {
31
+ }
32
+
33
+ /**
34
+ * Constructs a <code>InlineResponse2006</code> from a plain JavaScript object, optionally creating a new instance.
35
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
36
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
37
+ * @param {module:model/InlineResponse2006} obj Optional instance to populate.
38
+ * @return {module:model/InlineResponse2006} The populated <code>InlineResponse2006</code> instance.
39
+ */
40
+ static constructFromObject(data, obj) {
41
+ if (data) {
42
+ obj = obj || new InlineResponse2006();
43
+ if (data.hasOwnProperty('extractedEntities'))
44
+ obj.extractedEntities = ApiClient.convertToType(data['extractedEntities'], [InlineResponse2006ExtractedEntities]);
45
+ if (data.hasOwnProperty('complete'))
46
+ obj.complete = ApiClient.convertToType(data['complete'], 'Boolean');
47
+ if (data.hasOwnProperty('promptEntity'))
48
+ obj.promptEntity = ApiClient.convertToType(data['promptEntity'], 'String');
49
+ if (data.hasOwnProperty('slots'))
50
+ obj.slots = ApiClient.convertToType(data['slots'], Object);
51
+ }
52
+ return obj;
53
+ }
54
+ }
55
+
56
+ /**
57
+ * @member {Array.<module:model/InlineResponse2006ExtractedEntities>} extractedEntities
58
+ */
59
+ InlineResponse2006.prototype.extractedEntities = undefined;
60
+
61
+ /**
62
+ * If slots are passed, complete will be set to true when all slots are filled
63
+ * @member {Boolean} complete
64
+ * @default false
65
+ */
66
+ InlineResponse2006.prototype.complete = false;
67
+
68
+ /**
69
+ * A message to display to the user asking them to provide input for the next group of unfilled slots.
70
+ * @member {String} promptEntity
71
+ */
72
+ InlineResponse2006.prototype.promptEntity = undefined;
73
+
74
+ /**
75
+ * If the slots parameter is filled on the input, NeuralSeek will return it and begin filling the value fields. Continue to send this entire filed back as input thru the multiple turns of the conversation, untill Complete is set to true. Complete will be set to true when all slots are filled
76
+ * @member {Object} slots
77
+ */
78
+ InlineResponse2006.prototype.slots = undefined;
79
+
@@ -0,0 +1,55 @@
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
+ import ApiClient from '../ApiClient';
17
+
18
+ /**
19
+ * The InlineResponse2006ExtractedEntities model module.
20
+ * @module model/InlineResponse2006ExtractedEntities
21
+ * @version 1.0.1
22
+ */
23
+ export default class InlineResponse2006ExtractedEntities {
24
+ /**
25
+ * Constructs a new <code>InlineResponse2006ExtractedEntities</code>.
26
+ * @alias module:model/InlineResponse2006ExtractedEntities
27
+ * @class
28
+ */
29
+ constructor() {
30
+ }
31
+
32
+ /**
33
+ * Constructs a <code>InlineResponse2006ExtractedEntities</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/InlineResponse2006ExtractedEntities} obj Optional instance to populate.
37
+ * @return {module:model/InlineResponse2006ExtractedEntities} The populated <code>InlineResponse2006ExtractedEntities</code> instance.
38
+ */
39
+ static constructFromObject(data, obj) {
40
+ if (data) {
41
+ obj = obj || new InlineResponse2006ExtractedEntities();
42
+ if (data.hasOwnProperty('entity'))
43
+ obj.entity = ApiClient.convertToType(data['entity'], 'String');
44
+ }
45
+ return obj;
46
+ }
47
+ }
48
+
49
+ /**
50
+ * The found entity
51
+ * @member {String} entity
52
+ * @default ''
53
+ */
54
+ InlineResponse2006ExtractedEntities.prototype.entity = '';
55
+
@@ -0,0 +1,103 @@
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
+ import ApiClient from '../ApiClient';
17
+ import InlineResponse2007Translations from './InlineResponse2007Translations';
18
+
19
+ /**
20
+ * The InlineResponse2007 model module.
21
+ * @module model/InlineResponse2007
22
+ * @version 1.0.1
23
+ */
24
+ export default class InlineResponse2007 {
25
+ /**
26
+ * Constructs a new <code>InlineResponse2007</code>.
27
+ * @alias module:model/InlineResponse2007
28
+ * @class
29
+ */
30
+ constructor() {
31
+ }
32
+
33
+ /**
34
+ * Constructs a <code>InlineResponse2007</code> from a plain JavaScript object, optionally creating a new instance.
35
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
36
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
37
+ * @param {module:model/InlineResponse2007} obj Optional instance to populate.
38
+ * @return {module:model/InlineResponse2007} The populated <code>InlineResponse2007</code> instance.
39
+ */
40
+ static constructFromObject(data, obj) {
41
+ if (data) {
42
+ obj = obj || new InlineResponse2007();
43
+ if (data.hasOwnProperty('word_count'))
44
+ obj.wordCount = ApiClient.convertToType(data['word_count'], 'Number');
45
+ if (data.hasOwnProperty('character_count'))
46
+ obj.characterCount = ApiClient.convertToType(data['character_count'], 'Number');
47
+ if (data.hasOwnProperty('detected_language'))
48
+ obj.detectedLanguage = ApiClient.convertToType(data['detected_language'], 'String');
49
+ if (data.hasOwnProperty('detected_language_confidence'))
50
+ obj.detectedLanguageConfidence = ApiClient.convertToType(data['detected_language_confidence'], 'Number');
51
+ if (data.hasOwnProperty('translation_glossary'))
52
+ obj.translationGlossary = ApiClient.convertToType(data['translation_glossary'], 'Boolean');
53
+ if (data.hasOwnProperty('translation_glossary_exact'))
54
+ obj.translationGlossaryExact = ApiClient.convertToType(data['translation_glossary_exact'], 'Boolean');
55
+ if (data.hasOwnProperty('translations'))
56
+ obj.translations = ApiClient.convertToType(data['translations'], [InlineResponse2007Translations]);
57
+ }
58
+ return obj;
59
+ }
60
+ }
61
+
62
+ /**
63
+ * The word count.
64
+ * @member {Number} wordCount
65
+ */
66
+ InlineResponse2007.prototype.wordCount = undefined;
67
+
68
+ /**
69
+ * The word count.
70
+ * @member {Number} characterCount
71
+ */
72
+ InlineResponse2007.prototype.characterCount = undefined;
73
+
74
+ /**
75
+ * The 2-digit language code for the detected language.
76
+ * @member {String} detectedLanguage
77
+ * @default ''
78
+ */
79
+ InlineResponse2007.prototype.detectedLanguage = '';
80
+
81
+ /**
82
+ * The detected language confidence.
83
+ * @member {Number} detectedLanguageConfidence
84
+ */
85
+ InlineResponse2007.prototype.detectedLanguageConfidence = undefined;
86
+
87
+ /**
88
+ * Returns true if a glossary is loaded and matched any input.
89
+ * @member {Boolean} translationGlossary
90
+ */
91
+ InlineResponse2007.prototype.translationGlossary = undefined;
92
+
93
+ /**
94
+ * Returns true if a glossary is loaded and an entry exactly matched the input.
95
+ * @member {Boolean} translationGlossaryExact
96
+ */
97
+ InlineResponse2007.prototype.translationGlossaryExact = undefined;
98
+
99
+ /**
100
+ * @member {Array.<module:model/InlineResponse2007Translations>} translations
101
+ */
102
+ InlineResponse2007.prototype.translations = undefined;
103
+
@@ -0,0 +1,55 @@
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
+ import ApiClient from '../ApiClient';
17
+
18
+ /**
19
+ * The InlineResponse2007Translations model module.
20
+ * @module model/InlineResponse2007Translations
21
+ * @version 1.0.1
22
+ */
23
+ export default class InlineResponse2007Translations {
24
+ /**
25
+ * Constructs a new <code>InlineResponse2007Translations</code>.
26
+ * @alias module:model/InlineResponse2007Translations
27
+ * @class
28
+ */
29
+ constructor() {
30
+ }
31
+
32
+ /**
33
+ * Constructs a <code>InlineResponse2007Translations</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/InlineResponse2007Translations} obj Optional instance to populate.
37
+ * @return {module:model/InlineResponse2007Translations} The populated <code>InlineResponse2007Translations</code> instance.
38
+ */
39
+ static constructFromObject(data, obj) {
40
+ if (data) {
41
+ obj = obj || new InlineResponse2007Translations();
42
+ if (data.hasOwnProperty('translation'))
43
+ obj.translation = ApiClient.convertToType(data['translation'], 'String');
44
+ }
45
+ return obj;
46
+ }
47
+ }
48
+
49
+ /**
50
+ * The translation
51
+ * @member {String} translation
52
+ * @default ''
53
+ */
54
+ InlineResponse2007Translations.prototype.translation = '';
55
+
@@ -0,0 +1,63 @@
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
+ import ApiClient from '../ApiClient';
17
+
18
+ /**
19
+ * The InlineResponse2008 model module.
20
+ * @module model/InlineResponse2008
21
+ * @version 1.0.1
22
+ */
23
+ export default class InlineResponse2008 {
24
+ /**
25
+ * Constructs a new <code>InlineResponse2008</code>.
26
+ * @alias module:model/InlineResponse2008
27
+ * @class
28
+ */
29
+ constructor() {
30
+ }
31
+
32
+ /**
33
+ * Constructs a <code>InlineResponse2008</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/InlineResponse2008} obj Optional instance to populate.
37
+ * @return {module:model/InlineResponse2008} The populated <code>InlineResponse2008</code> instance.
38
+ */
39
+ static constructFromObject(data, obj) {
40
+ if (data) {
41
+ obj = obj || new InlineResponse2008();
42
+ if (data.hasOwnProperty('language'))
43
+ obj.language = ApiClient.convertToType(data['language'], 'String');
44
+ if (data.hasOwnProperty('confidence'))
45
+ obj.confidence = ApiClient.convertToType(data['confidence'], 'Number');
46
+ }
47
+ return obj;
48
+ }
49
+ }
50
+
51
+ /**
52
+ * The 2-character language code of the identified language.
53
+ * @member {String} language
54
+ * @default ''
55
+ */
56
+ InlineResponse2008.prototype.language = '';
57
+
58
+ /**
59
+ * The confidence of the language identification.
60
+ * @member {Number} confidence
61
+ */
62
+ InlineResponse2008.prototype.confidence = undefined;
63
+
@@ -0,0 +1,63 @@
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
+ import ApiClient from '../ApiClient';
17
+
18
+ /**
19
+ * The InlineResponse2009 model module.
20
+ * @module model/InlineResponse2009
21
+ * @version 1.0.1
22
+ */
23
+ export default class InlineResponse2009 {
24
+ /**
25
+ * Constructs a new <code>InlineResponse2009</code>.
26
+ * @alias module:model/InlineResponse2009
27
+ * @class
28
+ */
29
+ constructor() {
30
+ }
31
+
32
+ /**
33
+ * Constructs a <code>InlineResponse2009</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/InlineResponse2009} obj Optional instance to populate.
37
+ * @return {module:model/InlineResponse2009} The populated <code>InlineResponse2009</code> instance.
38
+ */
39
+ static constructFromObject(data, obj) {
40
+ if (data) {
41
+ obj = obj || new InlineResponse2009();
42
+ if (data.hasOwnProperty('language'))
43
+ obj.language = ApiClient.convertToType(data['language'], 'String');
44
+ if (data.hasOwnProperty('confidence'))
45
+ obj.confidence = ApiClient.convertToType(data['confidence'], 'Number');
46
+ }
47
+ return obj;
48
+ }
49
+ }
50
+
51
+ /**
52
+ * The 2-character language code of the identified language.
53
+ * @member {String} language
54
+ * @default ''
55
+ */
56
+ InlineResponse2009.prototype.language = '';
57
+
58
+ /**
59
+ * The confidence of the language identification
60
+ * @member {Number} confidence
61
+ */
62
+ InlineResponse2009.prototype.confidence = undefined;
63
+