neuralseekui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +163 -0
- package/docs/AddIntentBody.md +10 -0
- package/docs/AnswersApi.md +160 -0
- package/docs/CategoriesApi.md +58 -0
- package/docs/CategoryBody.md +8 -0
- package/docs/CurateBody.md +9 -0
- package/docs/CuratedDataApi.md +59 -0
- package/docs/DelAnswerBody.md +6 -0
- package/docs/DelQuestionBody.md +7 -0
- package/docs/DelUserDataBody.md +7 -0
- package/docs/EditAnswerBody.md +7 -0
- package/docs/ExploreFilesBody.md +6 -0
- package/docs/ExploreUploadBody.md +6 -0
- package/docs/FdelBody.md +7 -0
- package/docs/FindAnswerIdBody.md +6 -0
- package/docs/FlagBody.md +7 -0
- package/docs/GodocumentBody.md +9 -0
- package/docs/GomaistroBody.md +7 -0
- package/docs/GomaistrotokensBody.md +7 -0
- package/docs/GooverBody.md +9 -0
- package/docs/GoperfBody.md +7 -0
- package/docs/GosemanticBody.md +9 -0
- package/docs/GotokensBody.md +7 -0
- package/docs/GovernanceApi.md +410 -0
- package/docs/IntentsApi.md +364 -0
- package/docs/LoadUserResponseBody.md +7 -0
- package/docs/MAIstroApi.md +265 -0
- package/docs/MaistroFilesBody.md +8 -0
- package/docs/MaistroOCRBody.md +6 -0
- package/docs/MergeBody.md +7 -0
- package/docs/QuestionsApi.md +58 -0
- package/docs/RenBody.md +7 -0
- package/docs/UnmergeBody.md +6 -0
- package/git_push.sh +52 -0
- package/mocha.opts +1 -0
- package/package.json +55 -0
- package/src/ApiClient.js +585 -0
- package/src/api/AnswersApi.js +179 -0
- package/src/api/CategoriesApi.js +85 -0
- package/src/api/CuratedDataApi.js +82 -0
- package/src/api/GovernanceApi.js +408 -0
- package/src/api/IntentsApi.js +367 -0
- package/src/api/MAIstroApi.js +262 -0
- package/src/api/QuestionsApi.js +85 -0
- package/src/index.js +279 -0
- package/src/model/AddIntentBody.js +91 -0
- package/src/model/CategoryBody.js +71 -0
- package/src/model/CurateBody.js +75 -0
- package/src/model/DelAnswerBody.js +55 -0
- package/src/model/DelQuestionBody.js +64 -0
- package/src/model/DelUserDataBody.js +62 -0
- package/src/model/EditAnswerBody.js +64 -0
- package/src/model/ExploreFilesBody.js +55 -0
- package/src/model/ExploreUploadBody.js +53 -0
- package/src/model/FdelBody.js +62 -0
- package/src/model/FindAnswerIdBody.js +55 -0
- package/src/model/FlagBody.js +61 -0
- package/src/model/GodocumentBody.js +76 -0
- package/src/model/GomaistroBody.js +62 -0
- package/src/model/GomaistrotokensBody.js +62 -0
- package/src/model/GooverBody.js +76 -0
- package/src/model/GoperfBody.js +62 -0
- package/src/model/GosemanticBody.js +76 -0
- package/src/model/GotokensBody.js +62 -0
- package/src/model/LoadUserResponseBody.js +64 -0
- package/src/model/MaistroFilesBody.js +69 -0
- package/src/model/MaistroOCRBody.js +53 -0
- package/src/model/MergeBody.js +64 -0
- package/src/model/RenBody.js +62 -0
- package/src/model/UnmergeBody.js +53 -0
- package/test/api/AnswersApi.spec.js +95 -0
- package/test/api/CategoriesApi.spec.js +59 -0
- package/test/api/CuratedDataApi.spec.js +60 -0
- package/test/api/GovernanceApi.spec.js +185 -0
- package/test/api/IntentsApi.spec.js +167 -0
- package/test/api/MAIstroApi.spec.js +134 -0
- package/test/api/QuestionsApi.spec.js +59 -0
- package/test/assert-equals.js +81 -0
- package/test/model/AddIntentBody.spec.js +76 -0
- package/test/model/CategoryBody.spec.js +64 -0
- package/test/model/CurateBody.spec.js +70 -0
- package/test/model/DelAnswerBody.spec.js +52 -0
- package/test/model/DelQuestionBody.spec.js +58 -0
- package/test/model/DelUserDataBody.spec.js +58 -0
- package/test/model/EditAnswerBody.spec.js +58 -0
- package/test/model/ExploreFilesBody.spec.js +52 -0
- package/test/model/ExploreUploadBody.spec.js +52 -0
- package/test/model/FdelBody.spec.js +58 -0
- package/test/model/FindAnswerIdBody.spec.js +52 -0
- package/test/model/FlagBody.spec.js +58 -0
- package/test/model/GodocumentBody.spec.js +70 -0
- package/test/model/GomaistroBody.spec.js +58 -0
- package/test/model/GomaistrotokensBody.spec.js +58 -0
- package/test/model/GooverBody.spec.js +70 -0
- package/test/model/GoperfBody.spec.js +58 -0
- package/test/model/GosemanticBody.spec.js +70 -0
- package/test/model/GotokensBody.spec.js +58 -0
- package/test/model/LoadUserResponseBody.spec.js +58 -0
- package/test/model/MaistroFilesBody.spec.js +64 -0
- package/test/model/MaistroOCRBody.spec.js +52 -0
- package/test/model/MergeBody.spec.js +58 -0
- package/test/model/RenBody.spec.js +58 -0
- package/test/model/UnmergeBody.spec.js +52 -0
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
# NeuralSeekUi.IntentsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://console.neuralseek.com/{instance}*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**add**](IntentsApi.md#add) | **POST** /addIntent | Add an Intent
|
|
8
|
+
[**callDelete**](IntentsApi.md#callDelete) | **POST** /delUserData | Delete Intents / Data
|
|
9
|
+
[**examples**](IntentsApi.md#examples) | **POST** /loadUserResponse | Add Intent Examples
|
|
10
|
+
[**flag**](IntentsApi.md#flag) | **POST** /flag | Flag an Intent
|
|
11
|
+
[**merge**](IntentsApi.md#merge) | **POST** /merge | Merge Intents
|
|
12
|
+
[**rename**](IntentsApi.md#rename) | **POST** /ren | Rename an Intent
|
|
13
|
+
[**unMerge**](IntentsApi.md#unMerge) | **POST** /unmerge | UnMerge Intents
|
|
14
|
+
|
|
15
|
+
<a name="add"></a>
|
|
16
|
+
# **add**
|
|
17
|
+
> add(body)
|
|
18
|
+
|
|
19
|
+
Add an Intent
|
|
20
|
+
|
|
21
|
+
Add an Intent
|
|
22
|
+
|
|
23
|
+
### Example
|
|
24
|
+
```javascript
|
|
25
|
+
import {NeuralSeekUi} from 'neuralSeekUI';
|
|
26
|
+
let defaultClient = NeuralSeekUi.ApiClient.instance;
|
|
27
|
+
|
|
28
|
+
// Configure API key authorization: apiKey
|
|
29
|
+
let apiKey = defaultClient.authentications['apiKey'];
|
|
30
|
+
apiKey.apiKey = 'YOUR API KEY';
|
|
31
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
32
|
+
//apiKey.apiKeyPrefix = 'Token';
|
|
33
|
+
|
|
34
|
+
let apiInstance = new NeuralSeekUi.IntentsApi();
|
|
35
|
+
let body = new NeuralSeekUi.AddIntentBody(); // AddIntentBody | The request object.
|
|
36
|
+
|
|
37
|
+
apiInstance.add(body, (error, data, response) => {
|
|
38
|
+
if (error) {
|
|
39
|
+
console.error(error);
|
|
40
|
+
} else {
|
|
41
|
+
console.log('API called successfully.');
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Parameters
|
|
47
|
+
|
|
48
|
+
Name | Type | Description | Notes
|
|
49
|
+
------------- | ------------- | ------------- | -------------
|
|
50
|
+
**body** | [**AddIntentBody**](AddIntentBody.md)| The request object. |
|
|
51
|
+
|
|
52
|
+
### Return type
|
|
53
|
+
|
|
54
|
+
null (empty response body)
|
|
55
|
+
|
|
56
|
+
### Authorization
|
|
57
|
+
|
|
58
|
+
[apiKey](../README.md#apiKey)
|
|
59
|
+
|
|
60
|
+
### HTTP request headers
|
|
61
|
+
|
|
62
|
+
- **Content-Type**: application/json
|
|
63
|
+
- **Accept**: Not defined
|
|
64
|
+
|
|
65
|
+
<a name="callDelete"></a>
|
|
66
|
+
# **callDelete**
|
|
67
|
+
> callDelete(body)
|
|
68
|
+
|
|
69
|
+
Delete Intents / Data
|
|
70
|
+
|
|
71
|
+
Delete intents or broader datasets
|
|
72
|
+
|
|
73
|
+
### Example
|
|
74
|
+
```javascript
|
|
75
|
+
import {NeuralSeekUi} from 'neuralSeekUI';
|
|
76
|
+
let defaultClient = NeuralSeekUi.ApiClient.instance;
|
|
77
|
+
|
|
78
|
+
// Configure API key authorization: apiKey
|
|
79
|
+
let apiKey = defaultClient.authentications['apiKey'];
|
|
80
|
+
apiKey.apiKey = 'YOUR API KEY';
|
|
81
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
82
|
+
//apiKey.apiKeyPrefix = 'Token';
|
|
83
|
+
|
|
84
|
+
let apiInstance = new NeuralSeekUi.IntentsApi();
|
|
85
|
+
let body = new NeuralSeekUi.DelUserDataBody(); // DelUserDataBody | The request object.
|
|
86
|
+
|
|
87
|
+
apiInstance.callDelete(body, (error, data, response) => {
|
|
88
|
+
if (error) {
|
|
89
|
+
console.error(error);
|
|
90
|
+
} else {
|
|
91
|
+
console.log('API called successfully.');
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Parameters
|
|
97
|
+
|
|
98
|
+
Name | Type | Description | Notes
|
|
99
|
+
------------- | ------------- | ------------- | -------------
|
|
100
|
+
**body** | [**DelUserDataBody**](DelUserDataBody.md)| The request object. |
|
|
101
|
+
|
|
102
|
+
### Return type
|
|
103
|
+
|
|
104
|
+
null (empty response body)
|
|
105
|
+
|
|
106
|
+
### Authorization
|
|
107
|
+
|
|
108
|
+
[apiKey](../README.md#apiKey)
|
|
109
|
+
|
|
110
|
+
### HTTP request headers
|
|
111
|
+
|
|
112
|
+
- **Content-Type**: application/json
|
|
113
|
+
- **Accept**: Not defined
|
|
114
|
+
|
|
115
|
+
<a name="examples"></a>
|
|
116
|
+
# **examples**
|
|
117
|
+
> examples(body)
|
|
118
|
+
|
|
119
|
+
Add Intent Examples
|
|
120
|
+
|
|
121
|
+
Add Intent Examples
|
|
122
|
+
|
|
123
|
+
### Example
|
|
124
|
+
```javascript
|
|
125
|
+
import {NeuralSeekUi} from 'neuralSeekUI';
|
|
126
|
+
let defaultClient = NeuralSeekUi.ApiClient.instance;
|
|
127
|
+
|
|
128
|
+
// Configure API key authorization: apiKey
|
|
129
|
+
let apiKey = defaultClient.authentications['apiKey'];
|
|
130
|
+
apiKey.apiKey = 'YOUR API KEY';
|
|
131
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
132
|
+
//apiKey.apiKeyPrefix = 'Token';
|
|
133
|
+
|
|
134
|
+
let apiInstance = new NeuralSeekUi.IntentsApi();
|
|
135
|
+
let body = new NeuralSeekUi.LoadUserResponseBody(); // LoadUserResponseBody | The request object.
|
|
136
|
+
|
|
137
|
+
apiInstance.examples(body, (error, data, response) => {
|
|
138
|
+
if (error) {
|
|
139
|
+
console.error(error);
|
|
140
|
+
} else {
|
|
141
|
+
console.log('API called successfully.');
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Parameters
|
|
147
|
+
|
|
148
|
+
Name | Type | Description | Notes
|
|
149
|
+
------------- | ------------- | ------------- | -------------
|
|
150
|
+
**body** | [**LoadUserResponseBody**](LoadUserResponseBody.md)| The request object. |
|
|
151
|
+
|
|
152
|
+
### Return type
|
|
153
|
+
|
|
154
|
+
null (empty response body)
|
|
155
|
+
|
|
156
|
+
### Authorization
|
|
157
|
+
|
|
158
|
+
[apiKey](../README.md#apiKey)
|
|
159
|
+
|
|
160
|
+
### HTTP request headers
|
|
161
|
+
|
|
162
|
+
- **Content-Type**: application/json
|
|
163
|
+
- **Accept**: Not defined
|
|
164
|
+
|
|
165
|
+
<a name="flag"></a>
|
|
166
|
+
# **flag**
|
|
167
|
+
> flag(body)
|
|
168
|
+
|
|
169
|
+
Flag an Intent
|
|
170
|
+
|
|
171
|
+
Flag an Intent
|
|
172
|
+
|
|
173
|
+
### Example
|
|
174
|
+
```javascript
|
|
175
|
+
import {NeuralSeekUi} from 'neuralSeekUI';
|
|
176
|
+
let defaultClient = NeuralSeekUi.ApiClient.instance;
|
|
177
|
+
|
|
178
|
+
// Configure API key authorization: apiKey
|
|
179
|
+
let apiKey = defaultClient.authentications['apiKey'];
|
|
180
|
+
apiKey.apiKey = 'YOUR API KEY';
|
|
181
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
182
|
+
//apiKey.apiKeyPrefix = 'Token';
|
|
183
|
+
|
|
184
|
+
let apiInstance = new NeuralSeekUi.IntentsApi();
|
|
185
|
+
let body = new NeuralSeekUi.FlagBody(); // FlagBody | The request object.
|
|
186
|
+
|
|
187
|
+
apiInstance.flag(body, (error, data, response) => {
|
|
188
|
+
if (error) {
|
|
189
|
+
console.error(error);
|
|
190
|
+
} else {
|
|
191
|
+
console.log('API called successfully.');
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### Parameters
|
|
197
|
+
|
|
198
|
+
Name | Type | Description | Notes
|
|
199
|
+
------------- | ------------- | ------------- | -------------
|
|
200
|
+
**body** | [**FlagBody**](FlagBody.md)| The request object. |
|
|
201
|
+
|
|
202
|
+
### Return type
|
|
203
|
+
|
|
204
|
+
null (empty response body)
|
|
205
|
+
|
|
206
|
+
### Authorization
|
|
207
|
+
|
|
208
|
+
[apiKey](../README.md#apiKey)
|
|
209
|
+
|
|
210
|
+
### HTTP request headers
|
|
211
|
+
|
|
212
|
+
- **Content-Type**: application/json
|
|
213
|
+
- **Accept**: Not defined
|
|
214
|
+
|
|
215
|
+
<a name="merge"></a>
|
|
216
|
+
# **merge**
|
|
217
|
+
> merge(body)
|
|
218
|
+
|
|
219
|
+
Merge Intents
|
|
220
|
+
|
|
221
|
+
Merge Intents
|
|
222
|
+
|
|
223
|
+
### Example
|
|
224
|
+
```javascript
|
|
225
|
+
import {NeuralSeekUi} from 'neuralSeekUI';
|
|
226
|
+
let defaultClient = NeuralSeekUi.ApiClient.instance;
|
|
227
|
+
|
|
228
|
+
// Configure API key authorization: apiKey
|
|
229
|
+
let apiKey = defaultClient.authentications['apiKey'];
|
|
230
|
+
apiKey.apiKey = 'YOUR API KEY';
|
|
231
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
232
|
+
//apiKey.apiKeyPrefix = 'Token';
|
|
233
|
+
|
|
234
|
+
let apiInstance = new NeuralSeekUi.IntentsApi();
|
|
235
|
+
let body = new NeuralSeekUi.MergeBody(); // MergeBody | The request object.
|
|
236
|
+
|
|
237
|
+
apiInstance.merge(body, (error, data, response) => {
|
|
238
|
+
if (error) {
|
|
239
|
+
console.error(error);
|
|
240
|
+
} else {
|
|
241
|
+
console.log('API called successfully.');
|
|
242
|
+
}
|
|
243
|
+
});
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
### Parameters
|
|
247
|
+
|
|
248
|
+
Name | Type | Description | Notes
|
|
249
|
+
------------- | ------------- | ------------- | -------------
|
|
250
|
+
**body** | [**MergeBody**](MergeBody.md)| The request object. |
|
|
251
|
+
|
|
252
|
+
### Return type
|
|
253
|
+
|
|
254
|
+
null (empty response body)
|
|
255
|
+
|
|
256
|
+
### Authorization
|
|
257
|
+
|
|
258
|
+
[apiKey](../README.md#apiKey)
|
|
259
|
+
|
|
260
|
+
### HTTP request headers
|
|
261
|
+
|
|
262
|
+
- **Content-Type**: application/json
|
|
263
|
+
- **Accept**: Not defined
|
|
264
|
+
|
|
265
|
+
<a name="rename"></a>
|
|
266
|
+
# **rename**
|
|
267
|
+
> rename(body)
|
|
268
|
+
|
|
269
|
+
Rename an Intent
|
|
270
|
+
|
|
271
|
+
Rename an Intent
|
|
272
|
+
|
|
273
|
+
### Example
|
|
274
|
+
```javascript
|
|
275
|
+
import {NeuralSeekUi} from 'neuralSeekUI';
|
|
276
|
+
let defaultClient = NeuralSeekUi.ApiClient.instance;
|
|
277
|
+
|
|
278
|
+
// Configure API key authorization: apiKey
|
|
279
|
+
let apiKey = defaultClient.authentications['apiKey'];
|
|
280
|
+
apiKey.apiKey = 'YOUR API KEY';
|
|
281
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
282
|
+
//apiKey.apiKeyPrefix = 'Token';
|
|
283
|
+
|
|
284
|
+
let apiInstance = new NeuralSeekUi.IntentsApi();
|
|
285
|
+
let body = new NeuralSeekUi.RenBody(); // RenBody | The request object.
|
|
286
|
+
|
|
287
|
+
apiInstance.rename(body, (error, data, response) => {
|
|
288
|
+
if (error) {
|
|
289
|
+
console.error(error);
|
|
290
|
+
} else {
|
|
291
|
+
console.log('API called successfully.');
|
|
292
|
+
}
|
|
293
|
+
});
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
### Parameters
|
|
297
|
+
|
|
298
|
+
Name | Type | Description | Notes
|
|
299
|
+
------------- | ------------- | ------------- | -------------
|
|
300
|
+
**body** | [**RenBody**](RenBody.md)| The request object. |
|
|
301
|
+
|
|
302
|
+
### Return type
|
|
303
|
+
|
|
304
|
+
null (empty response body)
|
|
305
|
+
|
|
306
|
+
### Authorization
|
|
307
|
+
|
|
308
|
+
[apiKey](../README.md#apiKey)
|
|
309
|
+
|
|
310
|
+
### HTTP request headers
|
|
311
|
+
|
|
312
|
+
- **Content-Type**: application/json
|
|
313
|
+
- **Accept**: Not defined
|
|
314
|
+
|
|
315
|
+
<a name="unMerge"></a>
|
|
316
|
+
# **unMerge**
|
|
317
|
+
> unMerge(body)
|
|
318
|
+
|
|
319
|
+
UnMerge Intents
|
|
320
|
+
|
|
321
|
+
UnMerge Intents
|
|
322
|
+
|
|
323
|
+
### Example
|
|
324
|
+
```javascript
|
|
325
|
+
import {NeuralSeekUi} from 'neuralSeekUI';
|
|
326
|
+
let defaultClient = NeuralSeekUi.ApiClient.instance;
|
|
327
|
+
|
|
328
|
+
// Configure API key authorization: apiKey
|
|
329
|
+
let apiKey = defaultClient.authentications['apiKey'];
|
|
330
|
+
apiKey.apiKey = 'YOUR API KEY';
|
|
331
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
332
|
+
//apiKey.apiKeyPrefix = 'Token';
|
|
333
|
+
|
|
334
|
+
let apiInstance = new NeuralSeekUi.IntentsApi();
|
|
335
|
+
let body = new NeuralSeekUi.UnmergeBody(); // UnmergeBody | The request object.
|
|
336
|
+
|
|
337
|
+
apiInstance.unMerge(body, (error, data, response) => {
|
|
338
|
+
if (error) {
|
|
339
|
+
console.error(error);
|
|
340
|
+
} else {
|
|
341
|
+
console.log('API called successfully.');
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
### Parameters
|
|
347
|
+
|
|
348
|
+
Name | Type | Description | Notes
|
|
349
|
+
------------- | ------------- | ------------- | -------------
|
|
350
|
+
**body** | [**UnmergeBody**](UnmergeBody.md)| The request object. |
|
|
351
|
+
|
|
352
|
+
### Return type
|
|
353
|
+
|
|
354
|
+
null (empty response body)
|
|
355
|
+
|
|
356
|
+
### Authorization
|
|
357
|
+
|
|
358
|
+
[apiKey](../README.md#apiKey)
|
|
359
|
+
|
|
360
|
+
### HTTP request headers
|
|
361
|
+
|
|
362
|
+
- **Content-Type**: application/json
|
|
363
|
+
- **Accept**: Not defined
|
|
364
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# NeuralSeekUi.LoadUserResponseBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**intent** | **String** | The new Intent name | [optional] [default to '']
|
|
7
|
+
**examples** | **String** | One or more example user questions, separated by a \\n | [optional] [default to '']
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
# NeuralSeekUi.MAIstroApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://console.neuralseek.com/{instance}*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**exploreFiles**](MAIstroApi.md#exploreFiles) | **POST** /exploreFiles | List Maistro Files
|
|
8
|
+
[**exploreUpload**](MAIstroApi.md#exploreUpload) | **POST** /exploreUpload | Upload a file to mAIstro
|
|
9
|
+
[**fdel**](MAIstroApi.md#fdel) | **POST** /fdel | Delete Maistro File(s)
|
|
10
|
+
[**maistroFiles**](MAIstroApi.md#maistroFiles) | **POST** /maistroFiles | List Maistro Files (paginated)
|
|
11
|
+
[**maistroOCR**](MAIstroApi.md#maistroOCR) | **POST** /maistroOCR | OCR upload to mAIstro
|
|
12
|
+
|
|
13
|
+
<a name="exploreFiles"></a>
|
|
14
|
+
# **exploreFiles**
|
|
15
|
+
> exploreFiles(opts)
|
|
16
|
+
|
|
17
|
+
List Maistro Files
|
|
18
|
+
|
|
19
|
+
List Maistro Files
|
|
20
|
+
|
|
21
|
+
### Example
|
|
22
|
+
```javascript
|
|
23
|
+
import {NeuralSeekUi} from 'neuralSeekUI';
|
|
24
|
+
let defaultClient = NeuralSeekUi.ApiClient.instance;
|
|
25
|
+
|
|
26
|
+
// Configure API key authorization: apiKey
|
|
27
|
+
let apiKey = defaultClient.authentications['apiKey'];
|
|
28
|
+
apiKey.apiKey = 'YOUR API KEY';
|
|
29
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
30
|
+
//apiKey.apiKeyPrefix = 'Token';
|
|
31
|
+
|
|
32
|
+
let apiInstance = new NeuralSeekUi.MAIstroApi();
|
|
33
|
+
let opts = {
|
|
34
|
+
'body': new NeuralSeekUi.ExploreFilesBody() // ExploreFilesBody |
|
|
35
|
+
};
|
|
36
|
+
apiInstance.exploreFiles(opts, (error, data, response) => {
|
|
37
|
+
if (error) {
|
|
38
|
+
console.error(error);
|
|
39
|
+
} else {
|
|
40
|
+
console.log('API called successfully.');
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Parameters
|
|
46
|
+
|
|
47
|
+
Name | Type | Description | Notes
|
|
48
|
+
------------- | ------------- | ------------- | -------------
|
|
49
|
+
**body** | [**ExploreFilesBody**](ExploreFilesBody.md)| | [optional]
|
|
50
|
+
|
|
51
|
+
### Return type
|
|
52
|
+
|
|
53
|
+
null (empty response body)
|
|
54
|
+
|
|
55
|
+
### Authorization
|
|
56
|
+
|
|
57
|
+
[apiKey](../README.md#apiKey)
|
|
58
|
+
|
|
59
|
+
### HTTP request headers
|
|
60
|
+
|
|
61
|
+
- **Content-Type**: application/json
|
|
62
|
+
- **Accept**: Not defined
|
|
63
|
+
|
|
64
|
+
<a name="exploreUpload"></a>
|
|
65
|
+
# **exploreUpload**
|
|
66
|
+
> exploreUpload(opts)
|
|
67
|
+
|
|
68
|
+
Upload a file to mAIstro
|
|
69
|
+
|
|
70
|
+
Upload a file to mAIstro.
|
|
71
|
+
|
|
72
|
+
### Example
|
|
73
|
+
```javascript
|
|
74
|
+
import {NeuralSeekUi} from 'neuralSeekUI';
|
|
75
|
+
let defaultClient = NeuralSeekUi.ApiClient.instance;
|
|
76
|
+
|
|
77
|
+
// Configure API key authorization: apiKey
|
|
78
|
+
let apiKey = defaultClient.authentications['apiKey'];
|
|
79
|
+
apiKey.apiKey = 'YOUR API KEY';
|
|
80
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
81
|
+
//apiKey.apiKeyPrefix = 'Token';
|
|
82
|
+
|
|
83
|
+
let apiInstance = new NeuralSeekUi.MAIstroApi();
|
|
84
|
+
let opts = {
|
|
85
|
+
'file': "file_example" // Blob |
|
|
86
|
+
};
|
|
87
|
+
apiInstance.exploreUpload(opts, (error, data, response) => {
|
|
88
|
+
if (error) {
|
|
89
|
+
console.error(error);
|
|
90
|
+
} else {
|
|
91
|
+
console.log('API called successfully.');
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Parameters
|
|
97
|
+
|
|
98
|
+
Name | Type | Description | Notes
|
|
99
|
+
------------- | ------------- | ------------- | -------------
|
|
100
|
+
**file** | **Blob**| | [optional]
|
|
101
|
+
|
|
102
|
+
### Return type
|
|
103
|
+
|
|
104
|
+
null (empty response body)
|
|
105
|
+
|
|
106
|
+
### Authorization
|
|
107
|
+
|
|
108
|
+
[apiKey](../README.md#apiKey)
|
|
109
|
+
|
|
110
|
+
### HTTP request headers
|
|
111
|
+
|
|
112
|
+
- **Content-Type**: multipart/form-data
|
|
113
|
+
- **Accept**: Not defined
|
|
114
|
+
|
|
115
|
+
<a name="fdel"></a>
|
|
116
|
+
# **fdel**
|
|
117
|
+
> fdel(body)
|
|
118
|
+
|
|
119
|
+
Delete Maistro File(s)
|
|
120
|
+
|
|
121
|
+
Delete one or more Maistro files
|
|
122
|
+
|
|
123
|
+
### Example
|
|
124
|
+
```javascript
|
|
125
|
+
import {NeuralSeekUi} from 'neuralSeekUI';
|
|
126
|
+
let defaultClient = NeuralSeekUi.ApiClient.instance;
|
|
127
|
+
|
|
128
|
+
// Configure API key authorization: apiKey
|
|
129
|
+
let apiKey = defaultClient.authentications['apiKey'];
|
|
130
|
+
apiKey.apiKey = 'YOUR API KEY';
|
|
131
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
132
|
+
//apiKey.apiKeyPrefix = 'Token';
|
|
133
|
+
|
|
134
|
+
let apiInstance = new NeuralSeekUi.MAIstroApi();
|
|
135
|
+
let body = new NeuralSeekUi.FdelBody(); // FdelBody | The request object.
|
|
136
|
+
|
|
137
|
+
apiInstance.fdel(body, (error, data, response) => {
|
|
138
|
+
if (error) {
|
|
139
|
+
console.error(error);
|
|
140
|
+
} else {
|
|
141
|
+
console.log('API called successfully.');
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Parameters
|
|
147
|
+
|
|
148
|
+
Name | Type | Description | Notes
|
|
149
|
+
------------- | ------------- | ------------- | -------------
|
|
150
|
+
**body** | [**FdelBody**](FdelBody.md)| The request object. |
|
|
151
|
+
|
|
152
|
+
### Return type
|
|
153
|
+
|
|
154
|
+
null (empty response body)
|
|
155
|
+
|
|
156
|
+
### Authorization
|
|
157
|
+
|
|
158
|
+
[apiKey](../README.md#apiKey)
|
|
159
|
+
|
|
160
|
+
### HTTP request headers
|
|
161
|
+
|
|
162
|
+
- **Content-Type**: application/json
|
|
163
|
+
- **Accept**: Not defined
|
|
164
|
+
|
|
165
|
+
<a name="maistroFiles"></a>
|
|
166
|
+
# **maistroFiles**
|
|
167
|
+
> maistroFiles(opts)
|
|
168
|
+
|
|
169
|
+
List Maistro Files (paginated)
|
|
170
|
+
|
|
171
|
+
Paginated and searchable list of mAIstro files
|
|
172
|
+
|
|
173
|
+
### Example
|
|
174
|
+
```javascript
|
|
175
|
+
import {NeuralSeekUi} from 'neuralSeekUI';
|
|
176
|
+
let defaultClient = NeuralSeekUi.ApiClient.instance;
|
|
177
|
+
|
|
178
|
+
// Configure API key authorization: apiKey
|
|
179
|
+
let apiKey = defaultClient.authentications['apiKey'];
|
|
180
|
+
apiKey.apiKey = 'YOUR API KEY';
|
|
181
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
182
|
+
//apiKey.apiKeyPrefix = 'Token';
|
|
183
|
+
|
|
184
|
+
let apiInstance = new NeuralSeekUi.MAIstroApi();
|
|
185
|
+
let opts = {
|
|
186
|
+
'body': new NeuralSeekUi.MaistroFilesBody() // MaistroFilesBody |
|
|
187
|
+
};
|
|
188
|
+
apiInstance.maistroFiles(opts, (error, data, response) => {
|
|
189
|
+
if (error) {
|
|
190
|
+
console.error(error);
|
|
191
|
+
} else {
|
|
192
|
+
console.log('API called successfully.');
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### Parameters
|
|
198
|
+
|
|
199
|
+
Name | Type | Description | Notes
|
|
200
|
+
------------- | ------------- | ------------- | -------------
|
|
201
|
+
**body** | [**MaistroFilesBody**](MaistroFilesBody.md)| | [optional]
|
|
202
|
+
|
|
203
|
+
### Return type
|
|
204
|
+
|
|
205
|
+
null (empty response body)
|
|
206
|
+
|
|
207
|
+
### Authorization
|
|
208
|
+
|
|
209
|
+
[apiKey](../README.md#apiKey)
|
|
210
|
+
|
|
211
|
+
### HTTP request headers
|
|
212
|
+
|
|
213
|
+
- **Content-Type**: application/json
|
|
214
|
+
- **Accept**: Not defined
|
|
215
|
+
|
|
216
|
+
<a name="maistroOCR"></a>
|
|
217
|
+
# **maistroOCR**
|
|
218
|
+
> maistroOCR(file)
|
|
219
|
+
|
|
220
|
+
OCR upload to mAIstro
|
|
221
|
+
|
|
222
|
+
Upload a file and extract OCR text for mAIstro
|
|
223
|
+
|
|
224
|
+
### Example
|
|
225
|
+
```javascript
|
|
226
|
+
import {NeuralSeekUi} from 'neuralSeekUI';
|
|
227
|
+
let defaultClient = NeuralSeekUi.ApiClient.instance;
|
|
228
|
+
|
|
229
|
+
// Configure API key authorization: apiKey
|
|
230
|
+
let apiKey = defaultClient.authentications['apiKey'];
|
|
231
|
+
apiKey.apiKey = 'YOUR API KEY';
|
|
232
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
233
|
+
//apiKey.apiKeyPrefix = 'Token';
|
|
234
|
+
|
|
235
|
+
let apiInstance = new NeuralSeekUi.MAIstroApi();
|
|
236
|
+
let file = "file_example"; // Blob |
|
|
237
|
+
|
|
238
|
+
apiInstance.maistroOCR(file, (error, data, response) => {
|
|
239
|
+
if (error) {
|
|
240
|
+
console.error(error);
|
|
241
|
+
} else {
|
|
242
|
+
console.log('API called successfully.');
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
### Parameters
|
|
248
|
+
|
|
249
|
+
Name | Type | Description | Notes
|
|
250
|
+
------------- | ------------- | ------------- | -------------
|
|
251
|
+
**file** | **Blob**| |
|
|
252
|
+
|
|
253
|
+
### Return type
|
|
254
|
+
|
|
255
|
+
null (empty response body)
|
|
256
|
+
|
|
257
|
+
### Authorization
|
|
258
|
+
|
|
259
|
+
[apiKey](../README.md#apiKey)
|
|
260
|
+
|
|
261
|
+
### HTTP request headers
|
|
262
|
+
|
|
263
|
+
- **Content-Type**: multipart/form-data
|
|
264
|
+
- **Accept**: Not defined
|
|
265
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# NeuralSeekUi.MaistroFilesBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**search** | **String** | | [optional]
|
|
7
|
+
**page** | **Number** | | [optional] [default to 0]
|
|
8
|
+
**limit** | **Number** | | [optional] [default to 100]
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# NeuralSeekUi.MergeBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**intent** | **String** | The Intent name to use as the final once merged. This Intent name must be part of the rows array | [optional] [default to '']
|
|
7
|
+
**rows** | **[String]** | |
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# NeuralSeekUi.QuestionsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://console.neuralseek.com/{instance}*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**deleteQuestion**](QuestionsApi.md#deleteQuestion) | **POST** /delQuestion | Delete Question
|
|
8
|
+
|
|
9
|
+
<a name="deleteQuestion"></a>
|
|
10
|
+
# **deleteQuestion**
|
|
11
|
+
> deleteQuestion(body)
|
|
12
|
+
|
|
13
|
+
Delete Question
|
|
14
|
+
|
|
15
|
+
Delete Question
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
```javascript
|
|
19
|
+
import {NeuralSeekUi} from 'neuralSeekUI';
|
|
20
|
+
let defaultClient = NeuralSeekUi.ApiClient.instance;
|
|
21
|
+
|
|
22
|
+
// Configure API key authorization: apiKey
|
|
23
|
+
let apiKey = defaultClient.authentications['apiKey'];
|
|
24
|
+
apiKey.apiKey = 'YOUR API KEY';
|
|
25
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
26
|
+
//apiKey.apiKeyPrefix = 'Token';
|
|
27
|
+
|
|
28
|
+
let apiInstance = new NeuralSeekUi.QuestionsApi();
|
|
29
|
+
let body = new NeuralSeekUi.DelQuestionBody(); // DelQuestionBody | The request object.
|
|
30
|
+
|
|
31
|
+
apiInstance.deleteQuestion(body, (error, data, response) => {
|
|
32
|
+
if (error) {
|
|
33
|
+
console.error(error);
|
|
34
|
+
} else {
|
|
35
|
+
console.log('API called successfully.');
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Parameters
|
|
41
|
+
|
|
42
|
+
Name | Type | Description | Notes
|
|
43
|
+
------------- | ------------- | ------------- | -------------
|
|
44
|
+
**body** | [**DelQuestionBody**](DelQuestionBody.md)| The request object. |
|
|
45
|
+
|
|
46
|
+
### Return type
|
|
47
|
+
|
|
48
|
+
null (empty response body)
|
|
49
|
+
|
|
50
|
+
### Authorization
|
|
51
|
+
|
|
52
|
+
[apiKey](../README.md#apiKey)
|
|
53
|
+
|
|
54
|
+
### HTTP request headers
|
|
55
|
+
|
|
56
|
+
- **Content-Type**: application/json
|
|
57
|
+
- **Accept**: Not defined
|
|
58
|
+
|