neuralseek 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +206 -0
- package/docs/AnalyticsApi.md +59 -0
- package/docs/AnalyticsBody.md +6 -0
- package/docs/AnswerRatingsBody.md +7 -0
- package/docs/CategorizeApi.md +58 -0
- package/docs/CategorizeBody.md +6 -0
- package/docs/ChatCompletionsBody.md +9 -0
- package/docs/ChatcompletionsMessages.md +16 -0
- package/docs/ChatcompletionsTools.md +13 -0
- package/docs/ExtractBody.md +11 -0
- package/docs/ExtractEntitiesApi.md +58 -0
- package/docs/GuardrailsApi.md +109 -0
- package/docs/IdentifysingleBody.md +6 -0
- package/docs/InlineResponse200.md +6 -0
- package/docs/InlineResponse2001.md +8 -0
- package/docs/InlineResponse20010.md +6 -0
- package/docs/InlineResponse20011.md +9 -0
- package/docs/InlineResponse20012.md +7 -0
- package/docs/InlineResponse20013.md +6 -0
- package/docs/InlineResponse2002.md +10 -0
- package/docs/InlineResponse2002Render.md +9 -0
- package/docs/InlineResponse2003.md +6 -0
- package/docs/InlineResponse2003Data.md +10 -0
- package/docs/InlineResponse2004.md +10 -0
- package/docs/InlineResponse2004Choices.md +8 -0
- package/docs/InlineResponse2004Message.md +14 -0
- package/docs/InlineResponse2005.md +9 -0
- package/docs/InlineResponse2005TopIntents.md +7 -0
- package/docs/InlineResponse2006.md +9 -0
- package/docs/InlineResponse2006ExtractedEntities.md +6 -0
- package/docs/InlineResponse2007.md +12 -0
- package/docs/InlineResponse2007Translations.md +6 -0
- package/docs/InlineResponse2008.md +7 -0
- package/docs/InlineResponse2009.md +7 -0
- package/docs/KeysApi.md +99 -0
- package/docs/LogExternalAgentBody.md +11 -0
- package/docs/LogExternalAgentEntries.md +34 -0
- package/docs/LogsApi.md +110 -0
- package/docs/LogsBody.md +8 -0
- package/docs/MAIstroAgentRatingsApi.md +109 -0
- package/docs/MAIstroApi.md +367 -0
- package/docs/MaistroBatchBody.md +9 -0
- package/docs/MaistroBody.md +9 -0
- package/docs/MaistroOptions.md +20 -0
- package/docs/MaistroRateBody.md +9 -0
- package/docs/MaistroRatingsBody.md +7 -0
- package/docs/MaistroStreamBody.md +9 -0
- package/docs/MaistroStreamOptions.md +19 -0
- package/docs/PiiBody.md +6 -0
- package/docs/RateBody.md +8 -0
- package/docs/ScoreBody.md +7 -0
- package/docs/Seek.md +9 -0
- package/docs/SeekAnswerRatingsApi.md +109 -0
- package/docs/SeekApi.md +109 -0
- package/docs/SeekOptions.md +24 -0
- package/docs/SeekResponse.md +32 -0
- package/docs/SeekResponsePassages.md +11 -0
- package/docs/SeekResponseVariablesExpanded.md +7 -0
- package/docs/SeekStreamBody.md +9 -0
- package/docs/SeekStreamOptions.md +23 -0
- package/docs/SeekStreamOptionsLastTurn.md +7 -0
- package/docs/SeekStreamOptionsPersonalize.md +10 -0
- package/docs/SeekStreamParams.md +7 -0
- package/docs/SeekStreamUserSession.md +7 -0
- package/docs/SeekStreamUserSessionMetadata.md +6 -0
- package/docs/SeekStreamUserSessionSystem.md +6 -0
- package/docs/ServiceTestApi.md +46 -0
- package/docs/TestBody.md +6 -0
- package/docs/TestBody1.md +6 -0
- package/docs/TestQuestionsApi.md +107 -0
- package/docs/TrainBody.md +7 -0
- package/docs/TrainKBApi.md +58 -0
- package/docs/TranslateApi.md +259 -0
- package/docs/TranslateBody.md +11 -0
- package/docs/TranslateGlossaryBody.md +6 -0
- package/docs/TranslateGlossaryBody1.md +6 -0
- package/docs/UserDataApi.md +59 -0
- package/git_push.sh +52 -0
- package/mocha.opts +1 -0
- package/package.json +55 -0
- package/src/AnalyticsApi.js +82 -0
- package/src/ApiClient.js +585 -0
- package/src/CategorizeApi.js +87 -0
- package/src/ExtractEntitiesApi.js +87 -0
- package/src/GuardrailsApi.js +134 -0
- package/src/KeysApi.js +122 -0
- package/src/LogsApi.js +133 -0
- package/src/MAIstroAgentRatingsApi.js +134 -0
- package/src/MAIstroApi.js +366 -0
- package/src/SeekAnswerRatingsApi.js +134 -0
- package/src/SeekApi.js +136 -0
- package/src/ServiceTestApi.js +79 -0
- package/src/TestQuestionsApi.js +124 -0
- package/src/TrainKBApi.js +85 -0
- package/src/TranslateApi.js +277 -0
- package/src/UserDataApi.js +81 -0
- package/src/index.js +587 -0
- package/src/model/AnalyticsBody.js +54 -0
- package/src/model/AnswerRatingsBody.js +62 -0
- package/src/model/CategorizeBody.js +55 -0
- package/src/model/ChatCompletionsBody.js +80 -0
- package/src/model/ChatcompletionsMessages.js +92 -0
- package/src/model/ChatcompletionsTools.js +75 -0
- package/src/model/ExtractBody.js +94 -0
- package/src/model/IdentifysingleBody.js +55 -0
- package/src/model/InlineResponse200.js +56 -0
- package/src/model/InlineResponse2001.js +70 -0
- package/src/model/InlineResponse20010.js +54 -0
- package/src/model/InlineResponse20011.js +81 -0
- package/src/model/InlineResponse20012.js +60 -0
- package/src/model/InlineResponse20013.js +55 -0
- package/src/model/InlineResponse2002.js +88 -0
- package/src/model/InlineResponse2002Render.js +80 -0
- package/src/model/InlineResponse2003.js +56 -0
- package/src/model/InlineResponse2003Data.js +88 -0
- package/src/model/InlineResponse2004.js +86 -0
- package/src/model/InlineResponse2004Choices.js +70 -0
- package/src/model/InlineResponse2004Message.js +80 -0
- package/src/model/InlineResponse2005.js +80 -0
- package/src/model/InlineResponse2005TopIntents.js +64 -0
- package/src/model/InlineResponse2006.js +79 -0
- package/src/model/InlineResponse2006ExtractedEntities.js +55 -0
- package/src/model/InlineResponse2007.js +103 -0
- package/src/model/InlineResponse2007Translations.js +55 -0
- package/src/model/InlineResponse2008.js +63 -0
- package/src/model/InlineResponse2009.js +63 -0
- package/src/model/LogExternalAgentBody.js +104 -0
- package/src/model/LogExternalAgentEntries.js +195 -0
- package/src/model/LogsBody.js +73 -0
- package/src/model/MaistroBatchBody.js +81 -0
- package/src/model/MaistroBody.js +81 -0
- package/src/model/MaistroOptions.js +176 -0
- package/src/model/MaistroRateBody.js +78 -0
- package/src/model/MaistroRatingsBody.js +62 -0
- package/src/model/MaistroStreamBody.js +81 -0
- package/src/model/MaistroStreamOptions.js +167 -0
- package/src/model/PiiBody.js +55 -0
- package/src/model/RateBody.js +70 -0
- package/src/model/ScoreBody.js +63 -0
- package/src/model/Seek.js +82 -0
- package/src/model/SeekOptions.js +216 -0
- package/src/model/SeekResponse.js +281 -0
- package/src/model/SeekResponsePassages.js +99 -0
- package/src/model/SeekResponseVariablesExpanded.js +64 -0
- package/src/model/SeekStreamBody.js +82 -0
- package/src/model/SeekStreamOptions.js +207 -0
- package/src/model/SeekStreamOptionsLastTurn.js +64 -0
- package/src/model/SeekStreamOptionsPersonalize.js +91 -0
- package/src/model/SeekStreamParams.js +64 -0
- package/src/model/SeekStreamUserSession.js +63 -0
- package/src/model/SeekStreamUserSessionMetadata.js +55 -0
- package/src/model/SeekStreamUserSessionSystem.js +55 -0
- package/src/model/TestBody.js +53 -0
- package/src/model/TestBody1.js +55 -0
- package/src/model/TrainBody.js +63 -0
- package/src/model/TranslateBody.js +99 -0
- package/src/model/TranslateGlossaryBody.js +53 -0
- package/src/model/TranslateGlossaryBody1.js +54 -0
- package/test/api/AnalyticsApi.spec.js +60 -0
- package/test/api/CategorizeApi.spec.js +61 -0
- package/test/api/ExtractEntitiesApi.spec.js +61 -0
- package/test/api/GuardrailsApi.spec.js +85 -0
- package/test/api/KeysApi.spec.js +79 -0
- package/test/api/LogsApi.spec.js +88 -0
- package/test/api/MAIstroAgentRatingsApi.spec.js +79 -0
- package/test/api/MAIstroApi.spec.js +180 -0
- package/test/api/SeekAnswerRatingsApi.spec.js +79 -0
- package/test/api/SeekApi.spec.js +81 -0
- package/test/api/ServiceTestApi.spec.js +59 -0
- package/test/api/TestQuestionsApi.spec.js +78 -0
- package/test/api/TrainKBApi.spec.js +59 -0
- package/test/api/TranslateApi.spec.js +143 -0
- package/test/api/UserDataApi.spec.js +60 -0
- package/test/assert-equals.js +81 -0
- package/test/model/AnalyticsBody.spec.js +52 -0
- package/test/model/AnswerRatingsBody.spec.js +58 -0
- package/test/model/CategorizeBody.spec.js +52 -0
- package/test/model/ChatCompletionsBody.spec.js +70 -0
- package/test/model/ChatcompletionsMessages.spec.js +58 -0
- package/test/model/ChatcompletionsTools.spec.js +58 -0
- package/test/model/ExtractBody.spec.js +82 -0
- package/test/model/IdentifysingleBody.spec.js +52 -0
- package/test/model/InlineResponse200.spec.js +52 -0
- package/test/model/InlineResponse2001.spec.js +64 -0
- package/test/model/InlineResponse20010.spec.js +52 -0
- package/test/model/InlineResponse20011.spec.js +70 -0
- package/test/model/InlineResponse20012.spec.js +58 -0
- package/test/model/InlineResponse20013.spec.js +52 -0
- package/test/model/InlineResponse2002.spec.js +76 -0
- package/test/model/InlineResponse2002Render.spec.js +70 -0
- package/test/model/InlineResponse2003.spec.js +52 -0
- package/test/model/InlineResponse2003Data.spec.js +76 -0
- package/test/model/InlineResponse2004.spec.js +76 -0
- package/test/model/InlineResponse2004Choices.spec.js +64 -0
- package/test/model/InlineResponse2004Message.spec.js +58 -0
- package/test/model/InlineResponse2005.spec.js +70 -0
- package/test/model/InlineResponse2005TopIntents.spec.js +58 -0
- package/test/model/InlineResponse2006.spec.js +70 -0
- package/test/model/InlineResponse2006ExtractedEntities.spec.js +52 -0
- package/test/model/InlineResponse2007.spec.js +88 -0
- package/test/model/InlineResponse2007Translations.spec.js +52 -0
- package/test/model/InlineResponse2008.spec.js +58 -0
- package/test/model/InlineResponse2009.spec.js +58 -0
- package/test/model/LogExternalAgentBody.spec.js +82 -0
- package/test/model/LogExternalAgentEntries.spec.js +118 -0
- package/test/model/LogsBody.spec.js +64 -0
- package/test/model/MaistroBatchBody.spec.js +70 -0
- package/test/model/MaistroBody.spec.js +70 -0
- package/test/model/MaistroOptions.spec.js +136 -0
- package/test/model/MaistroRateBody.spec.js +70 -0
- package/test/model/MaistroRatingsBody.spec.js +58 -0
- package/test/model/MaistroStreamBody.spec.js +70 -0
- package/test/model/MaistroStreamOptions.spec.js +130 -0
- package/test/model/PiiBody.spec.js +52 -0
- package/test/model/RateBody.spec.js +64 -0
- package/test/model/ScoreBody.spec.js +58 -0
- package/test/model/Seek.spec.js +70 -0
- package/test/model/SeekOptions.spec.js +160 -0
- package/test/model/SeekResponse.spec.js +208 -0
- package/test/model/SeekResponsePassages.spec.js +82 -0
- package/test/model/SeekResponseVariablesExpanded.spec.js +58 -0
- package/test/model/SeekStreamBody.spec.js +70 -0
- package/test/model/SeekStreamOptions.spec.js +154 -0
- package/test/model/SeekStreamOptionsLastTurn.spec.js +58 -0
- package/test/model/SeekStreamOptionsPersonalize.spec.js +76 -0
- package/test/model/SeekStreamParams.spec.js +58 -0
- package/test/model/SeekStreamUserSession.spec.js +58 -0
- package/test/model/SeekStreamUserSessionMetadata.spec.js +52 -0
- package/test/model/SeekStreamUserSessionSystem.spec.js +52 -0
- package/test/model/TestBody.spec.js +52 -0
- package/test/model/TestBody1.spec.js +52 -0
- package/test/model/TrainBody.spec.js +58 -0
- package/test/model/TranslateBody.spec.js +82 -0
- package/test/model/TranslateGlossaryBody.spec.js +52 -0
- package/test/model/TranslateGlossaryBody1.spec.js +52 -0
|
@@ -0,0 +1,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
|
+
|