@breign/client 1.0.83 → 1.0.85

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.
@@ -0,0 +1,151 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { KnowledgeBaseConfigurationAuthenticationUio } from './KnowledgeBaseConfigurationAuthenticationUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface KnowledgeBaseConfigurationUio
17
+ */
18
+ export interface KnowledgeBaseConfigurationUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof KnowledgeBaseConfigurationUio
23
+ */
24
+ host?: string | null;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof KnowledgeBaseConfigurationUio
29
+ */
30
+ scheme?: KnowledgeBaseConfigurationUioSchemeEnum | null;
31
+ /**
32
+ *
33
+ * @type {KnowledgeBaseConfigurationAuthenticationUio}
34
+ * @memberof KnowledgeBaseConfigurationUio
35
+ */
36
+ authentication?: KnowledgeBaseConfigurationAuthenticationUio;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof KnowledgeBaseConfigurationUio
41
+ */
42
+ indexName?: string | null;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof KnowledgeBaseConfigurationUio
47
+ */
48
+ colpaliKnowledgeBaseId?: string | null;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof KnowledgeBaseConfigurationUio
53
+ */
54
+ emptyKnowledgeResult?: string | null;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof KnowledgeBaseConfigurationUio
59
+ */
60
+ additionalInstructions?: string | null;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof KnowledgeBaseConfigurationUio
65
+ */
66
+ fusionType?: KnowledgeBaseConfigurationUioFusionTypeEnum | null;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof KnowledgeBaseConfigurationUio
71
+ */
72
+ toolDescription?: string | null;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof KnowledgeBaseConfigurationUio
77
+ */
78
+ toolParametersQueryDescription?: string | null;
79
+ /**
80
+ *
81
+ * @type {number}
82
+ * @memberof KnowledgeBaseConfigurationUio
83
+ */
84
+ scoreThreshold?: number | null;
85
+ /**
86
+ *
87
+ * @type {number}
88
+ * @memberof KnowledgeBaseConfigurationUio
89
+ */
90
+ maxDocuments?: number | null;
91
+ /**
92
+ *
93
+ * @type {number}
94
+ * @memberof KnowledgeBaseConfigurationUio
95
+ */
96
+ maxRetrievalLength?: number | null;
97
+ /**
98
+ *
99
+ * @type {string}
100
+ * @memberof KnowledgeBaseConfigurationUio
101
+ */
102
+ vectorizerModel?: string | null;
103
+ /**
104
+ *
105
+ * @type {number}
106
+ * @memberof KnowledgeBaseConfigurationUio
107
+ */
108
+ vectorizerModelDimensions?: number | null;
109
+ /**
110
+ *
111
+ * @type {string}
112
+ * @memberof KnowledgeBaseConfigurationUio
113
+ */
114
+ embeddingProviderId?: string | null;
115
+ /**
116
+ *
117
+ * @type {string}
118
+ * @memberof KnowledgeBaseConfigurationUio
119
+ */
120
+ embeddingModelId?: string | null;
121
+ /**
122
+ *
123
+ * @type {number}
124
+ * @memberof KnowledgeBaseConfigurationUio
125
+ */
126
+ embeddingDimensions?: number | null;
127
+ }
128
+ /**
129
+ * @export
130
+ */
131
+ export declare const KnowledgeBaseConfigurationUioSchemeEnum: {
132
+ readonly Http: "http";
133
+ readonly Https: "https";
134
+ };
135
+ export type KnowledgeBaseConfigurationUioSchemeEnum = typeof KnowledgeBaseConfigurationUioSchemeEnum[keyof typeof KnowledgeBaseConfigurationUioSchemeEnum];
136
+ /**
137
+ * @export
138
+ */
139
+ export declare const KnowledgeBaseConfigurationUioFusionTypeEnum: {
140
+ readonly RankedFusion: "rankedFusion";
141
+ readonly RelativeScoreFusion: "relativeScoreFusion";
142
+ };
143
+ export type KnowledgeBaseConfigurationUioFusionTypeEnum = typeof KnowledgeBaseConfigurationUioFusionTypeEnum[keyof typeof KnowledgeBaseConfigurationUioFusionTypeEnum];
144
+ /**
145
+ * Check if a given object implements the KnowledgeBaseConfigurationUio interface.
146
+ */
147
+ export declare function instanceOfKnowledgeBaseConfigurationUio(value: object): value is KnowledgeBaseConfigurationUio;
148
+ export declare function KnowledgeBaseConfigurationUioFromJSON(json: any): KnowledgeBaseConfigurationUio;
149
+ export declare function KnowledgeBaseConfigurationUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeBaseConfigurationUio;
150
+ export declare function KnowledgeBaseConfigurationUioToJSON(json: any): KnowledgeBaseConfigurationUio;
151
+ export declare function KnowledgeBaseConfigurationUioToJSONTyped(value?: KnowledgeBaseConfigurationUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.KnowledgeBaseConfigurationUioFusionTypeEnum = exports.KnowledgeBaseConfigurationUioSchemeEnum = void 0;
17
+ exports.instanceOfKnowledgeBaseConfigurationUio = instanceOfKnowledgeBaseConfigurationUio;
18
+ exports.KnowledgeBaseConfigurationUioFromJSON = KnowledgeBaseConfigurationUioFromJSON;
19
+ exports.KnowledgeBaseConfigurationUioFromJSONTyped = KnowledgeBaseConfigurationUioFromJSONTyped;
20
+ exports.KnowledgeBaseConfigurationUioToJSON = KnowledgeBaseConfigurationUioToJSON;
21
+ exports.KnowledgeBaseConfigurationUioToJSONTyped = KnowledgeBaseConfigurationUioToJSONTyped;
22
+ const KnowledgeBaseConfigurationAuthenticationUio_1 = require("./KnowledgeBaseConfigurationAuthenticationUio");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.KnowledgeBaseConfigurationUioSchemeEnum = {
27
+ Http: 'http',
28
+ Https: 'https'
29
+ };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.KnowledgeBaseConfigurationUioFusionTypeEnum = {
34
+ RankedFusion: 'rankedFusion',
35
+ RelativeScoreFusion: 'relativeScoreFusion'
36
+ };
37
+ /**
38
+ * Check if a given object implements the KnowledgeBaseConfigurationUio interface.
39
+ */
40
+ function instanceOfKnowledgeBaseConfigurationUio(value) {
41
+ return true;
42
+ }
43
+ function KnowledgeBaseConfigurationUioFromJSON(json) {
44
+ return KnowledgeBaseConfigurationUioFromJSONTyped(json, false);
45
+ }
46
+ function KnowledgeBaseConfigurationUioFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'host': json['host'] == null ? undefined : json['host'],
52
+ 'scheme': json['scheme'] == null ? undefined : json['scheme'],
53
+ 'authentication': json['authentication'] == null ? undefined : (0, KnowledgeBaseConfigurationAuthenticationUio_1.KnowledgeBaseConfigurationAuthenticationUioFromJSON)(json['authentication']),
54
+ 'indexName': json['indexName'] == null ? undefined : json['indexName'],
55
+ 'colpaliKnowledgeBaseId': json['colpaliKnowledgeBaseId'] == null ? undefined : json['colpaliKnowledgeBaseId'],
56
+ 'emptyKnowledgeResult': json['emptyKnowledgeResult'] == null ? undefined : json['emptyKnowledgeResult'],
57
+ 'additionalInstructions': json['additionalInstructions'] == null ? undefined : json['additionalInstructions'],
58
+ 'fusionType': json['fusionType'] == null ? undefined : json['fusionType'],
59
+ 'toolDescription': json['toolDescription'] == null ? undefined : json['toolDescription'],
60
+ 'toolParametersQueryDescription': json['toolParametersQueryDescription'] == null ? undefined : json['toolParametersQueryDescription'],
61
+ 'scoreThreshold': json['scoreThreshold'] == null ? undefined : json['scoreThreshold'],
62
+ 'maxDocuments': json['maxDocuments'] == null ? undefined : json['maxDocuments'],
63
+ 'maxRetrievalLength': json['maxRetrievalLength'] == null ? undefined : json['maxRetrievalLength'],
64
+ 'vectorizerModel': json['vectorizerModel'] == null ? undefined : json['vectorizerModel'],
65
+ 'vectorizerModelDimensions': json['vectorizerModelDimensions'] == null ? undefined : json['vectorizerModelDimensions'],
66
+ 'embeddingProviderId': json['embeddingProviderId'] == null ? undefined : json['embeddingProviderId'],
67
+ 'embeddingModelId': json['embeddingModelId'] == null ? undefined : json['embeddingModelId'],
68
+ 'embeddingDimensions': json['embeddingDimensions'] == null ? undefined : json['embeddingDimensions'],
69
+ };
70
+ }
71
+ function KnowledgeBaseConfigurationUioToJSON(json) {
72
+ return KnowledgeBaseConfigurationUioToJSONTyped(json, false);
73
+ }
74
+ function KnowledgeBaseConfigurationUioToJSONTyped(value, ignoreDiscriminator = false) {
75
+ if (value == null) {
76
+ return value;
77
+ }
78
+ return {
79
+ 'host': value['host'],
80
+ 'scheme': value['scheme'],
81
+ 'authentication': (0, KnowledgeBaseConfigurationAuthenticationUio_1.KnowledgeBaseConfigurationAuthenticationUioToJSON)(value['authentication']),
82
+ 'indexName': value['indexName'],
83
+ 'colpaliKnowledgeBaseId': value['colpaliKnowledgeBaseId'],
84
+ 'emptyKnowledgeResult': value['emptyKnowledgeResult'],
85
+ 'additionalInstructions': value['additionalInstructions'],
86
+ 'fusionType': value['fusionType'],
87
+ 'toolDescription': value['toolDescription'],
88
+ 'toolParametersQueryDescription': value['toolParametersQueryDescription'],
89
+ 'scoreThreshold': value['scoreThreshold'],
90
+ 'maxDocuments': value['maxDocuments'],
91
+ 'maxRetrievalLength': value['maxRetrievalLength'],
92
+ 'vectorizerModel': value['vectorizerModel'],
93
+ 'vectorizerModelDimensions': value['vectorizerModelDimensions'],
94
+ 'embeddingProviderId': value['embeddingProviderId'],
95
+ 'embeddingModelId': value['embeddingModelId'],
96
+ 'embeddingDimensions': value['embeddingDimensions'],
97
+ };
98
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface KnowledgeFilePagePreviewUio
16
+ */
17
+ export interface KnowledgeFilePagePreviewUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof KnowledgeFilePagePreviewUio
22
+ */
23
+ url: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof KnowledgeFilePagePreviewUio
28
+ */
29
+ key?: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof KnowledgeFilePagePreviewUio
34
+ */
35
+ pageIndex: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the KnowledgeFilePagePreviewUio interface.
39
+ */
40
+ export declare function instanceOfKnowledgeFilePagePreviewUio(value: object): value is KnowledgeFilePagePreviewUio;
41
+ export declare function KnowledgeFilePagePreviewUioFromJSON(json: any): KnowledgeFilePagePreviewUio;
42
+ export declare function KnowledgeFilePagePreviewUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeFilePagePreviewUio;
43
+ export declare function KnowledgeFilePagePreviewUioToJSON(json: any): KnowledgeFilePagePreviewUio;
44
+ export declare function KnowledgeFilePagePreviewUioToJSONTyped(value?: KnowledgeFilePagePreviewUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfKnowledgeFilePagePreviewUio = instanceOfKnowledgeFilePagePreviewUio;
17
+ exports.KnowledgeFilePagePreviewUioFromJSON = KnowledgeFilePagePreviewUioFromJSON;
18
+ exports.KnowledgeFilePagePreviewUioFromJSONTyped = KnowledgeFilePagePreviewUioFromJSONTyped;
19
+ exports.KnowledgeFilePagePreviewUioToJSON = KnowledgeFilePagePreviewUioToJSON;
20
+ exports.KnowledgeFilePagePreviewUioToJSONTyped = KnowledgeFilePagePreviewUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the KnowledgeFilePagePreviewUio interface.
23
+ */
24
+ function instanceOfKnowledgeFilePagePreviewUio(value) {
25
+ if (!('url' in value) || value['url'] === undefined)
26
+ return false;
27
+ if (!('pageIndex' in value) || value['pageIndex'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function KnowledgeFilePagePreviewUioFromJSON(json) {
32
+ return KnowledgeFilePagePreviewUioFromJSONTyped(json, false);
33
+ }
34
+ function KnowledgeFilePagePreviewUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'url': json['url'],
40
+ 'key': json['key'] == null ? undefined : json['key'],
41
+ 'pageIndex': json['pageIndex'],
42
+ };
43
+ }
44
+ function KnowledgeFilePagePreviewUioToJSON(json) {
45
+ return KnowledgeFilePagePreviewUioToJSONTyped(json, false);
46
+ }
47
+ function KnowledgeFilePagePreviewUioToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'url': value['url'],
53
+ 'key': value['key'],
54
+ 'pageIndex': value['pageIndex'],
55
+ };
56
+ }
@@ -159,10 +159,15 @@ export * from './ImageKnowledgeUio';
159
159
  export * from './ImportFileToAgentKnowledge200ResponseUio';
160
160
  export * from './InputUio';
161
161
  export * from './InstanceUio';
162
+ export * from './IntrospectMcpTool200ResponseUio';
163
+ export * from './KnowledgeBaseConfigurationAuthenticationOneOfUio';
164
+ export * from './KnowledgeBaseConfigurationAuthenticationUio';
165
+ export * from './KnowledgeBaseConfigurationUio';
162
166
  export * from './KnowledgeBaseFilesInnerUio';
163
167
  export * from './KnowledgeBasePrivacyUio';
164
168
  export * from './KnowledgeBaseUio';
165
169
  export * from './KnowledgeBaseWithFilesUio';
170
+ export * from './KnowledgeFilePagePreviewUio';
166
171
  export * from './KnowledgeFileSummaryKnowledgeBaseIdUio';
167
172
  export * from './KnowledgeFileSummaryUio';
168
173
  export * from './KnowledgeFilesByIdsRequestUio';
@@ -177,10 +177,15 @@ __exportStar(require("./ImageKnowledgeUio"), exports);
177
177
  __exportStar(require("./ImportFileToAgentKnowledge200ResponseUio"), exports);
178
178
  __exportStar(require("./InputUio"), exports);
179
179
  __exportStar(require("./InstanceUio"), exports);
180
+ __exportStar(require("./IntrospectMcpTool200ResponseUio"), exports);
181
+ __exportStar(require("./KnowledgeBaseConfigurationAuthenticationOneOfUio"), exports);
182
+ __exportStar(require("./KnowledgeBaseConfigurationAuthenticationUio"), exports);
183
+ __exportStar(require("./KnowledgeBaseConfigurationUio"), exports);
180
184
  __exportStar(require("./KnowledgeBaseFilesInnerUio"), exports);
181
185
  __exportStar(require("./KnowledgeBasePrivacyUio"), exports);
182
186
  __exportStar(require("./KnowledgeBaseUio"), exports);
183
187
  __exportStar(require("./KnowledgeBaseWithFilesUio"), exports);
188
+ __exportStar(require("./KnowledgeFilePagePreviewUio"), exports);
184
189
  __exportStar(require("./KnowledgeFileSummaryKnowledgeBaseIdUio"), exports);
185
190
  __exportStar(require("./KnowledgeFileSummaryUio"), exports);
186
191
  __exportStar(require("./KnowledgeFilesByIdsRequestUio"), exports);