@or-sdk/lookup 1.24.0 → 1.24.1-beta.4095.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/types.d.ts +598 -0
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +3 -4
package/dist/types/types.d.ts
CHANGED
|
@@ -5,81 +5,279 @@ export type CallOptions = {
|
|
|
5
5
|
signal?: AbortSignal;
|
|
6
6
|
};
|
|
7
7
|
export type LookupConfig = {
|
|
8
|
+
/**
|
|
9
|
+
* token
|
|
10
|
+
*/
|
|
8
11
|
token: Token;
|
|
12
|
+
/**
|
|
13
|
+
* Url of OneReach service discovery api
|
|
14
|
+
*/
|
|
9
15
|
discoveryUrl?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Account ID for cross-account requests (super admin only)
|
|
18
|
+
*/
|
|
10
19
|
accountId?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Url of OneReach lookup api
|
|
22
|
+
*/
|
|
11
23
|
serviceUrl?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Feature name, default: 'master'
|
|
26
|
+
*/
|
|
12
27
|
feature?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Flow SessionID (Used for correct tracking)
|
|
30
|
+
*/
|
|
13
31
|
sessionId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Flow beginningSessionId (Used for correct tracking)
|
|
34
|
+
*/
|
|
14
35
|
beginningSessionId?: string;
|
|
15
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* Document creation parameters
|
|
39
|
+
*/
|
|
16
40
|
export type LoadDocument = {
|
|
41
|
+
/**
|
|
42
|
+
* Document name
|
|
43
|
+
*/
|
|
17
44
|
name: string;
|
|
45
|
+
/**
|
|
46
|
+
* Document URL
|
|
47
|
+
*/
|
|
18
48
|
url?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Document description
|
|
51
|
+
*/
|
|
19
52
|
description?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Default custom properties for document passages.
|
|
55
|
+
* Note that these properties should be listed in collection properties
|
|
56
|
+
*/
|
|
20
57
|
defaultProperties: Record<string, unknown>;
|
|
21
58
|
};
|
|
59
|
+
/**
|
|
60
|
+
* Documents crawl creation parameters
|
|
61
|
+
*/
|
|
22
62
|
export type CrawlDocuments = {
|
|
63
|
+
/**
|
|
64
|
+
* Document URL
|
|
65
|
+
*/
|
|
23
66
|
url: string;
|
|
67
|
+
/**
|
|
68
|
+
* Searchable prefix
|
|
69
|
+
*/
|
|
24
70
|
prefix: string;
|
|
71
|
+
/**
|
|
72
|
+
* Limit for documents creation
|
|
73
|
+
*/
|
|
25
74
|
limit: number;
|
|
75
|
+
/**
|
|
76
|
+
* Default custom properties for documents.
|
|
77
|
+
* Note that these properties should be listed in collection properties
|
|
78
|
+
*/
|
|
26
79
|
defaultProperties: Record<string, unknown>;
|
|
27
80
|
};
|
|
28
81
|
export type Property = {
|
|
82
|
+
/**
|
|
83
|
+
* Property name. e.g. `nameOfTheAuthor`
|
|
84
|
+
*/
|
|
29
85
|
name: string;
|
|
86
|
+
/**
|
|
87
|
+
* Property type. See https://weaviate.io/developers/weaviate/config-refs/schema#datatypes for the available types
|
|
88
|
+
*/
|
|
30
89
|
dataType: string;
|
|
90
|
+
/**
|
|
91
|
+
* Property description
|
|
92
|
+
*/
|
|
31
93
|
description?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Nested properties only for object dataType properties
|
|
96
|
+
*/
|
|
32
97
|
nestedProperties?: Property[];
|
|
98
|
+
/**
|
|
99
|
+
* custom property vectorization, use OpenAI API to vectorize the property
|
|
100
|
+
*/
|
|
33
101
|
vectorize?: boolean;
|
|
34
102
|
};
|
|
103
|
+
/**
|
|
104
|
+
* Search parameters
|
|
105
|
+
*/
|
|
35
106
|
export type Search = {
|
|
107
|
+
/**
|
|
108
|
+
* Search query
|
|
109
|
+
*/
|
|
36
110
|
query: string;
|
|
111
|
+
/**
|
|
112
|
+
* Limit the number of results.
|
|
113
|
+
*/
|
|
37
114
|
limit?: number;
|
|
115
|
+
/**
|
|
116
|
+
* Offset for the results.
|
|
117
|
+
*/
|
|
38
118
|
offset?: number;
|
|
119
|
+
/**
|
|
120
|
+
* Weaviate where filter. See https://weaviate.io/developers/weaviate/api/graphql/filters
|
|
121
|
+
*/
|
|
39
122
|
where?: Record<string, unknown>;
|
|
123
|
+
/**
|
|
124
|
+
* Array of the custom properties to select.
|
|
125
|
+
*/
|
|
40
126
|
select?: string[];
|
|
127
|
+
/**
|
|
128
|
+
* Filter out passages that are further than maxDistance from the question or context by cosine metric.
|
|
129
|
+
* Default: 0
|
|
130
|
+
* Range: 0 - 1
|
|
131
|
+
*/
|
|
41
132
|
maxDistance?: number;
|
|
133
|
+
/**
|
|
134
|
+
* Custom vector for search, in this case embeddingProvider and embeddingModel are ignored
|
|
135
|
+
*/
|
|
42
136
|
vector?: number[];
|
|
137
|
+
/**
|
|
138
|
+
* Alpha parameter for hybrid search to balance between vector and keyword search.
|
|
139
|
+
* 0.0 means keyword-only search, 1.0 means vector-only search.
|
|
140
|
+
* Default: 1
|
|
141
|
+
* Range: 0 - 1
|
|
142
|
+
*/
|
|
43
143
|
alpha?: number;
|
|
44
144
|
};
|
|
45
145
|
export type MessageRole = 'user' | 'assistant';
|
|
46
146
|
export type AskMode = 'conversation' | 'ask';
|
|
147
|
+
/**
|
|
148
|
+
* Message data for completion request
|
|
149
|
+
*/
|
|
47
150
|
export type CompletionRequestMessage = {
|
|
151
|
+
/**
|
|
152
|
+
* Role of the message sender (either "user" or "assistant")
|
|
153
|
+
*/
|
|
48
154
|
role: MessageRole;
|
|
155
|
+
/**
|
|
156
|
+
* Content of the message
|
|
157
|
+
*/
|
|
49
158
|
content: string;
|
|
50
159
|
};
|
|
160
|
+
/**
|
|
161
|
+
* Ask question parameters
|
|
162
|
+
*/
|
|
51
163
|
export type Ask = {
|
|
164
|
+
/**
|
|
165
|
+
* Question to ask
|
|
166
|
+
*/
|
|
52
167
|
question: string;
|
|
168
|
+
/**
|
|
169
|
+
* Previous chat messages
|
|
170
|
+
* Default: []
|
|
171
|
+
*/
|
|
53
172
|
messages?: CompletionRequestMessage[];
|
|
173
|
+
/**
|
|
174
|
+
* Limit the number of results.
|
|
175
|
+
* Default: 5
|
|
176
|
+
* Range: 1 - 100
|
|
177
|
+
*/
|
|
54
178
|
limit?: number;
|
|
179
|
+
/**
|
|
180
|
+
* Offset for the results.
|
|
181
|
+
*/
|
|
55
182
|
offset?: number;
|
|
183
|
+
/**
|
|
184
|
+
* Weaviate where filter. See https://weaviate.io/developers/weaviate/api/graphql/filters
|
|
185
|
+
* Optional
|
|
186
|
+
*/
|
|
56
187
|
where?: Record<string, unknown>;
|
|
188
|
+
/**
|
|
189
|
+
* Array of the custom properties to select.
|
|
190
|
+
* Optional
|
|
191
|
+
*/
|
|
57
192
|
select?: string[];
|
|
193
|
+
/**
|
|
194
|
+
* Question mode.
|
|
195
|
+
* Default: 'conversation'
|
|
196
|
+
* Values: 'conversation', 'ask'
|
|
197
|
+
*/
|
|
58
198
|
mode?: AskMode;
|
|
199
|
+
/**
|
|
200
|
+
* A summarization instruction used to generate correct answer.
|
|
201
|
+
* Maximum Length: 1000 characters
|
|
202
|
+
* Optional
|
|
203
|
+
*/
|
|
59
204
|
answerInstruction?: string | null;
|
|
205
|
+
/**
|
|
206
|
+
* A summarization instruction used to generate correct search query.
|
|
207
|
+
* Maximum Length: 1000 characters
|
|
208
|
+
* Optional
|
|
209
|
+
*/
|
|
60
210
|
questionInstruction?: string | null;
|
|
211
|
+
/**
|
|
212
|
+
* What sampling temperature to use.
|
|
213
|
+
* Default: 1
|
|
214
|
+
* Range: 0 - 2
|
|
215
|
+
*/
|
|
61
216
|
temperature?: number;
|
|
217
|
+
/**
|
|
218
|
+
* Maximum output length from the LLM
|
|
219
|
+
* Default: 1024
|
|
220
|
+
* Range: 128 - 2048
|
|
221
|
+
*/
|
|
62
222
|
maxTokens?: number;
|
|
223
|
+
/**
|
|
224
|
+
* Positive values penalize new tokens based on their existing frequency in the text so far.
|
|
225
|
+
* Default: 0
|
|
226
|
+
* Range: -2 - 2
|
|
227
|
+
*/
|
|
63
228
|
frequencyPenalty?: number;
|
|
229
|
+
/**
|
|
230
|
+
* Penalize new tokens based on whether they appear in the text so far.
|
|
231
|
+
* Default: 0
|
|
232
|
+
* Range: -2 - 2
|
|
233
|
+
*/
|
|
64
234
|
presencePenalty?: number;
|
|
235
|
+
/**
|
|
236
|
+
* Filter out passages that are further than maxDistance from the question or context by cosine metric.
|
|
237
|
+
* Default: 0
|
|
238
|
+
* Range: 0 - 1
|
|
239
|
+
*/
|
|
65
240
|
maxDistance?: number;
|
|
241
|
+
/**
|
|
242
|
+
* Prompt provider (Optional)
|
|
243
|
+
* Maximum length: 64
|
|
244
|
+
*/
|
|
66
245
|
promptProvider?: string;
|
|
246
|
+
/**
|
|
247
|
+
* Large language model name (Optional)
|
|
248
|
+
* Maximum length: 64
|
|
249
|
+
*/
|
|
67
250
|
promptModel?: string;
|
|
251
|
+
/**
|
|
252
|
+
* Token name for the prompt
|
|
253
|
+
*/
|
|
68
254
|
promptTokenName?: string;
|
|
255
|
+
/**
|
|
256
|
+
* Prompt guardrail identifier.
|
|
257
|
+
*/
|
|
69
258
|
promptGuardrailIdentifier?: string;
|
|
70
259
|
};
|
|
260
|
+
/**
|
|
261
|
+
* DocumentStatus represents the loading status of a document.
|
|
262
|
+
*/
|
|
71
263
|
export declare enum DocumentStatus {
|
|
72
264
|
NEW = "NEW",
|
|
73
265
|
LOADING = "LOADING",
|
|
74
266
|
READY = "READY",
|
|
75
267
|
ERROR = "ERROR"
|
|
76
268
|
}
|
|
269
|
+
/**
|
|
270
|
+
* BackupStatus represents the backup status of a collection.
|
|
271
|
+
*/
|
|
77
272
|
export declare enum BackupStatus {
|
|
78
273
|
BACKUP = "BACKUP",
|
|
79
274
|
RESTORE = "RESTORE",
|
|
80
275
|
READY = "READY",
|
|
81
276
|
ERROR = "ERROR"
|
|
82
277
|
}
|
|
278
|
+
/**
|
|
279
|
+
* CollectionType represents the type of a collection.
|
|
280
|
+
*/
|
|
83
281
|
export declare enum CollectionType {
|
|
84
282
|
DEFAULT = "DEFAULT",
|
|
85
283
|
QNA_V1 = "QNA_V1",
|
|
@@ -87,147 +285,547 @@ export declare enum CollectionType {
|
|
|
87
285
|
CUSTOM = "CUSTOM"
|
|
88
286
|
}
|
|
89
287
|
export type DocumentProperty = {
|
|
288
|
+
/**
|
|
289
|
+
* Property name. e.g. `nameOfTheAuthor`
|
|
290
|
+
*/
|
|
90
291
|
name: string;
|
|
292
|
+
/**
|
|
293
|
+
* Property value
|
|
294
|
+
*/
|
|
91
295
|
value?: unknown;
|
|
92
296
|
};
|
|
297
|
+
/**
|
|
298
|
+
* Document represents a document object.
|
|
299
|
+
*/
|
|
93
300
|
export type Document = {
|
|
301
|
+
/**
|
|
302
|
+
* Document ID
|
|
303
|
+
*/
|
|
94
304
|
id: string;
|
|
305
|
+
/**
|
|
306
|
+
* Collection ID
|
|
307
|
+
*/
|
|
95
308
|
collection: string;
|
|
309
|
+
/**
|
|
310
|
+
* Document name
|
|
311
|
+
*/
|
|
96
312
|
name: string;
|
|
313
|
+
/**
|
|
314
|
+
* Document description
|
|
315
|
+
*/
|
|
97
316
|
description: string;
|
|
317
|
+
/**
|
|
318
|
+
* List of document properties
|
|
319
|
+
*/
|
|
98
320
|
properties?: DocumentProperty[];
|
|
321
|
+
/**
|
|
322
|
+
* Document loading status or error message
|
|
323
|
+
*/
|
|
99
324
|
status: DocumentStatus | string;
|
|
325
|
+
/**
|
|
326
|
+
* Creation Date
|
|
327
|
+
*/
|
|
100
328
|
createdAt: string;
|
|
329
|
+
/**
|
|
330
|
+
* Updating Date
|
|
331
|
+
*/
|
|
101
332
|
updatedAt: string;
|
|
333
|
+
/**
|
|
334
|
+
* Number of passages in the document.
|
|
335
|
+
*/
|
|
102
336
|
countPassages?: number;
|
|
337
|
+
/**
|
|
338
|
+
* The URL of the source this document is downloaded from if provided.
|
|
339
|
+
*/
|
|
103
340
|
sourceUrl?: string;
|
|
104
341
|
};
|
|
342
|
+
/**
|
|
343
|
+
* Collection represents a collection object.
|
|
344
|
+
*/
|
|
105
345
|
export type Collection = {
|
|
346
|
+
/**
|
|
347
|
+
* Collection ID
|
|
348
|
+
*/
|
|
106
349
|
id: string;
|
|
350
|
+
/**
|
|
351
|
+
* Account ID
|
|
352
|
+
*/
|
|
107
353
|
accountId: string;
|
|
354
|
+
/**
|
|
355
|
+
* Collection name
|
|
356
|
+
* Can start only with a letter.
|
|
357
|
+
* Minimum length: 5, Maximum length: 100
|
|
358
|
+
*/
|
|
108
359
|
name: string;
|
|
360
|
+
/**
|
|
361
|
+
* Collection description (Optional)
|
|
362
|
+
* Minimum length: 3, Maximum length: 500
|
|
363
|
+
*/
|
|
109
364
|
description?: string;
|
|
365
|
+
/**
|
|
366
|
+
* Collection backup/restore status
|
|
367
|
+
*/
|
|
110
368
|
status?: BackupStatus | string;
|
|
369
|
+
/**
|
|
370
|
+
* A collection thumbnail image URL (Optional)
|
|
371
|
+
* Minimum length: 3, Maximum length: 2048
|
|
372
|
+
*/
|
|
111
373
|
imageUrl?: string;
|
|
374
|
+
/**
|
|
375
|
+
* A summarization instruction used to generate a correct answer (Optional)
|
|
376
|
+
* Maximum length: 1000
|
|
377
|
+
*/
|
|
112
378
|
answerInstruction?: string | null;
|
|
379
|
+
/**
|
|
380
|
+
* A summarization instruction used to generate a correct search query (Optional)
|
|
381
|
+
* Maximum length: 1000
|
|
382
|
+
*/
|
|
113
383
|
questionInstruction?: string | null;
|
|
384
|
+
/**
|
|
385
|
+
* A summarization instruction used to generate a correct first message (Optional)
|
|
386
|
+
* Maximum length: 1000
|
|
387
|
+
*/
|
|
114
388
|
greetingInstruction?: string | null;
|
|
389
|
+
/**
|
|
390
|
+
* Custom properties (Optional)
|
|
391
|
+
* Type: Array<Property>
|
|
392
|
+
*/
|
|
115
393
|
properties?: Property[];
|
|
394
|
+
/**
|
|
395
|
+
* Creation Date
|
|
396
|
+
*/
|
|
116
397
|
createdAt: string | Date;
|
|
398
|
+
/**
|
|
399
|
+
* Updating Date
|
|
400
|
+
*/
|
|
117
401
|
updatedAt: string | Date;
|
|
402
|
+
/**
|
|
403
|
+
* What sampling temperature to use.
|
|
404
|
+
* Minimum value: 0, Maximum value: 2
|
|
405
|
+
*/
|
|
118
406
|
temperature?: number;
|
|
407
|
+
/**
|
|
408
|
+
* Max output length from the LLM
|
|
409
|
+
* Minimum value: 128, Maximum value: 2048
|
|
410
|
+
*/
|
|
119
411
|
maxTokens?: number;
|
|
412
|
+
/**
|
|
413
|
+
* Max number of passages returned in result
|
|
414
|
+
* Minimum value: 1
|
|
415
|
+
*/
|
|
120
416
|
limit?: number;
|
|
417
|
+
/**
|
|
418
|
+
* Hybrid search
|
|
419
|
+
* Minimum value: 0
|
|
420
|
+
* Maximum value: 1
|
|
421
|
+
*/
|
|
121
422
|
alpha?: number;
|
|
423
|
+
/**
|
|
424
|
+
* Positive values penalize new tokens based on their existing frequency in the text so far.
|
|
425
|
+
* Minimum value: -2, Maximum value: 2
|
|
426
|
+
*/
|
|
122
427
|
frequencyPenalty?: number;
|
|
428
|
+
/**
|
|
429
|
+
* Penalize new tokens based on whether they appear in the text so far.
|
|
430
|
+
* Minimum value: -2, Maximum value: 2
|
|
431
|
+
*/
|
|
123
432
|
presencePenalty?: number;
|
|
433
|
+
/**
|
|
434
|
+
* Filter out passages that are further then maxDistance from the question or context by cosine metric.
|
|
435
|
+
* Minimum value: 0, Maximum value: 1
|
|
436
|
+
*/
|
|
124
437
|
maxDistance?: number;
|
|
438
|
+
/**
|
|
439
|
+
* @deprecated Use `promptModel` instead.
|
|
440
|
+
*/
|
|
125
441
|
modelName?: string;
|
|
442
|
+
/**
|
|
443
|
+
* Ai token name from account settings (Optional)
|
|
444
|
+
*/
|
|
126
445
|
promptTokenName?: string;
|
|
446
|
+
/**
|
|
447
|
+
* Prompt provider.
|
|
448
|
+
*/
|
|
127
449
|
promptProvider?: string;
|
|
450
|
+
/**
|
|
451
|
+
* Large language model name.
|
|
452
|
+
*/
|
|
128
453
|
promptModel?: string;
|
|
454
|
+
/**
|
|
455
|
+
* Prompt guardrail identifier.
|
|
456
|
+
*/
|
|
129
457
|
promptGuardrailIdentifier?: string;
|
|
458
|
+
/**
|
|
459
|
+
* Ai token name from account settings (Optional)
|
|
460
|
+
*/
|
|
130
461
|
embeddingTokenName?: string;
|
|
462
|
+
/**
|
|
463
|
+
* Embedding provider.
|
|
464
|
+
*/
|
|
131
465
|
embeddingProvider?: string;
|
|
466
|
+
/**
|
|
467
|
+
* Embedding model name.
|
|
468
|
+
*/
|
|
132
469
|
embeddingModel?: string;
|
|
470
|
+
/**
|
|
471
|
+
* Embedding guardrail identifier.
|
|
472
|
+
*/
|
|
133
473
|
embeddingGuardrailIdentifier?: string;
|
|
474
|
+
/**
|
|
475
|
+
* Number of passages in the collection.
|
|
476
|
+
*/
|
|
134
477
|
countPassages?: number;
|
|
478
|
+
/**
|
|
479
|
+
* Number of documents in the collection.
|
|
480
|
+
*/
|
|
135
481
|
countDocs?: number;
|
|
482
|
+
/**
|
|
483
|
+
* Collection type, it will be used for specific document loading post-processing. (Optional)
|
|
484
|
+
*/
|
|
136
485
|
type?: CollectionType;
|
|
486
|
+
/**
|
|
487
|
+
* Top-p (nucleus): The cumulative probability cutoff for token selection.
|
|
488
|
+
* Lower values mean sampling from a smaller, more top-weighted nucleus.
|
|
489
|
+
*/
|
|
137
490
|
topP?: number;
|
|
491
|
+
/**
|
|
492
|
+
* Top-k: Sample from the k most likely next tokens at each step.
|
|
493
|
+
* Lower k focuses on higher probability tokens.
|
|
494
|
+
*/
|
|
138
495
|
topK?: number;
|
|
139
496
|
};
|
|
497
|
+
/**
|
|
498
|
+
* SearchResult represents a document found as a result of a search query.
|
|
499
|
+
*/
|
|
140
500
|
export type SearchResult = {
|
|
501
|
+
/**
|
|
502
|
+
* Found passage ID
|
|
503
|
+
*/
|
|
141
504
|
id: string;
|
|
505
|
+
/**
|
|
506
|
+
* Cosine distance between search query and result.
|
|
507
|
+
*/
|
|
142
508
|
distance: string;
|
|
509
|
+
/**
|
|
510
|
+
* Found passage content.
|
|
511
|
+
*/
|
|
143
512
|
content: string;
|
|
513
|
+
/**
|
|
514
|
+
* SourceUrl
|
|
515
|
+
*/
|
|
144
516
|
sourceUrl: string;
|
|
517
|
+
/**
|
|
518
|
+
* Found passage metadata.
|
|
519
|
+
*/
|
|
145
520
|
loaderMetadata: Record<string, unknown>;
|
|
521
|
+
/**
|
|
522
|
+
* Found passage metadata.
|
|
523
|
+
*/
|
|
146
524
|
document: {
|
|
147
525
|
id: string;
|
|
148
526
|
name: string;
|
|
149
527
|
};
|
|
528
|
+
/**
|
|
529
|
+
* Used properties in search.
|
|
530
|
+
*/
|
|
150
531
|
select: string[];
|
|
151
532
|
};
|
|
533
|
+
/**
|
|
534
|
+
* AskResults represents the response from an ask question query.
|
|
535
|
+
*/
|
|
152
536
|
export type AskResults = {
|
|
537
|
+
/**
|
|
538
|
+
* Generated answer from the chat completion.
|
|
539
|
+
*/
|
|
153
540
|
result: CompletionRequestMessage;
|
|
541
|
+
/**
|
|
542
|
+
* Search result for the input question.
|
|
543
|
+
*/
|
|
154
544
|
searchResult: SearchResult;
|
|
545
|
+
/**
|
|
546
|
+
* Used properties in search.
|
|
547
|
+
*/
|
|
155
548
|
select: string[];
|
|
156
549
|
};
|
|
550
|
+
/**
|
|
551
|
+
* UpdateDocument parameters
|
|
552
|
+
*/
|
|
157
553
|
export type UpdateDocument = {
|
|
554
|
+
/**
|
|
555
|
+
* Document name
|
|
556
|
+
*/
|
|
158
557
|
name?: string;
|
|
558
|
+
/**
|
|
559
|
+
* Document description
|
|
560
|
+
*/
|
|
159
561
|
description?: string;
|
|
562
|
+
/**
|
|
563
|
+
* Document status or loading error message
|
|
564
|
+
*/
|
|
160
565
|
status?: DocumentStatus | string;
|
|
566
|
+
/**
|
|
567
|
+
* Custom properties for document.
|
|
568
|
+
* Note that these properties should be listed in document properties
|
|
569
|
+
*/
|
|
161
570
|
properties?: DocumentProperty[];
|
|
162
571
|
};
|
|
572
|
+
/**
|
|
573
|
+
* CreateCollection parameters
|
|
574
|
+
*/
|
|
163
575
|
export type CreateCollection = UpdateCollection & {
|
|
576
|
+
/**
|
|
577
|
+
* Custom properties (Optional)
|
|
578
|
+
* Type: Array<Property>
|
|
579
|
+
*/
|
|
164
580
|
properties?: Property[];
|
|
581
|
+
/**
|
|
582
|
+
* Collection type, it will be used for specific document loading post-processing. (Optional)
|
|
583
|
+
*/
|
|
165
584
|
type?: CollectionType;
|
|
585
|
+
/**
|
|
586
|
+
* Prompt provider (Optional)
|
|
587
|
+
* Maximum length: 64
|
|
588
|
+
*/
|
|
166
589
|
embeddingProvider?: string;
|
|
590
|
+
/**
|
|
591
|
+
* Prompt provider (Optional)
|
|
592
|
+
* Maximum length: 64
|
|
593
|
+
*/
|
|
167
594
|
embeddingModel?: string;
|
|
168
595
|
};
|
|
596
|
+
/**
|
|
597
|
+
* UpdateCollection parameters
|
|
598
|
+
*/
|
|
169
599
|
export type UpdateCollection = {
|
|
600
|
+
/**
|
|
601
|
+
* Collection name
|
|
602
|
+
* Can start only with a letter.
|
|
603
|
+
* Minimum length: 5, Maximum length: 100
|
|
604
|
+
*/
|
|
170
605
|
name?: string;
|
|
606
|
+
/**
|
|
607
|
+
* Collection description (Optional)
|
|
608
|
+
* Minimum length: 3, Maximum length: 500
|
|
609
|
+
*/
|
|
171
610
|
description?: string;
|
|
611
|
+
/**
|
|
612
|
+
* A collection thumbnail image URL (Optional)
|
|
613
|
+
* Minimum length: 3, Maximum length: 2048
|
|
614
|
+
*/
|
|
172
615
|
imageUrl?: string;
|
|
616
|
+
/**
|
|
617
|
+
* A summarization instruction used to generate a correct answer (Optional)
|
|
618
|
+
* Maximum length: 1000
|
|
619
|
+
*/
|
|
173
620
|
answerInstruction?: string;
|
|
621
|
+
/**
|
|
622
|
+
* A summarization instruction used to generate a correct search query (Optional)
|
|
623
|
+
* Maximum length: 1000
|
|
624
|
+
*/
|
|
174
625
|
questionInstruction?: string;
|
|
626
|
+
/**
|
|
627
|
+
* A summarization instruction used to generate a correct first message (Optional)
|
|
628
|
+
* Maximum length: 1000
|
|
629
|
+
*/
|
|
175
630
|
greetingInstruction?: string;
|
|
631
|
+
/**
|
|
632
|
+
* What sampling temperature to use (Optional)
|
|
633
|
+
* Default value: 1, Range: [0, 2]
|
|
634
|
+
*/
|
|
176
635
|
temperature?: number;
|
|
636
|
+
/**
|
|
637
|
+
* Max output length from the LLM (Optional)
|
|
638
|
+
* Range: [128, 2048]
|
|
639
|
+
*/
|
|
177
640
|
maxTokens?: number;
|
|
641
|
+
/**
|
|
642
|
+
* Positive values penalize new tokens based on their existing frequency in the text so far (Optional)
|
|
643
|
+
* Range: [-2, 2]
|
|
644
|
+
*/
|
|
178
645
|
frequencyPenalty?: number;
|
|
646
|
+
/**
|
|
647
|
+
* Penalize new tokens based on whether they appear in the text so far (Optional)
|
|
648
|
+
* Range: [-2, 2]
|
|
649
|
+
*/
|
|
179
650
|
presencePenalty?: number;
|
|
651
|
+
/**
|
|
652
|
+
* Filter out passages that are further then maxDistance from the question or context by
|
|
653
|
+
* cosine metric (Optional)
|
|
654
|
+
* Range: [0, 1]
|
|
655
|
+
*/
|
|
180
656
|
maxDistance?: number;
|
|
657
|
+
/**
|
|
658
|
+
* Large language model name (Optional)
|
|
659
|
+
* Maximum length: 64
|
|
660
|
+
* @deprecated Use `promptModel` instead.
|
|
661
|
+
*/
|
|
181
662
|
modelName?: string;
|
|
663
|
+
/**
|
|
664
|
+
* Ai token name from account settings (Optional)
|
|
665
|
+
*/
|
|
182
666
|
promptTokenName?: string;
|
|
667
|
+
/**
|
|
668
|
+
* Prompt guardrail identifier.
|
|
669
|
+
*/
|
|
183
670
|
promptGuardrailIdentifier?: string;
|
|
671
|
+
/**
|
|
672
|
+
* Prompt provider (Optional)
|
|
673
|
+
* Maximum length: 64
|
|
674
|
+
*/
|
|
184
675
|
promptProvider?: string;
|
|
676
|
+
/**
|
|
677
|
+
* Large language model name (Optional)
|
|
678
|
+
* Maximum length: 64
|
|
679
|
+
*/
|
|
185
680
|
promptModel?: string;
|
|
681
|
+
/**
|
|
682
|
+
* Ai token name from account settings (Optional)
|
|
683
|
+
*/
|
|
186
684
|
embeddingTokenName?: string;
|
|
685
|
+
/**
|
|
686
|
+
* Embedding guardrail identifier.
|
|
687
|
+
*/
|
|
187
688
|
embeddingGuardrailIdentifier?: string;
|
|
689
|
+
/**
|
|
690
|
+
* Top-p (nucleus): The cumulative probability cutoff for token selection.
|
|
691
|
+
* Lower values mean sampling from a smaller, more top-weighted nucleus.
|
|
692
|
+
*/
|
|
188
693
|
topP?: number;
|
|
694
|
+
/**
|
|
695
|
+
* Top-k: Sample from the k most likely next tokens at each step.
|
|
696
|
+
* Lower k focuses on higher probability tokens.
|
|
697
|
+
*/
|
|
189
698
|
topK?: number;
|
|
190
699
|
};
|
|
700
|
+
/**
|
|
701
|
+
* Find parameters
|
|
702
|
+
*/
|
|
191
703
|
export type Find = Partial<PaginationOptions> & Partial<OrderOptions> & {
|
|
704
|
+
/**
|
|
705
|
+
* Search query
|
|
706
|
+
*/
|
|
192
707
|
query?: string;
|
|
708
|
+
/**
|
|
709
|
+
* Search mode: bm25 for full-text search and vector for vector similarity search.
|
|
710
|
+
*/
|
|
193
711
|
mode?: SearchMode;
|
|
194
712
|
};
|
|
713
|
+
/**
|
|
714
|
+
* Find passages parameters
|
|
715
|
+
*/
|
|
195
716
|
export type FindPassages = Find & {
|
|
717
|
+
/**
|
|
718
|
+
* Weaviate where filter. See https://weaviate.io/developers/weaviate/api/graphql/filters
|
|
719
|
+
*/
|
|
196
720
|
where?: Record<string, unknown>;
|
|
197
721
|
};
|
|
198
722
|
type TypedPassageProperties = {
|
|
723
|
+
/**
|
|
724
|
+
* Content of the default collection passage
|
|
725
|
+
*/
|
|
199
726
|
content: string;
|
|
200
727
|
} | {
|
|
728
|
+
/**
|
|
729
|
+
* question of the QnA collection passage
|
|
730
|
+
*/
|
|
201
731
|
question: string;
|
|
732
|
+
/**
|
|
733
|
+
* answer of the QnA collection passage
|
|
734
|
+
*/
|
|
202
735
|
answer: string;
|
|
203
736
|
} & {
|
|
737
|
+
/**
|
|
738
|
+
* Custom vector for search, in this case embeddingProvider and embeddingModel are ignored
|
|
739
|
+
*/
|
|
204
740
|
vector?: number[];
|
|
205
741
|
};
|
|
742
|
+
/**
|
|
743
|
+
* Passage creation parameters. The properties other than listed are considered custom properties.
|
|
744
|
+
*/
|
|
206
745
|
export type CreatePassage<T extends Record<string, unknown> = Record<string, unknown>> = TypedPassageProperties & {
|
|
746
|
+
/**
|
|
747
|
+
* Document ID
|
|
748
|
+
*/
|
|
207
749
|
documentId: string;
|
|
750
|
+
/**
|
|
751
|
+
* Custom loader metadata. Non filterable property
|
|
752
|
+
*/
|
|
208
753
|
loaderMetadata?: Record<string, unknown>;
|
|
209
754
|
} & T;
|
|
755
|
+
/**
|
|
756
|
+
* Passage represents a passage object.
|
|
757
|
+
*/
|
|
210
758
|
export type Passage<T extends Record<string, unknown> = Record<string, unknown>> = TypedPassageProperties & {
|
|
759
|
+
/**
|
|
760
|
+
* Passage ID
|
|
761
|
+
*/
|
|
211
762
|
id: string;
|
|
763
|
+
/**
|
|
764
|
+
* Creation Date
|
|
765
|
+
*/
|
|
212
766
|
createdAt: string;
|
|
767
|
+
/**
|
|
768
|
+
* Updating Date
|
|
769
|
+
*/
|
|
213
770
|
updatedAt: string;
|
|
214
771
|
} & T;
|
|
772
|
+
/**
|
|
773
|
+
* Update passage parameters
|
|
774
|
+
*/
|
|
215
775
|
export type UpdatePassage<T extends Record<string, unknown> = Record<string, unknown>> = TypedPassageProperties & T;
|
|
776
|
+
/**
|
|
777
|
+
* Represents a deleted passage.
|
|
778
|
+
*/
|
|
216
779
|
export type DeletedPassage = {
|
|
780
|
+
/**
|
|
781
|
+
* The ID of the deleted passage.
|
|
782
|
+
*/
|
|
217
783
|
id: string;
|
|
218
784
|
};
|
|
785
|
+
/**
|
|
786
|
+
* Represents a list if ids of deleted passages.
|
|
787
|
+
*/
|
|
219
788
|
export type RemoveManyPassagesResult = {
|
|
789
|
+
/**
|
|
790
|
+
* The IDs of the deleted passages.
|
|
791
|
+
*/
|
|
220
792
|
removedIds: string[];
|
|
221
793
|
};
|
|
794
|
+
/**
|
|
795
|
+
* Backup parameters
|
|
796
|
+
*/
|
|
222
797
|
export type Backup = {
|
|
798
|
+
/**
|
|
799
|
+
* Prefix in Files the backup files to put into
|
|
800
|
+
* Minimum length: 3, Maximum length: 500
|
|
801
|
+
*/
|
|
223
802
|
prefix: string;
|
|
224
803
|
};
|
|
804
|
+
/**
|
|
805
|
+
* Restore parameters
|
|
806
|
+
*/
|
|
225
807
|
export type Restore = {
|
|
808
|
+
/**
|
|
809
|
+
* Prefix in Files the backup files to put into
|
|
810
|
+
* Minimum length: 3, Maximum length: 500
|
|
811
|
+
*/
|
|
226
812
|
key: string;
|
|
813
|
+
/**
|
|
814
|
+
* Does file has public privacy in files
|
|
815
|
+
*/
|
|
227
816
|
isPublic: boolean;
|
|
228
817
|
};
|
|
818
|
+
/**
|
|
819
|
+
* Result of removing multiple documents
|
|
820
|
+
*/
|
|
229
821
|
export type RemoveManyDocumentsResult = {
|
|
822
|
+
/**
|
|
823
|
+
* IDs of removed documents
|
|
824
|
+
*/
|
|
230
825
|
removedDocumentsIds: string[];
|
|
826
|
+
/**
|
|
827
|
+
* IDs of removed passages
|
|
828
|
+
*/
|
|
231
829
|
removedPassagesIds: string[];
|
|
232
830
|
};
|
|
233
831
|
export type ProvidersList = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACtE,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAA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5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"test:watch": "vitest --watch"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@or-sdk/base": "^0.44.0"
|
|
24
|
+
"@or-sdk/base": "^0.44.1-beta.4095.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"concurrently": "9.0.1",
|
|
@@ -30,6 +30,5 @@
|
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|
|
33
|
-
}
|
|
34
|
-
"gitHead": "f9ac69c126ec4552e93fd88144582db0dc4c2840"
|
|
33
|
+
}
|
|
35
34
|
}
|