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,109 @@
1
+ # NeuralSeek.GuardrailsApi
2
+
3
+ All URIs are relative to *https://api.neuralseek.com/v1/{instance}*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**pii**](GuardrailsApi.md#pii) | **POST** /pii | Find PII in a user utterance
8
+ [**score**](GuardrailsApi.md#score) | **POST** /score | Run the Semantic Scoring model on text against an array of passages
9
+
10
+ <a name="pii"></a>
11
+ # **pii**
12
+ > [InlineResponse20010] pii(body)
13
+
14
+ Find PII in a user utterance
15
+
16
+ Find PII in a user utterance
17
+
18
+ ### Example
19
+ ```javascript
20
+ import {NeuralSeek} from 'neuralSeek';
21
+ let defaultClient = NeuralSeek.ApiClient.instance;
22
+
23
+ // Configure API key authorization: apiKey
24
+ let apiKey = defaultClient.authentications['apiKey'];
25
+ apiKey.apiKey = 'YOUR API KEY';
26
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
27
+ //apiKey.apiKeyPrefix = 'Token';
28
+
29
+ let apiInstance = new NeuralSeek.GuardrailsApi();
30
+ let body = new NeuralSeek.PiiBody(); // PiiBody | The request object.
31
+
32
+ apiInstance.pii(body, (error, data, response) => {
33
+ if (error) {
34
+ console.error(error);
35
+ } else {
36
+ console.log('API called successfully. Returned data: ' + data);
37
+ }
38
+ });
39
+ ```
40
+
41
+ ### Parameters
42
+
43
+ Name | Type | Description | Notes
44
+ ------------- | ------------- | ------------- | -------------
45
+ **body** | [**PiiBody**](PiiBody.md)| The request object. |
46
+
47
+ ### Return type
48
+
49
+ [**[InlineResponse20010]**](InlineResponse20010.md)
50
+
51
+ ### Authorization
52
+
53
+ [apiKey](../README.md#apiKey)
54
+
55
+ ### HTTP request headers
56
+
57
+ - **Content-Type**: application/json
58
+ - **Accept**: application/json
59
+
60
+ <a name="score"></a>
61
+ # **score**
62
+ > score(body)
63
+
64
+ Run the Semantic Scoring model on text against an array of passages
65
+
66
+ Run the Semantic Scoring model on text against an array of passages
67
+
68
+ ### Example
69
+ ```javascript
70
+ import {NeuralSeek} from 'neuralSeek';
71
+ let defaultClient = NeuralSeek.ApiClient.instance;
72
+
73
+ // Configure API key authorization: apiKey
74
+ let apiKey = defaultClient.authentications['apiKey'];
75
+ apiKey.apiKey = 'YOUR API KEY';
76
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
77
+ //apiKey.apiKeyPrefix = 'Token';
78
+
79
+ let apiInstance = new NeuralSeek.GuardrailsApi();
80
+ let body = new NeuralSeek.ScoreBody(); // ScoreBody | The request object. Must include the question and a context.
81
+
82
+ apiInstance.score(body, (error, data, response) => {
83
+ if (error) {
84
+ console.error(error);
85
+ } else {
86
+ console.log('API called successfully.');
87
+ }
88
+ });
89
+ ```
90
+
91
+ ### Parameters
92
+
93
+ Name | Type | Description | Notes
94
+ ------------- | ------------- | ------------- | -------------
95
+ **body** | [**ScoreBody**](ScoreBody.md)| The request object. Must include the question and a context. |
96
+
97
+ ### Return type
98
+
99
+ null (empty response body)
100
+
101
+ ### Authorization
102
+
103
+ [apiKey](../README.md#apiKey)
104
+
105
+ ### HTTP request headers
106
+
107
+ - **Content-Type**: application/json
108
+ - **Accept**: Not defined
109
+
@@ -0,0 +1,6 @@
1
+ # NeuralSeek.IdentifysingleBody
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **input** | **String** | The input text to identify the language of | [optional] [default to &#x27;&#x27;]
@@ -0,0 +1,6 @@
1
+ # NeuralSeek.InlineResponse200
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **data** | [**SeekResponse**](SeekResponse.md) | |
@@ -0,0 +1,8 @@
1
+ # NeuralSeek.InlineResponse2001
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **score** | **Number** | The average score for the answer. | [optional]
7
+ **total** | **Number** | The total number of user ratings for the answer. | [optional]
8
+ **feedback** | **String** | User feedback | [optional]
@@ -0,0 +1,6 @@
1
+ # NeuralSeek.InlineResponse20010
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **pii** | **[String]** | An array of found PII | [optional]
@@ -0,0 +1,9 @@
1
+ # NeuralSeek.InlineResponse20011
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **_date** | **String** | The timestamp of the entry | [optional] [default to &#x27;&#x27;]
7
+ **question** | **String** | The user question | [optional] [default to &#x27;&#x27;]
8
+ **answer** | **String** | The answer returned | [optional] [default to &#x27;&#x27;]
9
+ **id** | **Number** | The answer id | [optional]
@@ -0,0 +1,7 @@
1
+ # NeuralSeek.InlineResponse20012
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **success** | **Boolean** | | [optional]
7
+ **message** | **String** | | [optional]
@@ -0,0 +1,6 @@
1
+ # NeuralSeek.InlineResponse20013
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **otp** | **String** | The one time password | [optional] [default to &#x27;&#x27;]
@@ -0,0 +1,10 @@
1
+ # NeuralSeek.InlineResponse2002
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **answer** | **String** | The generated response | [optional] [default to &#x27;&#x27;]
7
+ **sourceParts** | **[String]** | | [optional]
8
+ **render** | [**[InlineResponse2002Render]**](InlineResponse2002Render.md) | The steps used to render the result. | [optional]
9
+ **variables** | **Object** | The returned variable. | [optional]
10
+ **variablesExpanded** | [**[SeekResponseVariablesExpanded]**](SeekResponseVariablesExpanded.md) | The returned variable, in the format of the input params | [optional]
@@ -0,0 +1,9 @@
1
+ # NeuralSeek.InlineResponse2002Render
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **node** | **String** | The node type | [optional] [default to &#x27;&#x27;]
7
+ **vars** | **Object** | The variable values | [optional]
8
+ **out** | **String** | The output | [optional] [default to &#x27;&#x27;]
9
+ **chained** | **Boolean** | True if the step is chained | [optional]
@@ -0,0 +1,6 @@
1
+ # NeuralSeek.InlineResponse2003
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **data** | [**InlineResponse2003Data**](InlineResponse2003Data.md) | |
@@ -0,0 +1,10 @@
1
+ # NeuralSeek.InlineResponse2003Data
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **answer** | **String** | The generated response | [optional] [default to &#x27;&#x27;]
7
+ **sourceParts** | **[String]** | | [optional]
8
+ **render** | [**[InlineResponse2002Render]**](InlineResponse2002Render.md) | The steps used to render the result. | [optional]
9
+ **variables** | **Object** | The returned variable. | [optional]
10
+ **variablesExpanded** | [**[SeekResponseVariablesExpanded]**](SeekResponseVariablesExpanded.md) | The returned variable, in the format of the input params | [optional]
@@ -0,0 +1,10 @@
1
+ # NeuralSeek.InlineResponse2004
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Unique identifier for the completion | [optional]
7
+ **_object** | **String** | The type of object returned, should be &#x27;chat.completion&#x27; | [optional]
8
+ **created** | **Number** | Timestamp of when the completion was created | [optional]
9
+ **model** | **String** | The model used for generating the completion | [optional]
10
+ **choices** | [**[InlineResponse2004Choices]**](InlineResponse2004Choices.md) | | [optional]
@@ -0,0 +1,8 @@
1
+ # NeuralSeek.InlineResponse2004Choices
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **index** | **Number** | The index of the choice | [optional]
7
+ **message** | [**InlineResponse2004Message**](InlineResponse2004Message.md) | | [optional]
8
+ **finishReason** | **String** | The reason the message generation finished | [optional]
@@ -0,0 +1,14 @@
1
+ # NeuralSeek.InlineResponse2004Message
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **role** | **String** | The role of the message sender | [optional]
7
+ **content** | **String** | The content of the message | [optional]
8
+
9
+ <a name="RoleEnum"></a>
10
+ ## Enum: RoleEnum
11
+
12
+ * `user` (value: `"user"`)
13
+ * `assistant` (value: `"assistant"`)
14
+
@@ -0,0 +1,9 @@
1
+ # NeuralSeek.InlineResponse2005
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **intent** | **String** | The matched Intent | [optional] [default to &#x27;&#x27;]
7
+ **category** | **String** | The matched Category | [optional] [default to &#x27;&#x27;]
8
+ **categoryId** | **Number** | The Category id | [optional]
9
+ **topIntents** | [**InlineResponse2005TopIntents**](InlineResponse2005TopIntents.md) | | [optional]
@@ -0,0 +1,7 @@
1
+ # NeuralSeek.InlineResponse2005TopIntents
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **score** | **Number** | The score of the intent | [optional]
7
+ **intent** | **String** | The intent name | [optional] [default to &#x27;&#x27;]
@@ -0,0 +1,9 @@
1
+ # NeuralSeek.InlineResponse2006
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **extractedEntities** | [**[InlineResponse2006ExtractedEntities]**](InlineResponse2006ExtractedEntities.md) | | [optional]
7
+ **complete** | **Boolean** | If slots are passed, complete will be set to true when all slots are filled | [optional] [default to false]
8
+ **promptEntity** | **String** | A message to display to the user asking them to provide input for the next group of unfilled slots. | [optional]
9
+ **slots** | **Object** | 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 | [optional]
@@ -0,0 +1,6 @@
1
+ # NeuralSeek.InlineResponse2006ExtractedEntities
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **entity** | **String** | The found entity | [optional] [default to &#x27;&#x27;]
@@ -0,0 +1,12 @@
1
+ # NeuralSeek.InlineResponse2007
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **wordCount** | **Number** | The word count. | [optional]
7
+ **characterCount** | **Number** | The word count. | [optional]
8
+ **detectedLanguage** | **String** | The 2-digit language code for the detected language. | [optional] [default to &#x27;&#x27;]
9
+ **detectedLanguageConfidence** | **Number** | The detected language confidence. | [optional]
10
+ **translationGlossary** | **Boolean** | Returns true if a glossary is loaded and matched any input. | [optional]
11
+ **translationGlossaryExact** | **Boolean** | Returns true if a glossary is loaded and an entry exactly matched the input. | [optional]
12
+ **translations** | [**[InlineResponse2007Translations]**](InlineResponse2007Translations.md) | | [optional]
@@ -0,0 +1,6 @@
1
+ # NeuralSeek.InlineResponse2007Translations
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **translation** | **String** | The translation | [optional] [default to &#x27;&#x27;]
@@ -0,0 +1,7 @@
1
+ # NeuralSeek.InlineResponse2008
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **language** | **String** | The 2-character language code of the identified language. | [optional] [default to &#x27;&#x27;]
7
+ **confidence** | **Number** | The confidence of the language identification. | [optional]
@@ -0,0 +1,7 @@
1
+ # NeuralSeek.InlineResponse2009
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **language** | **String** | The 2-character language code of the identified language. | [optional] [default to &#x27;&#x27;]
7
+ **confidence** | **Number** | The confidence of the language identification | [optional]
@@ -0,0 +1,99 @@
1
+ # NeuralSeek.KeysApi
2
+
3
+ All URIs are relative to *https://api.neuralseek.com/v1/{instance}*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**keycheck**](KeysApi.md#keycheck) | **POST** /keycheck | Validate an api key
8
+ [**otp**](KeysApi.md#otp) | **POST** /otp | Create a One Time Password
9
+
10
+ <a name="keycheck"></a>
11
+ # **keycheck**
12
+ > keycheck()
13
+
14
+ Validate an api key
15
+
16
+ Validate an api key
17
+
18
+ ### Example
19
+ ```javascript
20
+ import {NeuralSeek} from 'neuralSeek';
21
+ let defaultClient = NeuralSeek.ApiClient.instance;
22
+
23
+ // Configure API key authorization: apiKey
24
+ let apiKey = defaultClient.authentications['apiKey'];
25
+ apiKey.apiKey = 'YOUR API KEY';
26
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
27
+ //apiKey.apiKeyPrefix = 'Token';
28
+
29
+ let apiInstance = new NeuralSeek.KeysApi();
30
+ apiInstance.keycheck((error, data, response) => {
31
+ if (error) {
32
+ console.error(error);
33
+ } else {
34
+ console.log('API called successfully.');
35
+ }
36
+ });
37
+ ```
38
+
39
+ ### Parameters
40
+ This endpoint does not need any parameter.
41
+
42
+ ### Return type
43
+
44
+ null (empty response body)
45
+
46
+ ### Authorization
47
+
48
+ [apiKey](../README.md#apiKey)
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: Not defined
53
+ - **Accept**: Not defined
54
+
55
+ <a name="otp"></a>
56
+ # **otp**
57
+ > InlineResponse20013 otp()
58
+
59
+ Create a One Time Password
60
+
61
+ Create a One Time Password for use instead of an api key in unsecure environments, such as the browser. The password will expire after one use, and is valid for 30 minutes. This password can only be used for seek, mAIstro, extract, categorize, score, and logs operations.
62
+
63
+ ### Example
64
+ ```javascript
65
+ import {NeuralSeek} from 'neuralSeek';
66
+ let defaultClient = NeuralSeek.ApiClient.instance;
67
+
68
+ // Configure API key authorization: apiKey
69
+ let apiKey = defaultClient.authentications['apiKey'];
70
+ apiKey.apiKey = 'YOUR API KEY';
71
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
72
+ //apiKey.apiKeyPrefix = 'Token';
73
+
74
+ let apiInstance = new NeuralSeek.KeysApi();
75
+ apiInstance.otp((error, data, response) => {
76
+ if (error) {
77
+ console.error(error);
78
+ } else {
79
+ console.log('API called successfully. Returned data: ' + data);
80
+ }
81
+ });
82
+ ```
83
+
84
+ ### Parameters
85
+ This endpoint does not need any parameter.
86
+
87
+ ### Return type
88
+
89
+ [**InlineResponse20013**](InlineResponse20013.md)
90
+
91
+ ### Authorization
92
+
93
+ [apiKey](../README.md#apiKey)
94
+
95
+ ### HTTP request headers
96
+
97
+ - **Content-Type**: Not defined
98
+ - **Accept**: application/json
99
+
@@ -0,0 +1,11 @@
1
+ # NeuralSeek.LogExternalAgentBody
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **runId** | **Number** | Unique numeric identifier for the execution run |
7
+ **templateName** | **String** | Name of the Agent being executed |
8
+ **user** | **String** | User identifier who initiated the execution |
9
+ **time** | **Number** | The total time of the Agent run in ms | [optional]
10
+ **resultsLink** | **String** | Link to detailed execution results |
11
+ **entries** | [**[LogExternalAgentEntries]**](LogExternalAgentEntries.md) | |
@@ -0,0 +1,34 @@
1
+ # NeuralSeek.LogExternalAgentEntries
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **type** | **String** | | [optional]
7
+ **llmtime** | **Number** | The LLM time in ms | [optional]
8
+ **inputtokencount** | **Number** | Number of input tokens | [optional]
9
+ **generatedtokencount** | **Number** | Number of generated tokens | [optional]
10
+ **llm** | **String** | LLM model identifier | [optional]
11
+ **llmcode** | **String** | LLM specific code | [optional]
12
+ **kbtime** | **Number** | Knowledge base processing time in ms | [optional]
13
+ **kb** | **String** | Knowledge base identifier | [optional]
14
+ **kbScore** | **Number** | Knowledge base relevance score | [optional]
15
+ **kbCoverage** | **Number** | Knowledge base coverage percentage | [optional]
16
+ **elementTime** | **Number** | Time taken for element processing in ms | [optional]
17
+ **element** | **String** | Type of element being timed | [optional]
18
+
19
+ <a name="TypeEnum"></a>
20
+ ## Enum: TypeEnum
21
+
22
+ * `lLMTime` (value: `"LLMTime"`)
23
+ * `lLMCacheTime` (value: `"LLMCacheTime"`)
24
+ * `kBTime` (value: `"KBTime"`)
25
+ * `elementTime` (value: `"ElementTime"`)
26
+
27
+
28
+ <a name="ElementEnum"></a>
29
+ ## Enum: ElementEnum
30
+
31
+ * `model` (value: `"model"`)
32
+ * `rest` (value: `"rest"`)
33
+ * `database` (value: `"database"`)
34
+
@@ -0,0 +1,110 @@
1
+ # NeuralSeek.LogsApi
2
+
3
+ All URIs are relative to *https://api.neuralseek.com/v1/{instance}*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**logExternalAgent**](LogsApi.md#logExternalAgent) | **POST** /logExternalAgent | Log external agent execution details
8
+ [**logs**](LogsApi.md#logs) | **POST** /logs | Instance Logs
9
+
10
+ <a name="logExternalAgent"></a>
11
+ # **logExternalAgent**
12
+ > InlineResponse20012 logExternalAgent(body)
13
+
14
+ Log external agent execution details
15
+
16
+ Records various timing and performance metrics for external agent execution
17
+
18
+ ### Example
19
+ ```javascript
20
+ import {NeuralSeek} from 'neuralSeek';
21
+ let defaultClient = NeuralSeek.ApiClient.instance;
22
+
23
+ // Configure API key authorization: apiKey
24
+ let apiKey = defaultClient.authentications['apiKey'];
25
+ apiKey.apiKey = 'YOUR API KEY';
26
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
27
+ //apiKey.apiKeyPrefix = 'Token';
28
+
29
+ let apiInstance = new NeuralSeek.LogsApi();
30
+ let body = new NeuralSeek.LogExternalAgentBody(); // LogExternalAgentBody |
31
+
32
+ apiInstance.logExternalAgent(body, (error, data, response) => {
33
+ if (error) {
34
+ console.error(error);
35
+ } else {
36
+ console.log('API called successfully. Returned data: ' + data);
37
+ }
38
+ });
39
+ ```
40
+
41
+ ### Parameters
42
+
43
+ Name | Type | Description | Notes
44
+ ------------- | ------------- | ------------- | -------------
45
+ **body** | [**LogExternalAgentBody**](LogExternalAgentBody.md)| |
46
+
47
+ ### Return type
48
+
49
+ [**InlineResponse20012**](InlineResponse20012.md)
50
+
51
+ ### Authorization
52
+
53
+ [apiKey](../README.md#apiKey)
54
+
55
+ ### HTTP request headers
56
+
57
+ - **Content-Type**: application/json
58
+ - **Accept**: application/json
59
+
60
+ <a name="logs"></a>
61
+ # **logs**
62
+ > [InlineResponse20011] logs(opts)
63
+
64
+ Instance Logs
65
+
66
+ Retrieve logs for your instance
67
+
68
+ ### Example
69
+ ```javascript
70
+ import {NeuralSeek} from 'neuralSeek';
71
+ let defaultClient = NeuralSeek.ApiClient.instance;
72
+
73
+ // Configure API key authorization: apiKey
74
+ let apiKey = defaultClient.authentications['apiKey'];
75
+ apiKey.apiKey = 'YOUR API KEY';
76
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
77
+ //apiKey.apiKeyPrefix = 'Token';
78
+
79
+ let apiInstance = new NeuralSeek.LogsApi();
80
+ let opts = {
81
+ 'body': new NeuralSeek.LogsBody() // LogsBody | The request object.
82
+ };
83
+ apiInstance.logs(opts, (error, data, response) => {
84
+ if (error) {
85
+ console.error(error);
86
+ } else {
87
+ console.log('API called successfully. Returned data: ' + data);
88
+ }
89
+ });
90
+ ```
91
+
92
+ ### Parameters
93
+
94
+ Name | Type | Description | Notes
95
+ ------------- | ------------- | ------------- | -------------
96
+ **body** | [**LogsBody**](LogsBody.md)| The request object. | [optional]
97
+
98
+ ### Return type
99
+
100
+ [**[InlineResponse20011]**](InlineResponse20011.md)
101
+
102
+ ### Authorization
103
+
104
+ [apiKey](../README.md#apiKey)
105
+
106
+ ### HTTP request headers
107
+
108
+ - **Content-Type**: application/json
109
+ - **Accept**: application/json
110
+
@@ -0,0 +1,8 @@
1
+ # NeuralSeek.LogsBody
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **limit** | **Number** | The number of rows to return, max of 100 | [optional] [default to 100]
7
+ **skip** | **Number** | The number of result sets to skip for paging | [optional] [default to 0]
8
+ **search** | **String** | An optional search string | [optional] [default to &#x27;&#x27;]