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,81 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.1
|
|
6
|
+
* Contact: support@NeuralSeek.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
*
|
|
11
|
+
* Swagger Codegen version: 3.0.78
|
|
12
|
+
*
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
import ApiClient from '../ApiClient';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The InlineResponse20011 model module.
|
|
20
|
+
* @module model/InlineResponse20011
|
|
21
|
+
* @version 1.0.1
|
|
22
|
+
*/
|
|
23
|
+
export default class InlineResponse20011 {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>InlineResponse20011</code>.
|
|
26
|
+
* @alias module:model/InlineResponse20011
|
|
27
|
+
* @class
|
|
28
|
+
*/
|
|
29
|
+
constructor() {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a <code>InlineResponse20011</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/InlineResponse20011} obj Optional instance to populate.
|
|
37
|
+
* @return {module:model/InlineResponse20011} The populated <code>InlineResponse20011</code> instance.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject(data, obj) {
|
|
40
|
+
if (data) {
|
|
41
|
+
obj = obj || new InlineResponse20011();
|
|
42
|
+
if (data.hasOwnProperty('date'))
|
|
43
|
+
obj._date = ApiClient.convertToType(data['date'], 'String');
|
|
44
|
+
if (data.hasOwnProperty('question'))
|
|
45
|
+
obj.question = ApiClient.convertToType(data['question'], 'String');
|
|
46
|
+
if (data.hasOwnProperty('answer'))
|
|
47
|
+
obj.answer = ApiClient.convertToType(data['answer'], 'String');
|
|
48
|
+
if (data.hasOwnProperty('id'))
|
|
49
|
+
obj.id = ApiClient.convertToType(data['id'], 'Number');
|
|
50
|
+
}
|
|
51
|
+
return obj;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The timestamp of the entry
|
|
57
|
+
* @member {String} _date
|
|
58
|
+
* @default ''
|
|
59
|
+
*/
|
|
60
|
+
InlineResponse20011.prototype._date = '';
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* The user question
|
|
64
|
+
* @member {String} question
|
|
65
|
+
* @default ''
|
|
66
|
+
*/
|
|
67
|
+
InlineResponse20011.prototype.question = '';
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The answer returned
|
|
71
|
+
* @member {String} answer
|
|
72
|
+
* @default ''
|
|
73
|
+
*/
|
|
74
|
+
InlineResponse20011.prototype.answer = '';
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* The answer id
|
|
78
|
+
* @member {Number} id
|
|
79
|
+
*/
|
|
80
|
+
InlineResponse20011.prototype.id = undefined;
|
|
81
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* NeuralSeek
|
|
3
|
+
* NeuralSeek - The business LLM accelerator
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.1
|
|
6
|
+
* Contact: support@NeuralSeek.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
*
|
|
11
|
+
* Swagger Codegen version: 3.0.78
|
|
12
|
+
*
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
import ApiClient from '../ApiClient';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The InlineResponse20012 model module.
|
|
20
|
+
* @module model/InlineResponse20012
|
|
21
|
+
* @version 1.0.1
|
|
22
|
+
*/
|
|
23
|
+
export default class InlineResponse20012 {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>InlineResponse20012</code>.
|
|
26
|
+
* @alias module:model/InlineResponse20012
|
|
27
|
+
* @class
|
|
28
|
+
*/
|
|
29
|
+
constructor() {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a <code>InlineResponse20012</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/InlineResponse20012} obj Optional instance to populate.
|
|
37
|
+
* @return {module:model/InlineResponse20012} The populated <code>InlineResponse20012</code> instance.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject(data, obj) {
|
|
40
|
+
if (data) {
|
|
41
|
+
obj = obj || new InlineResponse20012();
|
|
42
|
+
if (data.hasOwnProperty('success'))
|
|
43
|
+
obj.success = ApiClient.convertToType(data['success'], 'Boolean');
|
|
44
|
+
if (data.hasOwnProperty('message'))
|
|
45
|
+
obj.message = ApiClient.convertToType(data['message'], 'String');
|
|
46
|
+
}
|
|
47
|
+
return obj;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @member {Boolean} success
|
|
53
|
+
*/
|
|
54
|
+
InlineResponse20012.prototype.success = undefined;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @member {String} message
|
|
58
|
+
*/
|
|
59
|
+
InlineResponse20012.prototype.message = undefined;
|
|
60
|
+
|
|
@@ -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 InlineResponse20013 model module.
|
|
20
|
+
* @module model/InlineResponse20013
|
|
21
|
+
* @version 1.0.1
|
|
22
|
+
*/
|
|
23
|
+
export default class InlineResponse20013 {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>InlineResponse20013</code>.
|
|
26
|
+
* @alias module:model/InlineResponse20013
|
|
27
|
+
* @class
|
|
28
|
+
*/
|
|
29
|
+
constructor() {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a <code>InlineResponse20013</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/InlineResponse20013} obj Optional instance to populate.
|
|
37
|
+
* @return {module:model/InlineResponse20013} The populated <code>InlineResponse20013</code> instance.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject(data, obj) {
|
|
40
|
+
if (data) {
|
|
41
|
+
obj = obj || new InlineResponse20013();
|
|
42
|
+
if (data.hasOwnProperty('otp'))
|
|
43
|
+
obj.otp = ApiClient.convertToType(data['otp'], 'String');
|
|
44
|
+
}
|
|
45
|
+
return obj;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The one time password
|
|
51
|
+
* @member {String} otp
|
|
52
|
+
* @default ''
|
|
53
|
+
*/
|
|
54
|
+
InlineResponse20013.prototype.otp = '';
|
|
55
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
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 InlineResponse2002Render from './InlineResponse2002Render';
|
|
18
|
+
import SeekResponseVariablesExpanded from './SeekResponseVariablesExpanded';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* The InlineResponse2002 model module.
|
|
22
|
+
* @module model/InlineResponse2002
|
|
23
|
+
* @version 1.0.1
|
|
24
|
+
*/
|
|
25
|
+
export default class InlineResponse2002 {
|
|
26
|
+
/**
|
|
27
|
+
* Constructs a new <code>InlineResponse2002</code>.
|
|
28
|
+
* @alias module:model/InlineResponse2002
|
|
29
|
+
* @class
|
|
30
|
+
*/
|
|
31
|
+
constructor() {
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Constructs a <code>InlineResponse2002</code> from a plain JavaScript object, optionally creating a new instance.
|
|
36
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
37
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
38
|
+
* @param {module:model/InlineResponse2002} obj Optional instance to populate.
|
|
39
|
+
* @return {module:model/InlineResponse2002} The populated <code>InlineResponse2002</code> instance.
|
|
40
|
+
*/
|
|
41
|
+
static constructFromObject(data, obj) {
|
|
42
|
+
if (data) {
|
|
43
|
+
obj = obj || new InlineResponse2002();
|
|
44
|
+
if (data.hasOwnProperty('answer'))
|
|
45
|
+
obj.answer = ApiClient.convertToType(data['answer'], 'String');
|
|
46
|
+
if (data.hasOwnProperty('sourceParts'))
|
|
47
|
+
obj.sourceParts = ApiClient.convertToType(data['sourceParts'], ['String']);
|
|
48
|
+
if (data.hasOwnProperty('render'))
|
|
49
|
+
obj.render = ApiClient.convertToType(data['render'], [InlineResponse2002Render]);
|
|
50
|
+
if (data.hasOwnProperty('variables'))
|
|
51
|
+
obj.variables = ApiClient.convertToType(data['variables'], Object);
|
|
52
|
+
if (data.hasOwnProperty('variablesExpanded'))
|
|
53
|
+
obj.variablesExpanded = ApiClient.convertToType(data['variablesExpanded'], [SeekResponseVariablesExpanded]);
|
|
54
|
+
}
|
|
55
|
+
return obj;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* The generated response
|
|
61
|
+
* @member {String} answer
|
|
62
|
+
* @default ''
|
|
63
|
+
*/
|
|
64
|
+
InlineResponse2002.prototype.answer = '';
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @member {Array.<String>} sourceParts
|
|
68
|
+
*/
|
|
69
|
+
InlineResponse2002.prototype.sourceParts = undefined;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The steps used to render the result.
|
|
73
|
+
* @member {Array.<module:model/InlineResponse2002Render>} render
|
|
74
|
+
*/
|
|
75
|
+
InlineResponse2002.prototype.render = undefined;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* The returned variable.
|
|
79
|
+
* @member {Object} variables
|
|
80
|
+
*/
|
|
81
|
+
InlineResponse2002.prototype.variables = undefined;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* The returned variable, in the format of the input params
|
|
85
|
+
* @member {Array.<module:model/SeekResponseVariablesExpanded>} variablesExpanded
|
|
86
|
+
*/
|
|
87
|
+
InlineResponse2002.prototype.variablesExpanded = undefined;
|
|
88
|
+
|
|
@@ -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 InlineResponse2002Render model module.
|
|
20
|
+
* @module model/InlineResponse2002Render
|
|
21
|
+
* @version 1.0.1
|
|
22
|
+
*/
|
|
23
|
+
export default class InlineResponse2002Render {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>InlineResponse2002Render</code>.
|
|
26
|
+
* @alias module:model/InlineResponse2002Render
|
|
27
|
+
* @class
|
|
28
|
+
*/
|
|
29
|
+
constructor() {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a <code>InlineResponse2002Render</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/InlineResponse2002Render} obj Optional instance to populate.
|
|
37
|
+
* @return {module:model/InlineResponse2002Render} The populated <code>InlineResponse2002Render</code> instance.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject(data, obj) {
|
|
40
|
+
if (data) {
|
|
41
|
+
obj = obj || new InlineResponse2002Render();
|
|
42
|
+
if (data.hasOwnProperty('node'))
|
|
43
|
+
obj.node = ApiClient.convertToType(data['node'], 'String');
|
|
44
|
+
if (data.hasOwnProperty('vars'))
|
|
45
|
+
obj.vars = ApiClient.convertToType(data['vars'], Object);
|
|
46
|
+
if (data.hasOwnProperty('out'))
|
|
47
|
+
obj.out = ApiClient.convertToType(data['out'], 'String');
|
|
48
|
+
if (data.hasOwnProperty('chained'))
|
|
49
|
+
obj.chained = ApiClient.convertToType(data['chained'], 'Boolean');
|
|
50
|
+
}
|
|
51
|
+
return obj;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The node type
|
|
57
|
+
* @member {String} node
|
|
58
|
+
* @default ''
|
|
59
|
+
*/
|
|
60
|
+
InlineResponse2002Render.prototype.node = '';
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* The variable values
|
|
64
|
+
* @member {Object} vars
|
|
65
|
+
*/
|
|
66
|
+
InlineResponse2002Render.prototype.vars = undefined;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* The output
|
|
70
|
+
* @member {String} out
|
|
71
|
+
* @default ''
|
|
72
|
+
*/
|
|
73
|
+
InlineResponse2002Render.prototype.out = '';
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* True if the step is chained
|
|
77
|
+
* @member {Boolean} chained
|
|
78
|
+
*/
|
|
79
|
+
InlineResponse2002Render.prototype.chained = undefined;
|
|
80
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
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 InlineResponse2003Data from './InlineResponse2003Data';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* The InlineResponse2003 model module.
|
|
21
|
+
* @module model/InlineResponse2003
|
|
22
|
+
* @version 1.0.1
|
|
23
|
+
*/
|
|
24
|
+
export default class InlineResponse2003 {
|
|
25
|
+
/**
|
|
26
|
+
* Constructs a new <code>InlineResponse2003</code>.
|
|
27
|
+
* @alias module:model/InlineResponse2003
|
|
28
|
+
* @class
|
|
29
|
+
* @param data {module:model/InlineResponse2003Data}
|
|
30
|
+
*/
|
|
31
|
+
constructor(data) {
|
|
32
|
+
this.data = data;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a <code>InlineResponse2003</code> from a plain JavaScript object, optionally creating a new instance.
|
|
37
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
38
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
39
|
+
* @param {module:model/InlineResponse2003} obj Optional instance to populate.
|
|
40
|
+
* @return {module:model/InlineResponse2003} The populated <code>InlineResponse2003</code> instance.
|
|
41
|
+
*/
|
|
42
|
+
static constructFromObject(data, obj) {
|
|
43
|
+
if (data) {
|
|
44
|
+
obj = obj || new InlineResponse2003();
|
|
45
|
+
if (data.hasOwnProperty('data'))
|
|
46
|
+
obj.data = InlineResponse2003Data.constructFromObject(data['data']);
|
|
47
|
+
}
|
|
48
|
+
return obj;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @member {module:model/InlineResponse2003Data} data
|
|
54
|
+
*/
|
|
55
|
+
InlineResponse2003.prototype.data = undefined;
|
|
56
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
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 InlineResponse2002Render from './InlineResponse2002Render';
|
|
18
|
+
import SeekResponseVariablesExpanded from './SeekResponseVariablesExpanded';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* The InlineResponse2003Data model module.
|
|
22
|
+
* @module model/InlineResponse2003Data
|
|
23
|
+
* @version 1.0.1
|
|
24
|
+
*/
|
|
25
|
+
export default class InlineResponse2003Data {
|
|
26
|
+
/**
|
|
27
|
+
* Constructs a new <code>InlineResponse2003Data</code>.
|
|
28
|
+
* @alias module:model/InlineResponse2003Data
|
|
29
|
+
* @class
|
|
30
|
+
*/
|
|
31
|
+
constructor() {
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Constructs a <code>InlineResponse2003Data</code> from a plain JavaScript object, optionally creating a new instance.
|
|
36
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
37
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
38
|
+
* @param {module:model/InlineResponse2003Data} obj Optional instance to populate.
|
|
39
|
+
* @return {module:model/InlineResponse2003Data} The populated <code>InlineResponse2003Data</code> instance.
|
|
40
|
+
*/
|
|
41
|
+
static constructFromObject(data, obj) {
|
|
42
|
+
if (data) {
|
|
43
|
+
obj = obj || new InlineResponse2003Data();
|
|
44
|
+
if (data.hasOwnProperty('answer'))
|
|
45
|
+
obj.answer = ApiClient.convertToType(data['answer'], 'String');
|
|
46
|
+
if (data.hasOwnProperty('sourceParts'))
|
|
47
|
+
obj.sourceParts = ApiClient.convertToType(data['sourceParts'], ['String']);
|
|
48
|
+
if (data.hasOwnProperty('render'))
|
|
49
|
+
obj.render = ApiClient.convertToType(data['render'], [InlineResponse2002Render]);
|
|
50
|
+
if (data.hasOwnProperty('variables'))
|
|
51
|
+
obj.variables = ApiClient.convertToType(data['variables'], Object);
|
|
52
|
+
if (data.hasOwnProperty('variablesExpanded'))
|
|
53
|
+
obj.variablesExpanded = ApiClient.convertToType(data['variablesExpanded'], [SeekResponseVariablesExpanded]);
|
|
54
|
+
}
|
|
55
|
+
return obj;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* The generated response
|
|
61
|
+
* @member {String} answer
|
|
62
|
+
* @default ''
|
|
63
|
+
*/
|
|
64
|
+
InlineResponse2003Data.prototype.answer = '';
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @member {Array.<String>} sourceParts
|
|
68
|
+
*/
|
|
69
|
+
InlineResponse2003Data.prototype.sourceParts = undefined;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The steps used to render the result.
|
|
73
|
+
* @member {Array.<module:model/InlineResponse2002Render>} render
|
|
74
|
+
*/
|
|
75
|
+
InlineResponse2003Data.prototype.render = undefined;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* The returned variable.
|
|
79
|
+
* @member {Object} variables
|
|
80
|
+
*/
|
|
81
|
+
InlineResponse2003Data.prototype.variables = undefined;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* The returned variable, in the format of the input params
|
|
85
|
+
* @member {Array.<module:model/SeekResponseVariablesExpanded>} variablesExpanded
|
|
86
|
+
*/
|
|
87
|
+
InlineResponse2003Data.prototype.variablesExpanded = undefined;
|
|
88
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
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 InlineResponse2004Choices from './InlineResponse2004Choices';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* The InlineResponse2004 model module.
|
|
21
|
+
* @module model/InlineResponse2004
|
|
22
|
+
* @version 1.0.1
|
|
23
|
+
*/
|
|
24
|
+
export default class InlineResponse2004 {
|
|
25
|
+
/**
|
|
26
|
+
* Constructs a new <code>InlineResponse2004</code>.
|
|
27
|
+
* @alias module:model/InlineResponse2004
|
|
28
|
+
* @class
|
|
29
|
+
*/
|
|
30
|
+
constructor() {
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Constructs a <code>InlineResponse2004</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/InlineResponse2004} obj Optional instance to populate.
|
|
38
|
+
* @return {module:model/InlineResponse2004} The populated <code>InlineResponse2004</code> instance.
|
|
39
|
+
*/
|
|
40
|
+
static constructFromObject(data, obj) {
|
|
41
|
+
if (data) {
|
|
42
|
+
obj = obj || new InlineResponse2004();
|
|
43
|
+
if (data.hasOwnProperty('id'))
|
|
44
|
+
obj.id = ApiClient.convertToType(data['id'], 'String');
|
|
45
|
+
if (data.hasOwnProperty('object'))
|
|
46
|
+
obj._object = ApiClient.convertToType(data['object'], 'String');
|
|
47
|
+
if (data.hasOwnProperty('created'))
|
|
48
|
+
obj.created = ApiClient.convertToType(data['created'], 'Number');
|
|
49
|
+
if (data.hasOwnProperty('model'))
|
|
50
|
+
obj.model = ApiClient.convertToType(data['model'], 'String');
|
|
51
|
+
if (data.hasOwnProperty('choices'))
|
|
52
|
+
obj.choices = ApiClient.convertToType(data['choices'], [InlineResponse2004Choices]);
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Unique identifier for the completion
|
|
60
|
+
* @member {String} id
|
|
61
|
+
*/
|
|
62
|
+
InlineResponse2004.prototype.id = undefined;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The type of object returned, should be 'chat.completion'
|
|
66
|
+
* @member {String} _object
|
|
67
|
+
*/
|
|
68
|
+
InlineResponse2004.prototype._object = undefined;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Timestamp of when the completion was created
|
|
72
|
+
* @member {Number} created
|
|
73
|
+
*/
|
|
74
|
+
InlineResponse2004.prototype.created = undefined;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* The model used for generating the completion
|
|
78
|
+
* @member {String} model
|
|
79
|
+
*/
|
|
80
|
+
InlineResponse2004.prototype.model = undefined;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @member {Array.<module:model/InlineResponse2004Choices>} choices
|
|
84
|
+
*/
|
|
85
|
+
InlineResponse2004.prototype.choices = undefined;
|
|
86
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
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 InlineResponse2004Message from './InlineResponse2004Message';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* The InlineResponse2004Choices model module.
|
|
21
|
+
* @module model/InlineResponse2004Choices
|
|
22
|
+
* @version 1.0.1
|
|
23
|
+
*/
|
|
24
|
+
export default class InlineResponse2004Choices {
|
|
25
|
+
/**
|
|
26
|
+
* Constructs a new <code>InlineResponse2004Choices</code>.
|
|
27
|
+
* @alias module:model/InlineResponse2004Choices
|
|
28
|
+
* @class
|
|
29
|
+
*/
|
|
30
|
+
constructor() {
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Constructs a <code>InlineResponse2004Choices</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/InlineResponse2004Choices} obj Optional instance to populate.
|
|
38
|
+
* @return {module:model/InlineResponse2004Choices} The populated <code>InlineResponse2004Choices</code> instance.
|
|
39
|
+
*/
|
|
40
|
+
static constructFromObject(data, obj) {
|
|
41
|
+
if (data) {
|
|
42
|
+
obj = obj || new InlineResponse2004Choices();
|
|
43
|
+
if (data.hasOwnProperty('index'))
|
|
44
|
+
obj.index = ApiClient.convertToType(data['index'], 'Number');
|
|
45
|
+
if (data.hasOwnProperty('message'))
|
|
46
|
+
obj.message = InlineResponse2004Message.constructFromObject(data['message']);
|
|
47
|
+
if (data.hasOwnProperty('finish_reason'))
|
|
48
|
+
obj.finishReason = ApiClient.convertToType(data['finish_reason'], 'String');
|
|
49
|
+
}
|
|
50
|
+
return obj;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* The index of the choice
|
|
56
|
+
* @member {Number} index
|
|
57
|
+
*/
|
|
58
|
+
InlineResponse2004Choices.prototype.index = undefined;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @member {module:model/InlineResponse2004Message} message
|
|
62
|
+
*/
|
|
63
|
+
InlineResponse2004Choices.prototype.message = undefined;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The reason the message generation finished
|
|
67
|
+
* @member {String} finishReason
|
|
68
|
+
*/
|
|
69
|
+
InlineResponse2004Choices.prototype.finishReason = undefined;
|
|
70
|
+
|