@xfloor/floor-memory-sdk-ts 1.0.16 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +17 -60
  2. package/dist/apis/DefaultApi.d.ts +12 -94
  3. package/dist/apis/DefaultApi.js +74 -427
  4. package/dist/models/index.d.ts +0 -17
  5. package/dist/models/index.js +0 -17
  6. package/dist/runtime.js +1 -1
  7. package/package.json +1 -1
  8. package/dist/models/ConversationThreads200Response.d.ts +0 -41
  9. package/dist/models/ConversationThreads200Response.js +0 -58
  10. package/dist/models/ConversationThreads200ResponseThreadsInner.d.ts +0 -46
  11. package/dist/models/ConversationThreads200ResponseThreadsInner.js +0 -61
  12. package/dist/models/GetConversations200Response.d.ts +0 -47
  13. package/dist/models/GetConversations200Response.js +0 -62
  14. package/dist/models/GetConversations200ResponseConversationInner.d.ts +0 -42
  15. package/dist/models/GetConversations200ResponseConversationInner.js +0 -55
  16. package/dist/models/GetConversations200ResponseConversationInnerAssistant.d.ts +0 -78
  17. package/dist/models/GetConversations200ResponseConversationInnerAssistant.js +0 -83
  18. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInner.d.ts +0 -61
  19. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInner.js +0 -62
  20. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails.d.ts +0 -76
  21. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails.js +0 -81
  22. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.d.ts +0 -40
  23. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.js +0 -57
  24. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.d.ts +0 -40
  25. package/dist/models/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.js +0 -57
  26. package/dist/models/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.d.ts +0 -59
  27. package/dist/models/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.js +0 -70
  28. package/dist/models/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner.d.ts +0 -82
  29. package/dist/models/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner.js +0 -85
  30. package/dist/models/GetConversations200ResponseConversationInnerUser.d.ts +0 -59
  31. package/dist/models/GetConversations200ResponseConversationInnerUser.js +0 -70
  32. package/dist/models/GetConversations200ResponseConversationInnerUserContext.d.ts +0 -58
  33. package/dist/models/GetConversations200ResponseConversationInnerUserContext.js +0 -69
  34. package/dist/models/PostAdd.d.ts +0 -58
  35. package/dist/models/PostAdd.js +0 -69
  36. package/dist/models/SendSignInValidationCode200Response.d.ts +0 -46
  37. package/dist/models/SendSignInValidationCode200Response.js +0 -59
  38. package/dist/models/Threads.d.ts +0 -46
  39. package/dist/models/Threads.js +0 -61
  40. package/dist/models/ValidateCodeRequest.d.ts +0 -52
  41. package/dist/models/ValidateCodeRequest.js +0 -65
@@ -1,83 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Floor Memory
6
- * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
7
- * - Memory and
8
- * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
9
- *
10
- * The version of the OpenAPI document: 1.0.0
11
- * Contact: contact@ipomo.in
12
- *
13
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14
- * https://openapi-generator.tech
15
- * Do not edit the class manually.
16
- */
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfGetConversations200ResponseConversationInnerAssistant = instanceOfGetConversations200ResponseConversationInnerAssistant;
19
- exports.GetConversations200ResponseConversationInnerAssistantFromJSON = GetConversations200ResponseConversationInnerAssistantFromJSON;
20
- exports.GetConversations200ResponseConversationInnerAssistantFromJSONTyped = GetConversations200ResponseConversationInnerAssistantFromJSONTyped;
21
- exports.GetConversations200ResponseConversationInnerAssistantToJSON = GetConversations200ResponseConversationInnerAssistantToJSON;
22
- exports.GetConversations200ResponseConversationInnerAssistantToJSONTyped = GetConversations200ResponseConversationInnerAssistantToJSONTyped;
23
- var GetConversations200ResponseConversationInnerAssistantChoicesInner_1 = require("./GetConversations200ResponseConversationInnerAssistantChoicesInner");
24
- var GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts_1 = require("./GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts");
25
- /**
26
- * Check if a given object implements the GetConversations200ResponseConversationInnerAssistant interface.
27
- */
28
- function instanceOfGetConversations200ResponseConversationInnerAssistant(value) {
29
- if (!('id' in value) || value['id'] === undefined)
30
- return false;
31
- if (!('object' in value) || value['object'] === undefined)
32
- return false;
33
- if (!('created' in value) || value['created'] === undefined)
34
- return false;
35
- if (!('floorMode' in value) || value['floorMode'] === undefined)
36
- return false;
37
- if (!('model' in value) || value['model'] === undefined)
38
- return false;
39
- if (!('choices' in value) || value['choices'] === undefined)
40
- return false;
41
- if (!('fetchMultiplePosts' in value) || value['fetchMultiplePosts'] === undefined)
42
- return false;
43
- if (!('contentType' in value) || value['contentType'] === undefined)
44
- return false;
45
- return true;
46
- }
47
- function GetConversations200ResponseConversationInnerAssistantFromJSON(json) {
48
- return GetConversations200ResponseConversationInnerAssistantFromJSONTyped(json, false);
49
- }
50
- function GetConversations200ResponseConversationInnerAssistantFromJSONTyped(json, ignoreDiscriminator) {
51
- if (json == null) {
52
- return json;
53
- }
54
- return {
55
- 'id': json['id'],
56
- 'object': json['object'],
57
- 'created': json['created'],
58
- 'floorMode': json['floor_mode'],
59
- 'model': json['model'],
60
- 'choices': (json['choices'].map(GetConversations200ResponseConversationInnerAssistantChoicesInner_1.GetConversations200ResponseConversationInnerAssistantChoicesInnerFromJSON)),
61
- 'fetchMultiplePosts': (0, GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts_1.GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsFromJSON)(json['fetch_multiple_posts']),
62
- 'contentType': json['content_type'],
63
- };
64
- }
65
- function GetConversations200ResponseConversationInnerAssistantToJSON(json) {
66
- return GetConversations200ResponseConversationInnerAssistantToJSONTyped(json, false);
67
- }
68
- function GetConversations200ResponseConversationInnerAssistantToJSONTyped(value, ignoreDiscriminator) {
69
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
70
- if (value == null) {
71
- return value;
72
- }
73
- return {
74
- 'id': value['id'],
75
- 'object': value['object'],
76
- 'created': value['created'],
77
- 'floor_mode': value['floorMode'],
78
- 'model': value['model'],
79
- 'choices': (value['choices'].map(GetConversations200ResponseConversationInnerAssistantChoicesInner_1.GetConversations200ResponseConversationInnerAssistantChoicesInnerToJSON)),
80
- 'fetch_multiple_posts': (0, GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts_1.GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsToJSON)(value['fetchMultiplePosts']),
81
- 'content_type': value['contentType'],
82
- };
83
- }
@@ -1,61 +0,0 @@
1
- /**
2
- * Floor Memory
3
- * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
4
- * - Memory and
5
- * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: contact@ipomo.in
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import type { GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails } from './GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails';
15
- import type { GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage } from './GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage';
16
- import type { GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails } from './GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails';
17
- /**
18
- *
19
- * @export
20
- * @interface GetConversations200ResponseConversationInnerAssistantChoicesInner
21
- */
22
- export interface GetConversations200ResponseConversationInnerAssistantChoicesInner {
23
- /**
24
- *
25
- * @type {number}
26
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInner
27
- */
28
- index?: number;
29
- /**
30
- *
31
- * @type {GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage}
32
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInner
33
- */
34
- message?: GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage;
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInner
39
- */
40
- finishReason?: string;
41
- /**
42
- *
43
- * @type {GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails}
44
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInner
45
- */
46
- aiModelDetails?: GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails;
47
- /**
48
- *
49
- * @type {GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails}
50
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInner
51
- */
52
- promptDetails?: GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails;
53
- }
54
- /**
55
- * Check if a given object implements the GetConversations200ResponseConversationInnerAssistantChoicesInner interface.
56
- */
57
- export declare function instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInner(value: object): value is GetConversations200ResponseConversationInnerAssistantChoicesInner;
58
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerFromJSON(json: any): GetConversations200ResponseConversationInnerAssistantChoicesInner;
59
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetConversations200ResponseConversationInnerAssistantChoicesInner;
60
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerToJSON(json: any): GetConversations200ResponseConversationInnerAssistantChoicesInner;
61
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerToJSONTyped(value?: GetConversations200ResponseConversationInnerAssistantChoicesInner | null, ignoreDiscriminator?: boolean): any;
@@ -1,62 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Floor Memory
6
- * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
7
- * - Memory and
8
- * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
9
- *
10
- * The version of the OpenAPI document: 1.0.0
11
- * Contact: contact@ipomo.in
12
- *
13
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14
- * https://openapi-generator.tech
15
- * Do not edit the class manually.
16
- */
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInner = instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInner;
19
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerFromJSON = GetConversations200ResponseConversationInnerAssistantChoicesInnerFromJSON;
20
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerFromJSONTyped = GetConversations200ResponseConversationInnerAssistantChoicesInnerFromJSONTyped;
21
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerToJSON = GetConversations200ResponseConversationInnerAssistantChoicesInnerToJSON;
22
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerToJSONTyped = GetConversations200ResponseConversationInnerAssistantChoicesInnerToJSONTyped;
23
- var GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails_1 = require("./GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails");
24
- var GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage_1 = require("./GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage");
25
- var GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails_1 = require("./GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails");
26
- /**
27
- * Check if a given object implements the GetConversations200ResponseConversationInnerAssistantChoicesInner interface.
28
- */
29
- function instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInner(value) {
30
- return true;
31
- }
32
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerFromJSON(json) {
33
- return GetConversations200ResponseConversationInnerAssistantChoicesInnerFromJSONTyped(json, false);
34
- }
35
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerFromJSONTyped(json, ignoreDiscriminator) {
36
- if (json == null) {
37
- return json;
38
- }
39
- return {
40
- 'index': json['index'] == null ? undefined : json['index'],
41
- 'message': json['message'] == null ? undefined : (0, GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage_1.GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageFromJSON)(json['message']),
42
- 'finishReason': json['finish_reason'] == null ? undefined : json['finish_reason'],
43
- 'aiModelDetails': json['ai_model_details'] == null ? undefined : (0, GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails_1.GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsFromJSON)(json['ai_model_details']),
44
- 'promptDetails': json['prompt_details'] == null ? undefined : (0, GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails_1.GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsFromJSON)(json['prompt_details']),
45
- };
46
- }
47
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerToJSON(json) {
48
- return GetConversations200ResponseConversationInnerAssistantChoicesInnerToJSONTyped(json, false);
49
- }
50
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerToJSONTyped(value, ignoreDiscriminator) {
51
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
52
- if (value == null) {
53
- return value;
54
- }
55
- return {
56
- 'index': value['index'],
57
- 'message': (0, GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage_1.GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageToJSON)(value['message']),
58
- 'finish_reason': value['finishReason'],
59
- 'ai_model_details': (0, GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails_1.GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsToJSON)(value['aiModelDetails']),
60
- 'prompt_details': (0, GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails_1.GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsToJSON)(value['promptDetails']),
61
- };
62
- }
@@ -1,76 +0,0 @@
1
- /**
2
- * Floor Memory
3
- * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
4
- * - Memory and
5
- * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: contact@ipomo.in
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- *
16
- * @export
17
- * @interface GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails
18
- */
19
- export interface GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails {
20
- /**
21
- *
22
- * @type {string}
23
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails
24
- */
25
- topP: string;
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails
30
- */
31
- outputChoice: string;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails
36
- */
37
- frequencyPenalty: string;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails
42
- */
43
- maxTokens: string;
44
- /**
45
- *
46
- * @type {string}
47
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails
48
- */
49
- presencePenalty: string;
50
- /**
51
- *
52
- * @type {string}
53
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails
54
- */
55
- temperature: string;
56
- /**
57
- *
58
- * @type {string}
59
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails
60
- */
61
- model: string;
62
- /**
63
- *
64
- * @type {string}
65
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails
66
- */
67
- modelId: string;
68
- }
69
- /**
70
- * Check if a given object implements the GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails interface.
71
- */
72
- export declare function instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails(value: object): value is GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails;
73
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsFromJSON(json: any): GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails;
74
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails;
75
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsToJSON(json: any): GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails;
76
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsToJSONTyped(value?: GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails | null, ignoreDiscriminator?: boolean): any;
@@ -1,81 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Floor Memory
6
- * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
7
- * - Memory and
8
- * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
9
- *
10
- * The version of the OpenAPI document: 1.0.0
11
- * Contact: contact@ipomo.in
12
- *
13
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14
- * https://openapi-generator.tech
15
- * Do not edit the class manually.
16
- */
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails = instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails;
19
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsFromJSON = GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsFromJSON;
20
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsFromJSONTyped = GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsFromJSONTyped;
21
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsToJSON = GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsToJSON;
22
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsToJSONTyped = GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsToJSONTyped;
23
- /**
24
- * Check if a given object implements the GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails interface.
25
- */
26
- function instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails(value) {
27
- if (!('topP' in value) || value['topP'] === undefined)
28
- return false;
29
- if (!('outputChoice' in value) || value['outputChoice'] === undefined)
30
- return false;
31
- if (!('frequencyPenalty' in value) || value['frequencyPenalty'] === undefined)
32
- return false;
33
- if (!('maxTokens' in value) || value['maxTokens'] === undefined)
34
- return false;
35
- if (!('presencePenalty' in value) || value['presencePenalty'] === undefined)
36
- return false;
37
- if (!('temperature' in value) || value['temperature'] === undefined)
38
- return false;
39
- if (!('model' in value) || value['model'] === undefined)
40
- return false;
41
- if (!('modelId' in value) || value['modelId'] === undefined)
42
- return false;
43
- return true;
44
- }
45
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsFromJSON(json) {
46
- return GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsFromJSONTyped(json, false);
47
- }
48
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsFromJSONTyped(json, ignoreDiscriminator) {
49
- if (json == null) {
50
- return json;
51
- }
52
- return {
53
- 'topP': json['top_p'],
54
- 'outputChoice': json['output_choice'],
55
- 'frequencyPenalty': json['frequency_penalty'],
56
- 'maxTokens': json['max_tokens'],
57
- 'presencePenalty': json['presence_penalty'],
58
- 'temperature': json['temperature'],
59
- 'model': json['model'],
60
- 'modelId': json['model_id'],
61
- };
62
- }
63
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsToJSON(json) {
64
- return GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsToJSONTyped(json, false);
65
- }
66
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetailsToJSONTyped(value, ignoreDiscriminator) {
67
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
68
- if (value == null) {
69
- return value;
70
- }
71
- return {
72
- 'top_p': value['topP'],
73
- 'output_choice': value['outputChoice'],
74
- 'frequency_penalty': value['frequencyPenalty'],
75
- 'max_tokens': value['maxTokens'],
76
- 'presence_penalty': value['presencePenalty'],
77
- 'temperature': value['temperature'],
78
- 'model': value['model'],
79
- 'model_id': value['modelId'],
80
- };
81
- }
@@ -1,40 +0,0 @@
1
- /**
2
- * Floor Memory
3
- * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
4
- * - Memory and
5
- * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: contact@ipomo.in
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- *
16
- * @export
17
- * @interface GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage
18
- */
19
- export interface GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage {
20
- /**
21
- *
22
- * @type {string}
23
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage
24
- */
25
- role: string;
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage
30
- */
31
- content: string;
32
- }
33
- /**
34
- * Check if a given object implements the GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage interface.
35
- */
36
- export declare function instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInnerMessage(value: object): value is GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage;
37
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageFromJSON(json: any): GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage;
38
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage;
39
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageToJSON(json: any): GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage;
40
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageToJSONTyped(value?: GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Floor Memory
6
- * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
7
- * - Memory and
8
- * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
9
- *
10
- * The version of the OpenAPI document: 1.0.0
11
- * Contact: contact@ipomo.in
12
- *
13
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14
- * https://openapi-generator.tech
15
- * Do not edit the class manually.
16
- */
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInnerMessage = instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInnerMessage;
19
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageFromJSON = GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageFromJSON;
20
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageFromJSONTyped = GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageFromJSONTyped;
21
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageToJSON = GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageToJSON;
22
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageToJSONTyped = GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageToJSONTyped;
23
- /**
24
- * Check if a given object implements the GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage interface.
25
- */
26
- function instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInnerMessage(value) {
27
- if (!('role' in value) || value['role'] === undefined)
28
- return false;
29
- if (!('content' in value) || value['content'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageFromJSON(json) {
34
- return GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageFromJSONTyped(json, false);
35
- }
36
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'role': json['role'],
42
- 'content': json['content'],
43
- };
44
- }
45
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageToJSON(json) {
46
- return GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageToJSONTyped(json, false);
47
- }
48
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerMessageToJSONTyped(value, ignoreDiscriminator) {
49
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'role': value['role'],
55
- 'content': value['content'],
56
- };
57
- }
@@ -1,40 +0,0 @@
1
- /**
2
- * Floor Memory
3
- * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
4
- * - Memory and
5
- * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: contact@ipomo.in
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- *
16
- * @export
17
- * @interface GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails
18
- */
19
- export interface GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails {
20
- /**
21
- *
22
- * @type {string}
23
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails
24
- */
25
- systemPromptId: string;
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails
30
- */
31
- systemPrompt: string;
32
- }
33
- /**
34
- * Check if a given object implements the GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails interface.
35
- */
36
- export declare function instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails(value: object): value is GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails;
37
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsFromJSON(json: any): GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails;
38
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails;
39
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsToJSON(json: any): GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails;
40
- export declare function GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsToJSONTyped(value?: GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Floor Memory
6
- * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
7
- * - Memory and
8
- * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
9
- *
10
- * The version of the OpenAPI document: 1.0.0
11
- * Contact: contact@ipomo.in
12
- *
13
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14
- * https://openapi-generator.tech
15
- * Do not edit the class manually.
16
- */
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails = instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails;
19
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsFromJSON = GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsFromJSON;
20
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsFromJSONTyped = GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsFromJSONTyped;
21
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsToJSON = GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsToJSON;
22
- exports.GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsToJSONTyped = GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsToJSONTyped;
23
- /**
24
- * Check if a given object implements the GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails interface.
25
- */
26
- function instanceOfGetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails(value) {
27
- if (!('systemPromptId' in value) || value['systemPromptId'] === undefined)
28
- return false;
29
- if (!('systemPrompt' in value) || value['systemPrompt'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsFromJSON(json) {
34
- return GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsFromJSONTyped(json, false);
35
- }
36
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'systemPromptId': json['system_prompt_id'],
42
- 'systemPrompt': json['system_prompt'],
43
- };
44
- }
45
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsToJSON(json) {
46
- return GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsToJSONTyped(json, false);
47
- }
48
- function GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetailsToJSONTyped(value, ignoreDiscriminator) {
49
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'system_prompt_id': value['systemPromptId'],
55
- 'system_prompt': value['systemPrompt'],
56
- };
57
- }
@@ -1,59 +0,0 @@
1
- /**
2
- * Floor Memory
3
- * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
4
- * - Memory and
5
- * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: contact@ipomo.in
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import type { GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner } from './GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner';
15
- /**
16
- *
17
- * @export
18
- * @interface GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts
19
- */
20
- export interface GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts
25
- */
26
- contentType: string;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts
31
- */
32
- query: string;
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts
37
- */
38
- status: string;
39
- /**
40
- *
41
- * @type {string}
42
- * @memberof GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts
43
- */
44
- message: string;
45
- /**
46
- *
47
- * @type {Array<GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner>}
48
- * @memberof GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts
49
- */
50
- results: Array<GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner>;
51
- }
52
- /**
53
- * Check if a given object implements the GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts interface.
54
- */
55
- export declare function instanceOfGetConversations200ResponseConversationInnerAssistantFetchMultiplePosts(value: object): value is GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts;
56
- export declare function GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsFromJSON(json: any): GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts;
57
- export declare function GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts;
58
- export declare function GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsToJSON(json: any): GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts;
59
- export declare function GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsToJSONTyped(value?: GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts | null, ignoreDiscriminator?: boolean): any;