@distilled.cloud/typesense 1.0.0-rc.15 → 1.0.0-rc.16
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/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +25 -22
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +12 -12
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +12 -12
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +7 -7
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +17 -20
- package/lib/protocol.js.map +1 -1
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +26 -25
- package/lib/retry.js.map +1 -1
- package/lib/services/typesense.d.ts +7 -342
- package/lib/services/typesense.d.ts.map +1 -1
- package/lib/services/typesense.js +258 -2624
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +8 -8
- package/package.json +15 -11
- package/src/credentials.ts +15 -14
- package/src/errors.ts +9 -13
- package/src/index.ts +1 -1
- package/src/protocol.ts +6 -9
- package/src/retry.ts +6 -4
- package/src/services/typesense.ts +2556 -3163
- package/src/traits.ts +1 -1
- package/lib/services/typesense.js.map +0 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
3
3
|
import { type TypesenseOpError, type TypesenseOpContext } from "../protocol.ts";
|
|
4
4
|
export type { TypesenseOpError, TypesenseOpContext };
|
|
5
|
-
declare const BadRequest_base: S.
|
|
5
|
+
declare const BadRequest_base: S.TaggedErrorClass<"BadRequest", {
|
|
6
6
|
readonly code: any;
|
|
7
7
|
readonly message: any;
|
|
8
|
-
}
|
|
8
|
+
}> & (new (...args: any[]) => {
|
|
9
9
|
"@distilled.cloud/error/categories": {
|
|
10
10
|
BadRequestError: true;
|
|
11
11
|
};
|
|
12
12
|
});
|
|
13
13
|
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
14
14
|
}
|
|
15
|
-
declare const Conflict_base: S.
|
|
15
|
+
declare const Conflict_base: S.TaggedErrorClass<"Conflict", {
|
|
16
16
|
readonly code: any;
|
|
17
17
|
readonly message: any;
|
|
18
|
-
}
|
|
18
|
+
}> & (new (...args: any[]) => {
|
|
19
19
|
"@distilled.cloud/error/categories": {
|
|
20
20
|
ConflictError: true;
|
|
21
21
|
};
|
|
22
22
|
});
|
|
23
23
|
export declare class Conflict extends /*@__PURE__*/ Conflict_base {
|
|
24
24
|
}
|
|
25
|
-
declare const NotFound_base: S.
|
|
25
|
+
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
26
26
|
readonly code: any;
|
|
27
27
|
readonly message: any;
|
|
28
|
-
}
|
|
28
|
+
}> & (new (...args: any[]) => {
|
|
29
29
|
"@distilled.cloud/error/categories": {
|
|
30
30
|
BadRequestError: true;
|
|
31
31
|
};
|
|
@@ -34,16 +34,12 @@ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
|
34
34
|
}
|
|
35
35
|
export interface ClearCacheRequest {
|
|
36
36
|
}
|
|
37
|
-
export declare const ClearCacheRequest: S.Schema<ClearCacheRequest>;
|
|
38
37
|
export interface SuccessStatus {
|
|
39
38
|
success: boolean;
|
|
40
39
|
}
|
|
41
|
-
export declare const SuccessStatus: S.Schema<SuccessStatus>;
|
|
42
40
|
export interface CompactDbRequest {
|
|
43
41
|
}
|
|
44
|
-
export declare const CompactDbRequest: S.Schema<CompactDbRequest>;
|
|
45
42
|
export type CreateAnalyticsEventRequestDataDocIdsList = Array<string>;
|
|
46
|
-
export declare const CreateAnalyticsEventRequestDataDocIdsList: S.Schema<CreateAnalyticsEventRequestDataDocIdsList>;
|
|
47
43
|
/** Event payload */
|
|
48
44
|
export interface CreateAnalyticsEventRequestData {
|
|
49
45
|
user_id?: string;
|
|
@@ -52,7 +48,6 @@ export interface CreateAnalyticsEventRequestData {
|
|
|
52
48
|
q?: string;
|
|
53
49
|
analytics_tag?: string;
|
|
54
50
|
}
|
|
55
|
-
export declare const CreateAnalyticsEventRequestData: S.Schema<CreateAnalyticsEventRequestData>;
|
|
56
51
|
export interface CreateAnalyticsEventRequest {
|
|
57
52
|
/** Name of the analytics rule this event corresponds to */
|
|
58
53
|
name: string;
|
|
@@ -61,15 +56,11 @@ export interface CreateAnalyticsEventRequest {
|
|
|
61
56
|
/** Event payload */
|
|
62
57
|
data: CreateAnalyticsEventRequestData;
|
|
63
58
|
}
|
|
64
|
-
export declare const CreateAnalyticsEventRequest: S.Schema<CreateAnalyticsEventRequest>;
|
|
65
59
|
export interface AnalyticsEventCreateResponse {
|
|
66
60
|
ok: boolean;
|
|
67
61
|
}
|
|
68
|
-
export declare const AnalyticsEventCreateResponse: S.Schema<AnalyticsEventCreateResponse>;
|
|
69
62
|
export type AnalyticsRuleType = "popular_queries" | "nohits_queries" | "counter" | "log";
|
|
70
|
-
export declare const AnalyticsRuleType: any;
|
|
71
63
|
export type AnalyticsRuleCreateParamsMetaFieldsList = Array<string>;
|
|
72
|
-
export declare const AnalyticsRuleCreateParamsMetaFieldsList: S.Schema<AnalyticsRuleCreateParamsMetaFieldsList>;
|
|
73
64
|
export interface AnalyticsRuleCreateParams {
|
|
74
65
|
destination_collection?: string;
|
|
75
66
|
limit?: number;
|
|
@@ -79,7 +70,6 @@ export interface AnalyticsRuleCreateParams {
|
|
|
79
70
|
counter_field?: string;
|
|
80
71
|
weight?: number;
|
|
81
72
|
}
|
|
82
|
-
export declare const AnalyticsRuleCreateParams: S.Schema<AnalyticsRuleCreateParams>;
|
|
83
73
|
export interface AnalyticsRuleCreate {
|
|
84
74
|
name: string;
|
|
85
75
|
type: AnalyticsRuleType | (string & {});
|
|
@@ -88,17 +78,12 @@ export interface AnalyticsRuleCreate {
|
|
|
88
78
|
rule_tag?: string;
|
|
89
79
|
params?: AnalyticsRuleCreateParams;
|
|
90
80
|
}
|
|
91
|
-
export declare const AnalyticsRuleCreate: S.Schema<AnalyticsRuleCreate>;
|
|
92
81
|
export type CreateAnalyticsRuleRequestBodyCase1List = Array<AnalyticsRuleCreate>;
|
|
93
|
-
export declare const CreateAnalyticsRuleRequestBodyCase1List: S.Schema<CreateAnalyticsRuleRequestBodyCase1List>;
|
|
94
82
|
export type CreateAnalyticsRuleRequestBody = AnalyticsRuleCreate | CreateAnalyticsRuleRequestBodyCase1List;
|
|
95
|
-
export declare const CreateAnalyticsRuleRequestBody: any;
|
|
96
83
|
export interface CreateAnalyticsRuleRequest {
|
|
97
84
|
body: CreateAnalyticsRuleRequestBody;
|
|
98
85
|
}
|
|
99
|
-
export declare const CreateAnalyticsRuleRequest: S.Schema<CreateAnalyticsRuleRequest>;
|
|
100
86
|
export type AnalyticsRuleParamsMetaFieldsList = Array<string>;
|
|
101
|
-
export declare const AnalyticsRuleParamsMetaFieldsList: S.Schema<AnalyticsRuleParamsMetaFieldsList>;
|
|
102
87
|
export interface AnalyticsRuleParams {
|
|
103
88
|
destination_collection?: string;
|
|
104
89
|
limit?: number;
|
|
@@ -108,7 +93,6 @@ export interface AnalyticsRuleParams {
|
|
|
108
93
|
counter_field?: string;
|
|
109
94
|
weight?: number;
|
|
110
95
|
}
|
|
111
|
-
export declare const AnalyticsRuleParams: S.Schema<AnalyticsRuleParams>;
|
|
112
96
|
export interface AnalyticsRule {
|
|
113
97
|
name: string;
|
|
114
98
|
type: AnalyticsRuleType;
|
|
@@ -117,27 +101,18 @@ export interface AnalyticsRule {
|
|
|
117
101
|
rule_tag?: string;
|
|
118
102
|
params?: AnalyticsRuleParams;
|
|
119
103
|
}
|
|
120
|
-
export declare const AnalyticsRule: S.Schema<AnalyticsRule>;
|
|
121
104
|
export interface CreateAnalyticsRuleResponseBodyCase1ItemCase1 {
|
|
122
105
|
error?: string;
|
|
123
106
|
}
|
|
124
|
-
export declare const CreateAnalyticsRuleResponseBodyCase1ItemCase1: S.Schema<CreateAnalyticsRuleResponseBodyCase1ItemCase1>;
|
|
125
107
|
export type CreateAnalyticsRuleResponseBodyCase1Item = AnalyticsRule | CreateAnalyticsRuleResponseBodyCase1ItemCase1;
|
|
126
|
-
export declare const CreateAnalyticsRuleResponseBodyCase1Item: any;
|
|
127
108
|
export type CreateAnalyticsRuleResponseBodyCase1List = Array<CreateAnalyticsRuleResponseBodyCase1Item>;
|
|
128
|
-
export declare const CreateAnalyticsRuleResponseBodyCase1List: S.Schema<CreateAnalyticsRuleResponseBodyCase1List>;
|
|
129
109
|
export type CreateAnalyticsRuleResponseBody = AnalyticsRule | CreateAnalyticsRuleResponseBodyCase1List;
|
|
130
|
-
export declare const CreateAnalyticsRuleResponseBody: any;
|
|
131
110
|
export type CreateAnalyticsRuleResponse = CreateAnalyticsRuleResponseBody;
|
|
132
|
-
export declare const CreateAnalyticsRuleResponse: S.Schema<CreateAnalyticsRuleResponse>;
|
|
133
111
|
/** List of symbols or special characters to be used for splitting the text into individual words in addition to space and new-line characters. */
|
|
134
112
|
export type FieldTokenSeparatorsList = Array<string>;
|
|
135
|
-
export declare const FieldTokenSeparatorsList: S.Schema<FieldTokenSeparatorsList>;
|
|
136
113
|
/** List of symbols or special characters to be indexed. */
|
|
137
114
|
export type FieldSymbolsToIndexList = Array<string>;
|
|
138
|
-
export declare const FieldSymbolsToIndexList: S.Schema<FieldSymbolsToIndexList>;
|
|
139
115
|
export type FieldEmbedFromList = Array<string>;
|
|
140
|
-
export declare const FieldEmbedFromList: S.Schema<FieldEmbedFromList>;
|
|
141
116
|
export interface FieldEmbedModelConfig {
|
|
142
117
|
model_name: string;
|
|
143
118
|
api_key?: string | import("effect/Redacted").Redacted<string>;
|
|
@@ -150,12 +125,10 @@ export interface FieldEmbedModelConfig {
|
|
|
150
125
|
indexing_prefix?: string;
|
|
151
126
|
query_prefix?: string;
|
|
152
127
|
}
|
|
153
|
-
export declare const FieldEmbedModelConfig: S.Schema<FieldEmbedModelConfig>;
|
|
154
128
|
export interface FieldEmbed {
|
|
155
129
|
from: FieldEmbedFromList;
|
|
156
130
|
model_config: FieldEmbedModelConfig;
|
|
157
131
|
}
|
|
158
|
-
export declare const FieldEmbed: S.Schema<FieldEmbed>;
|
|
159
132
|
export interface Field {
|
|
160
133
|
name: string;
|
|
161
134
|
type: string;
|
|
@@ -187,24 +160,18 @@ export interface Field {
|
|
|
187
160
|
symbols_to_index?: FieldSymbolsToIndexList;
|
|
188
161
|
embed?: FieldEmbed;
|
|
189
162
|
}
|
|
190
|
-
export declare const Field: S.Schema<Field>;
|
|
191
163
|
/** A list of fields for querying, filtering and faceting */
|
|
192
164
|
export type CreateCollectionRequestFieldsList = Array<Field>;
|
|
193
|
-
export declare const CreateCollectionRequestFieldsList: S.Schema<CreateCollectionRequestFieldsList>;
|
|
194
165
|
/** List of symbols or special characters to be used for splitting the text into individual words in addition to space and new-line characters. */
|
|
195
166
|
export type CreateCollectionRequestTokenSeparatorsList = Array<string>;
|
|
196
|
-
export declare const CreateCollectionRequestTokenSeparatorsList: S.Schema<CreateCollectionRequestTokenSeparatorsList>;
|
|
197
167
|
/** List of synonym set names to associate with this collection */
|
|
198
168
|
export type CreateCollectionRequestSynonymSetsList = Array<string>;
|
|
199
|
-
export declare const CreateCollectionRequestSynonymSetsList: S.Schema<CreateCollectionRequestSynonymSetsList>;
|
|
200
169
|
/** List of symbols or special characters to be indexed. */
|
|
201
170
|
export type CreateCollectionRequestSymbolsToIndexList = Array<string>;
|
|
202
|
-
export declare const CreateCollectionRequestSymbolsToIndexList: S.Schema<CreateCollectionRequestSymbolsToIndexList>;
|
|
203
171
|
/** Configuration for the voice query model */
|
|
204
172
|
export interface VoiceQueryModelCollectionConfig {
|
|
205
173
|
model_name?: string;
|
|
206
174
|
}
|
|
207
|
-
export declare const VoiceQueryModelCollectionConfig: S.Schema<VoiceQueryModelCollectionConfig>;
|
|
208
175
|
export interface CreateCollectionRequest {
|
|
209
176
|
/** Name of the collection */
|
|
210
177
|
name: string;
|
|
@@ -224,19 +191,14 @@ export interface CreateCollectionRequest {
|
|
|
224
191
|
/** Optional details about the collection, e.g., when it was created, who created it etc. */
|
|
225
192
|
metadata?: unknown;
|
|
226
193
|
}
|
|
227
|
-
export declare const CreateCollectionRequest: S.Schema<CreateCollectionRequest>;
|
|
228
194
|
/** A list of fields for querying, filtering and faceting */
|
|
229
195
|
export type CreateCollectionResponseFieldsList = Array<Field>;
|
|
230
|
-
export declare const CreateCollectionResponseFieldsList: S.Schema<CreateCollectionResponseFieldsList>;
|
|
231
196
|
/** List of symbols or special characters to be used for splitting the text into individual words in addition to space and new-line characters. */
|
|
232
197
|
export type CreateCollectionResponseTokenSeparatorsList = Array<string>;
|
|
233
|
-
export declare const CreateCollectionResponseTokenSeparatorsList: S.Schema<CreateCollectionResponseTokenSeparatorsList>;
|
|
234
198
|
/** List of synonym set names to associate with this collection */
|
|
235
199
|
export type CreateCollectionResponseSynonymSetsList = Array<string>;
|
|
236
|
-
export declare const CreateCollectionResponseSynonymSetsList: S.Schema<CreateCollectionResponseSynonymSetsList>;
|
|
237
200
|
/** List of symbols or special characters to be indexed. */
|
|
238
201
|
export type CreateCollectionResponseSymbolsToIndexList = Array<string>;
|
|
239
|
-
export declare const CreateCollectionResponseSymbolsToIndexList: S.Schema<CreateCollectionResponseSymbolsToIndexList>;
|
|
240
202
|
export interface CreateCollectionResponse {
|
|
241
203
|
/** Name of the collection */
|
|
242
204
|
name: string;
|
|
@@ -260,7 +222,6 @@ export interface CreateCollectionResponse {
|
|
|
260
222
|
/** Timestamp of when the collection was created (Unix epoch in seconds) */
|
|
261
223
|
created_at: number;
|
|
262
224
|
}
|
|
263
|
-
export declare const CreateCollectionResponse: S.Schema<CreateCollectionResponse>;
|
|
264
225
|
export interface CreateConversationModelRequest {
|
|
265
226
|
/** An explicit id for the model, otherwise the API will return a response with an auto-generated conversation model id. */
|
|
266
227
|
id?: string;
|
|
@@ -281,7 +242,6 @@ export interface CreateConversationModelRequest {
|
|
|
281
242
|
/** URL of vLLM service */
|
|
282
243
|
vllm_url?: string;
|
|
283
244
|
}
|
|
284
|
-
export declare const CreateConversationModelRequest: S.Schema<CreateConversationModelRequest>;
|
|
285
245
|
export interface CreateConversationModelResponse {
|
|
286
246
|
/** An explicit id for the model, otherwise the API will return a response with an auto-generated conversation model id. */
|
|
287
247
|
id: string;
|
|
@@ -302,11 +262,8 @@ export interface CreateConversationModelResponse {
|
|
|
302
262
|
/** URL of vLLM service */
|
|
303
263
|
vllm_url?: string;
|
|
304
264
|
}
|
|
305
|
-
export declare const CreateConversationModelResponse: S.Schema<CreateConversationModelResponse>;
|
|
306
265
|
export type CreateKeyRequestActionsList = Array<string>;
|
|
307
|
-
export declare const CreateKeyRequestActionsList: S.Schema<CreateKeyRequestActionsList>;
|
|
308
266
|
export type CreateKeyRequestCollectionsList = Array<string>;
|
|
309
|
-
export declare const CreateKeyRequestCollectionsList: S.Schema<CreateKeyRequestCollectionsList>;
|
|
310
267
|
export interface CreateKeyRequest {
|
|
311
268
|
value?: string;
|
|
312
269
|
description: string;
|
|
@@ -314,11 +271,8 @@ export interface CreateKeyRequest {
|
|
|
314
271
|
collections: CreateKeyRequestCollectionsList;
|
|
315
272
|
expires_at?: number;
|
|
316
273
|
}
|
|
317
|
-
export declare const CreateKeyRequest: S.Schema<CreateKeyRequest>;
|
|
318
274
|
export type CreateKeyResponseActionsList = Array<string>;
|
|
319
|
-
export declare const CreateKeyResponseActionsList: S.Schema<CreateKeyResponseActionsList>;
|
|
320
275
|
export type CreateKeyResponseCollectionsList = Array<string>;
|
|
321
|
-
export declare const CreateKeyResponseCollectionsList: S.Schema<CreateKeyResponseCollectionsList>;
|
|
322
276
|
export interface CreateKeyResponse {
|
|
323
277
|
value?: string;
|
|
324
278
|
description: string;
|
|
@@ -328,10 +282,8 @@ export interface CreateKeyResponse {
|
|
|
328
282
|
id?: number;
|
|
329
283
|
value_prefix?: string;
|
|
330
284
|
}
|
|
331
|
-
export declare const CreateKeyResponse: S.Schema<CreateKeyResponse>;
|
|
332
285
|
/** Stop sequences for the NL model (Google-specific) */
|
|
333
286
|
export type CreateNLSearchModelRequestStopSequencesList = Array<string>;
|
|
334
|
-
export declare const CreateNLSearchModelRequestStopSequencesList: S.Schema<CreateNLSearchModelRequestStopSequencesList>;
|
|
335
287
|
export interface CreateNLSearchModelRequest {
|
|
336
288
|
/** Name of the NL model to use */
|
|
337
289
|
model_name?: string;
|
|
@@ -372,10 +324,8 @@ export interface CreateNLSearchModelRequest {
|
|
|
372
324
|
/** Optional ID for the NL search model */
|
|
373
325
|
id?: string;
|
|
374
326
|
}
|
|
375
|
-
export declare const CreateNLSearchModelRequest: S.Schema<CreateNLSearchModelRequest>;
|
|
376
327
|
/** Stop sequences for the NL model (Google-specific) */
|
|
377
328
|
export type CreateNLSearchModelResponseStopSequencesList = Array<string>;
|
|
378
|
-
export declare const CreateNLSearchModelResponseStopSequencesList: S.Schema<CreateNLSearchModelResponseStopSequencesList>;
|
|
379
329
|
export interface CreateNLSearchModelResponse {
|
|
380
330
|
/** Name of the NL model to use */
|
|
381
331
|
model_name?: string;
|
|
@@ -416,33 +366,26 @@ export interface CreateNLSearchModelResponse {
|
|
|
416
366
|
/** Optional ID for the NL search model */
|
|
417
367
|
id: string;
|
|
418
368
|
}
|
|
419
|
-
export declare const CreateNLSearchModelResponse: S.Schema<CreateNLSearchModelResponse>;
|
|
420
369
|
export interface DebugRequest {
|
|
421
370
|
}
|
|
422
|
-
export declare const DebugRequest: S.Schema<DebugRequest>;
|
|
423
371
|
export interface DebugResponse {
|
|
424
372
|
version?: string;
|
|
425
373
|
}
|
|
426
|
-
export declare const DebugResponse: S.Schema<DebugResponse>;
|
|
427
374
|
export interface DeleteAliasRequest {
|
|
428
375
|
/** The name of the alias to delete */
|
|
429
376
|
aliasName: string;
|
|
430
377
|
}
|
|
431
|
-
export declare const DeleteAliasRequest: S.Schema<DeleteAliasRequest>;
|
|
432
378
|
export interface CollectionAlias {
|
|
433
379
|
/** Name of the collection alias */
|
|
434
380
|
name: string;
|
|
435
381
|
/** Name of the collection the alias mapped to */
|
|
436
382
|
collection_name: string;
|
|
437
383
|
}
|
|
438
|
-
export declare const CollectionAlias: S.Schema<CollectionAlias>;
|
|
439
384
|
export interface DeleteAnalyticsRuleRequest {
|
|
440
385
|
/** The name of the analytics rule to delete */
|
|
441
386
|
ruleName: string;
|
|
442
387
|
}
|
|
443
|
-
export declare const DeleteAnalyticsRuleRequest: S.Schema<DeleteAnalyticsRuleRequest>;
|
|
444
388
|
export type DeleteAnalyticsRuleResponseParamsMetaFieldsList = Array<string>;
|
|
445
|
-
export declare const DeleteAnalyticsRuleResponseParamsMetaFieldsList: S.Schema<DeleteAnalyticsRuleResponseParamsMetaFieldsList>;
|
|
446
389
|
export interface DeleteAnalyticsRuleResponseParams {
|
|
447
390
|
destination_collection?: string;
|
|
448
391
|
limit?: number;
|
|
@@ -452,7 +395,6 @@ export interface DeleteAnalyticsRuleResponseParams {
|
|
|
452
395
|
counter_field?: string;
|
|
453
396
|
weight?: number;
|
|
454
397
|
}
|
|
455
|
-
export declare const DeleteAnalyticsRuleResponseParams: S.Schema<DeleteAnalyticsRuleResponseParams>;
|
|
456
398
|
export interface DeleteAnalyticsRuleResponse {
|
|
457
399
|
name: string;
|
|
458
400
|
type: AnalyticsRuleType;
|
|
@@ -461,24 +403,18 @@ export interface DeleteAnalyticsRuleResponse {
|
|
|
461
403
|
rule_tag?: string;
|
|
462
404
|
params?: DeleteAnalyticsRuleResponseParams;
|
|
463
405
|
}
|
|
464
|
-
export declare const DeleteAnalyticsRuleResponse: S.Schema<DeleteAnalyticsRuleResponse>;
|
|
465
406
|
export interface DeleteCollectionRequest {
|
|
466
407
|
/** The name of the collection to delete */
|
|
467
408
|
collectionName: string;
|
|
468
409
|
}
|
|
469
|
-
export declare const DeleteCollectionRequest: S.Schema<DeleteCollectionRequest>;
|
|
470
410
|
/** A list of fields for querying, filtering and faceting */
|
|
471
411
|
export type DeleteCollectionResponseFieldsList = Array<Field>;
|
|
472
|
-
export declare const DeleteCollectionResponseFieldsList: S.Schema<DeleteCollectionResponseFieldsList>;
|
|
473
412
|
/** List of symbols or special characters to be used for splitting the text into individual words in addition to space and new-line characters. */
|
|
474
413
|
export type DeleteCollectionResponseTokenSeparatorsList = Array<string>;
|
|
475
|
-
export declare const DeleteCollectionResponseTokenSeparatorsList: S.Schema<DeleteCollectionResponseTokenSeparatorsList>;
|
|
476
414
|
/** List of synonym set names to associate with this collection */
|
|
477
415
|
export type DeleteCollectionResponseSynonymSetsList = Array<string>;
|
|
478
|
-
export declare const DeleteCollectionResponseSynonymSetsList: S.Schema<DeleteCollectionResponseSynonymSetsList>;
|
|
479
416
|
/** List of symbols or special characters to be indexed. */
|
|
480
417
|
export type DeleteCollectionResponseSymbolsToIndexList = Array<string>;
|
|
481
|
-
export declare const DeleteCollectionResponseSymbolsToIndexList: S.Schema<DeleteCollectionResponseSymbolsToIndexList>;
|
|
482
418
|
export interface DeleteCollectionResponse {
|
|
483
419
|
/** Name of the collection */
|
|
484
420
|
name: string;
|
|
@@ -502,12 +438,10 @@ export interface DeleteCollectionResponse {
|
|
|
502
438
|
/** Timestamp of when the collection was created (Unix epoch in seconds) */
|
|
503
439
|
created_at: number;
|
|
504
440
|
}
|
|
505
|
-
export declare const DeleteCollectionResponse: S.Schema<DeleteCollectionResponse>;
|
|
506
441
|
export interface DeleteConversationModelRequest {
|
|
507
442
|
/** The id of the conversation model to delete */
|
|
508
443
|
modelId: string;
|
|
509
444
|
}
|
|
510
|
-
export declare const DeleteConversationModelRequest: S.Schema<DeleteConversationModelRequest>;
|
|
511
445
|
export interface DeleteConversationModelResponse {
|
|
512
446
|
/** An explicit id for the model, otherwise the API will return a response with an auto-generated conversation model id. */
|
|
513
447
|
id: string;
|
|
@@ -528,38 +462,31 @@ export interface DeleteConversationModelResponse {
|
|
|
528
462
|
/** URL of vLLM service */
|
|
529
463
|
vllm_url?: string;
|
|
530
464
|
}
|
|
531
|
-
export declare const DeleteConversationModelResponse: S.Schema<DeleteConversationModelResponse>;
|
|
532
465
|
export interface DeleteCurationSetRequest {
|
|
533
466
|
/** The name of the curation set to delete */
|
|
534
467
|
curationSetName: string;
|
|
535
468
|
}
|
|
536
|
-
export declare const DeleteCurationSetRequest: S.Schema<DeleteCurationSetRequest>;
|
|
537
469
|
export interface CurationSetDeleteSchema {
|
|
538
470
|
/** Name of the deleted curation set */
|
|
539
471
|
name: string;
|
|
540
472
|
}
|
|
541
|
-
export declare const CurationSetDeleteSchema: S.Schema<CurationSetDeleteSchema>;
|
|
542
473
|
export interface DeleteCurationSetItemRequest {
|
|
543
474
|
/** The name of the curation set */
|
|
544
475
|
curationSetName: string;
|
|
545
476
|
/** The id of the curation item to delete */
|
|
546
477
|
itemId: string;
|
|
547
478
|
}
|
|
548
|
-
export declare const DeleteCurationSetItemRequest: S.Schema<DeleteCurationSetItemRequest>;
|
|
549
479
|
export interface CurationItemDeleteSchema {
|
|
550
480
|
/** ID of the deleted curation item */
|
|
551
481
|
id: string;
|
|
552
482
|
}
|
|
553
|
-
export declare const CurationItemDeleteSchema: S.Schema<CurationItemDeleteSchema>;
|
|
554
483
|
export interface DeleteDocumentRequest {
|
|
555
484
|
/** The name of the collection to search for the document under */
|
|
556
485
|
collectionName: string;
|
|
557
486
|
/** The Document ID */
|
|
558
487
|
documentId: string;
|
|
559
488
|
}
|
|
560
|
-
export declare const DeleteDocumentRequest: S.Schema<DeleteDocumentRequest>;
|
|
561
489
|
export type DeleteDocumentResponse = unknown;
|
|
562
|
-
export declare const DeleteDocumentResponse: S.Schema<DeleteDocumentResponse>;
|
|
563
490
|
export interface DeleteDocumentsRequestDeleteDocumentsParameters {
|
|
564
491
|
filter_by: string;
|
|
565
492
|
/** Batch size parameter controls the number of documents that should be deleted at a time. A larger value will speed up deletions, but will impact performance of other operations running on the server. */
|
|
@@ -568,77 +495,62 @@ export interface DeleteDocumentsRequestDeleteDocumentsParameters {
|
|
|
568
495
|
/** When true, removes all documents from the collection while preserving the collection and its schema. */
|
|
569
496
|
truncate?: boolean;
|
|
570
497
|
}
|
|
571
|
-
export declare const DeleteDocumentsRequestDeleteDocumentsParameters: S.Schema<DeleteDocumentsRequestDeleteDocumentsParameters>;
|
|
572
498
|
export interface DeleteDocumentsRequest {
|
|
573
499
|
/** The name of the collection to delete documents from */
|
|
574
500
|
collectionName: string;
|
|
575
501
|
deleteDocumentsParameters?: DeleteDocumentsRequestDeleteDocumentsParameters;
|
|
576
502
|
}
|
|
577
|
-
export declare const DeleteDocumentsRequest: S.Schema<DeleteDocumentsRequest>;
|
|
578
503
|
export interface DeleteDocumentsResponse {
|
|
579
504
|
num_deleted: number;
|
|
580
505
|
}
|
|
581
|
-
export declare const DeleteDocumentsResponse: S.Schema<DeleteDocumentsResponse>;
|
|
582
506
|
export interface DeleteKeyRequest {
|
|
583
507
|
/** The ID of the key to delete */
|
|
584
508
|
keyId: number;
|
|
585
509
|
}
|
|
586
|
-
export declare const DeleteKeyRequest: S.Schema<DeleteKeyRequest>;
|
|
587
510
|
export interface ApiKeyDeleteResponse {
|
|
588
511
|
/** The id of the API key that was deleted */
|
|
589
512
|
id: number;
|
|
590
513
|
}
|
|
591
|
-
export declare const ApiKeyDeleteResponse: S.Schema<ApiKeyDeleteResponse>;
|
|
592
514
|
export interface DeleteNLSearchModelRequest {
|
|
593
515
|
/** The ID of the NL search model to delete */
|
|
594
516
|
modelId: string;
|
|
595
517
|
}
|
|
596
|
-
export declare const DeleteNLSearchModelRequest: S.Schema<DeleteNLSearchModelRequest>;
|
|
597
518
|
export interface NLSearchModelDeleteSchema {
|
|
598
519
|
/** ID of the deleted NL search model */
|
|
599
520
|
id: string;
|
|
600
521
|
}
|
|
601
|
-
export declare const NLSearchModelDeleteSchema: S.Schema<NLSearchModelDeleteSchema>;
|
|
602
522
|
export interface DeletePresetRequest {
|
|
603
523
|
/** The ID of the preset to delete. */
|
|
604
524
|
presetId: string;
|
|
605
525
|
}
|
|
606
|
-
export declare const DeletePresetRequest: S.Schema<DeletePresetRequest>;
|
|
607
526
|
export interface PresetDeleteSchema {
|
|
608
527
|
name: string;
|
|
609
528
|
}
|
|
610
|
-
export declare const PresetDeleteSchema: S.Schema<PresetDeleteSchema>;
|
|
611
529
|
export interface DeleteStopwordsSetRequest {
|
|
612
530
|
/** The ID of the stopwords set to delete. */
|
|
613
531
|
setId: string;
|
|
614
532
|
}
|
|
615
|
-
export declare const DeleteStopwordsSetRequest: S.Schema<DeleteStopwordsSetRequest>;
|
|
616
533
|
export interface DeleteStopwordsSetResponse {
|
|
617
534
|
id: string;
|
|
618
535
|
}
|
|
619
|
-
export declare const DeleteStopwordsSetResponse: S.Schema<DeleteStopwordsSetResponse>;
|
|
620
536
|
export interface DeleteSynonymSetRequest {
|
|
621
537
|
/** The name of the synonym set to delete */
|
|
622
538
|
synonymSetName: string;
|
|
623
539
|
}
|
|
624
|
-
export declare const DeleteSynonymSetRequest: S.Schema<DeleteSynonymSetRequest>;
|
|
625
540
|
export interface SynonymSetDeleteSchema {
|
|
626
541
|
/** Name of the deleted synonym set */
|
|
627
542
|
name: string;
|
|
628
543
|
}
|
|
629
|
-
export declare const SynonymSetDeleteSchema: S.Schema<SynonymSetDeleteSchema>;
|
|
630
544
|
export interface DeleteSynonymSetItemRequest {
|
|
631
545
|
/** The name of the synonym set */
|
|
632
546
|
synonymSetName: string;
|
|
633
547
|
/** The id of the synonym item to delete */
|
|
634
548
|
itemId: string;
|
|
635
549
|
}
|
|
636
|
-
export declare const DeleteSynonymSetItemRequest: S.Schema<DeleteSynonymSetItemRequest>;
|
|
637
550
|
export interface SynonymItemDeleteSchema {
|
|
638
551
|
/** ID of the deleted synonym item */
|
|
639
552
|
id: string;
|
|
640
553
|
}
|
|
641
|
-
export declare const SynonymItemDeleteSchema: S.Schema<SynonymItemDeleteSchema>;
|
|
642
554
|
export interface ExportDocumentsRequestExportDocumentsParameters {
|
|
643
555
|
/** Filter conditions for refining your search results. Separate multiple conditions with &&. */
|
|
644
556
|
filter_by?: string;
|
|
@@ -647,36 +559,27 @@ export interface ExportDocumentsRequestExportDocumentsParameters {
|
|
|
647
559
|
/** List of fields from the document to exclude in the search result */
|
|
648
560
|
exclude_fields?: string;
|
|
649
561
|
}
|
|
650
|
-
export declare const ExportDocumentsRequestExportDocumentsParameters: S.Schema<ExportDocumentsRequestExportDocumentsParameters>;
|
|
651
562
|
export interface ExportDocumentsRequest {
|
|
652
563
|
/** The name of the collection */
|
|
653
564
|
collectionName: string;
|
|
654
565
|
exportDocumentsParameters?: ExportDocumentsRequestExportDocumentsParameters;
|
|
655
566
|
}
|
|
656
|
-
export declare const ExportDocumentsRequest: S.Schema<ExportDocumentsRequest>;
|
|
657
567
|
export interface ExportDocumentsResponse {
|
|
658
568
|
}
|
|
659
|
-
export declare const ExportDocumentsResponse: S.Schema<ExportDocumentsResponse>;
|
|
660
569
|
export interface FlushAnalyticsRequest {
|
|
661
570
|
}
|
|
662
|
-
export declare const FlushAnalyticsRequest: S.Schema<FlushAnalyticsRequest>;
|
|
663
571
|
export interface GetAliasRequest {
|
|
664
572
|
/** The name of the alias to retrieve */
|
|
665
573
|
aliasName: string;
|
|
666
574
|
}
|
|
667
|
-
export declare const GetAliasRequest: S.Schema<GetAliasRequest>;
|
|
668
575
|
export interface GetAliasesRequest {
|
|
669
576
|
}
|
|
670
|
-
export declare const GetAliasesRequest: S.Schema<GetAliasesRequest>;
|
|
671
577
|
export type CollectionAliasesResponseAliasesList = Array<CollectionAlias>;
|
|
672
|
-
export declare const CollectionAliasesResponseAliasesList: S.Schema<CollectionAliasesResponseAliasesList>;
|
|
673
578
|
export interface CollectionAliasesResponse {
|
|
674
579
|
aliases: CollectionAliasesResponseAliasesList;
|
|
675
580
|
}
|
|
676
|
-
export declare const CollectionAliasesResponse: S.Schema<CollectionAliasesResponse>;
|
|
677
581
|
export interface GetAllConversationModelsRequest {
|
|
678
582
|
}
|
|
679
|
-
export declare const GetAllConversationModelsRequest: S.Schema<GetAllConversationModelsRequest>;
|
|
680
583
|
export interface ConversationModelSchema {
|
|
681
584
|
/** An explicit id for the model, otherwise the API will return a response with an auto-generated conversation model id. */
|
|
682
585
|
id: string;
|
|
@@ -697,17 +600,12 @@ export interface ConversationModelSchema {
|
|
|
697
600
|
/** URL of vLLM service */
|
|
698
601
|
vllm_url?: string;
|
|
699
602
|
}
|
|
700
|
-
export declare const ConversationModelSchema: S.Schema<ConversationModelSchema>;
|
|
701
603
|
export type GetAllConversationModelsResponseBodyList = Array<ConversationModelSchema>;
|
|
702
|
-
export declare const GetAllConversationModelsResponseBodyList: S.Schema<GetAllConversationModelsResponseBodyList>;
|
|
703
604
|
export type GetAllConversationModelsResponse = GetAllConversationModelsResponseBodyList;
|
|
704
|
-
export declare const GetAllConversationModelsResponse: S.Schema<GetAllConversationModelsResponse>;
|
|
705
605
|
export interface GetAllNLSearchModelsRequest {
|
|
706
606
|
}
|
|
707
|
-
export declare const GetAllNLSearchModelsRequest: S.Schema<GetAllNLSearchModelsRequest>;
|
|
708
607
|
/** Stop sequences for the NL model (Google-specific) */
|
|
709
608
|
export type NLSearchModelSchemaStopSequencesList = Array<string>;
|
|
710
|
-
export declare const NLSearchModelSchemaStopSequencesList: S.Schema<NLSearchModelSchemaStopSequencesList>;
|
|
711
609
|
export interface NLSearchModelSchema {
|
|
712
610
|
/** Name of the NL model to use */
|
|
713
611
|
model_name?: string;
|
|
@@ -748,17 +646,12 @@ export interface NLSearchModelSchema {
|
|
|
748
646
|
/** Optional ID for the NL search model */
|
|
749
647
|
id: string;
|
|
750
648
|
}
|
|
751
|
-
export declare const NLSearchModelSchema: S.Schema<NLSearchModelSchema>;
|
|
752
649
|
export type GetAllNLSearchModelsResponseBodyList = Array<NLSearchModelSchema>;
|
|
753
|
-
export declare const GetAllNLSearchModelsResponseBodyList: S.Schema<GetAllNLSearchModelsResponseBodyList>;
|
|
754
650
|
export type GetAllNLSearchModelsResponse = GetAllNLSearchModelsResponseBodyList;
|
|
755
|
-
export declare const GetAllNLSearchModelsResponse: S.Schema<GetAllNLSearchModelsResponse>;
|
|
756
651
|
export interface GetAllPresetsRequest {
|
|
757
652
|
}
|
|
758
|
-
export declare const GetAllPresetsRequest: S.Schema<GetAllPresetsRequest>;
|
|
759
653
|
/** Dictates the direction in which the words in the query must be dropped when the original words in the query do not appear in any document. Values: right_to_left (default), left_to_right, both_sides:3 A note on both_sides:3 - for queries up to 3 tokens (words) in length, this mode will drop tokens from both sides and exhaustively rank all matching results. If query length is greater than 3 words, Typesense will just fallback to default behavior of right_to_left */
|
|
760
654
|
export type DropTokensMode = "right_to_left" | "left_to_right" | "both_sides:3";
|
|
761
|
-
export declare const DropTokensMode: any;
|
|
762
655
|
export interface SearchParameters {
|
|
763
656
|
/** The query text to search for in the collection. Use * as the search string to return all documents. This is typically useful when used in conjunction with filter_by. */
|
|
764
657
|
q?: string;
|
|
@@ -922,7 +815,6 @@ export interface SearchParameters {
|
|
|
922
815
|
/** The Id of a previous conversation to continue, this tells Typesense to include prior context when communicating with the LLM. */
|
|
923
816
|
conversation_id?: string;
|
|
924
817
|
}
|
|
925
|
-
export declare const SearchParameters: S.Schema<SearchParameters>;
|
|
926
818
|
export interface MultiSearchCollectionParameters {
|
|
927
819
|
/** The query text to search for in the collection. Use * as the search string to return all documents. This is typically useful when used in conjunction with filter_by. */
|
|
928
820
|
q?: string;
|
|
@@ -1078,28 +970,21 @@ export interface MultiSearchCollectionParameters {
|
|
|
1078
970
|
/** A separate search API key for each search within a multi_search request */
|
|
1079
971
|
x_typesense_api_key?: string;
|
|
1080
972
|
}
|
|
1081
|
-
export declare const MultiSearchCollectionParameters: S.Schema<MultiSearchCollectionParameters>;
|
|
1082
973
|
export type MultiSearchSearchesParameterSearchesList = Array<MultiSearchCollectionParameters>;
|
|
1083
|
-
export declare const MultiSearchSearchesParameterSearchesList: S.Schema<MultiSearchSearchesParameterSearchesList>;
|
|
1084
974
|
export interface MultiSearchSearchesParameter {
|
|
1085
975
|
/** When true, merges the search results from each search query into a single ordered set of hits. */
|
|
1086
976
|
union?: boolean;
|
|
1087
977
|
searches: MultiSearchSearchesParameterSearchesList;
|
|
1088
978
|
}
|
|
1089
|
-
export declare const MultiSearchSearchesParameter: S.Schema<MultiSearchSearchesParameter>;
|
|
1090
979
|
export type PresetSchemaValue = SearchParameters | MultiSearchSearchesParameter;
|
|
1091
|
-
export declare const PresetSchemaValue: any;
|
|
1092
980
|
export interface PresetSchema {
|
|
1093
981
|
value: PresetSchemaValue;
|
|
1094
982
|
name: string;
|
|
1095
983
|
}
|
|
1096
|
-
export declare const PresetSchema: S.Schema<PresetSchema>;
|
|
1097
984
|
export type PresetsRetrieveSchemaPresetsList = Array<PresetSchema>;
|
|
1098
|
-
export declare const PresetsRetrieveSchemaPresetsList: S.Schema<PresetsRetrieveSchemaPresetsList>;
|
|
1099
985
|
export interface PresetsRetrieveSchema {
|
|
1100
986
|
presets: PresetsRetrieveSchemaPresetsList;
|
|
1101
987
|
}
|
|
1102
|
-
export declare const PresetsRetrieveSchema: S.Schema<PresetsRetrieveSchema>;
|
|
1103
988
|
export interface GetAnalyticsEventsRequest {
|
|
1104
989
|
user_id: string;
|
|
1105
990
|
/** Analytics rule name */
|
|
@@ -1107,9 +992,7 @@ export interface GetAnalyticsEventsRequest {
|
|
|
1107
992
|
/** Number of events to return (max 1000) */
|
|
1108
993
|
n: number;
|
|
1109
994
|
}
|
|
1110
|
-
export declare const GetAnalyticsEventsRequest: S.Schema<GetAnalyticsEventsRequest>;
|
|
1111
995
|
export type AnalyticsEventsResponseEventsItemDocIdsList = Array<string>;
|
|
1112
|
-
export declare const AnalyticsEventsResponseEventsItemDocIdsList: S.Schema<AnalyticsEventsResponseEventsItemDocIdsList>;
|
|
1113
996
|
export interface AnalyticsEventsResponseEventsItem {
|
|
1114
997
|
name?: string;
|
|
1115
998
|
event_type?: string;
|
|
@@ -1120,20 +1003,15 @@ export interface AnalyticsEventsResponseEventsItem {
|
|
|
1120
1003
|
doc_ids?: AnalyticsEventsResponseEventsItemDocIdsList;
|
|
1121
1004
|
query?: string;
|
|
1122
1005
|
}
|
|
1123
|
-
export declare const AnalyticsEventsResponseEventsItem: S.Schema<AnalyticsEventsResponseEventsItem>;
|
|
1124
1006
|
export type AnalyticsEventsResponseEventsList = Array<AnalyticsEventsResponseEventsItem>;
|
|
1125
|
-
export declare const AnalyticsEventsResponseEventsList: S.Schema<AnalyticsEventsResponseEventsList>;
|
|
1126
1007
|
export interface AnalyticsEventsResponse {
|
|
1127
1008
|
events: AnalyticsEventsResponseEventsList;
|
|
1128
1009
|
}
|
|
1129
|
-
export declare const AnalyticsEventsResponse: S.Schema<AnalyticsEventsResponse>;
|
|
1130
1010
|
export interface GetAnalyticsRuleRequest {
|
|
1131
1011
|
/** The name of the analytics rule to retrieve */
|
|
1132
1012
|
ruleName: string;
|
|
1133
1013
|
}
|
|
1134
|
-
export declare const GetAnalyticsRuleRequest: S.Schema<GetAnalyticsRuleRequest>;
|
|
1135
1014
|
export type GetAnalyticsRuleResponseParamsMetaFieldsList = Array<string>;
|
|
1136
|
-
export declare const GetAnalyticsRuleResponseParamsMetaFieldsList: S.Schema<GetAnalyticsRuleResponseParamsMetaFieldsList>;
|
|
1137
1015
|
export interface GetAnalyticsRuleResponseParams {
|
|
1138
1016
|
destination_collection?: string;
|
|
1139
1017
|
limit?: number;
|
|
@@ -1143,7 +1021,6 @@ export interface GetAnalyticsRuleResponseParams {
|
|
|
1143
1021
|
counter_field?: string;
|
|
1144
1022
|
weight?: number;
|
|
1145
1023
|
}
|
|
1146
|
-
export declare const GetAnalyticsRuleResponseParams: S.Schema<GetAnalyticsRuleResponseParams>;
|
|
1147
1024
|
export interface GetAnalyticsRuleResponse {
|
|
1148
1025
|
name: string;
|
|
1149
1026
|
type: AnalyticsRuleType;
|
|
@@ -1152,19 +1029,14 @@ export interface GetAnalyticsRuleResponse {
|
|
|
1152
1029
|
rule_tag?: string;
|
|
1153
1030
|
params?: GetAnalyticsRuleResponseParams;
|
|
1154
1031
|
}
|
|
1155
|
-
export declare const GetAnalyticsRuleResponse: S.Schema<GetAnalyticsRuleResponse>;
|
|
1156
1032
|
export interface GetAnalyticsRulesRequest {
|
|
1157
1033
|
/** Filter rules by rule_tag */
|
|
1158
1034
|
rule_tag?: string;
|
|
1159
1035
|
}
|
|
1160
|
-
export declare const GetAnalyticsRulesRequest: S.Schema<GetAnalyticsRulesRequest>;
|
|
1161
1036
|
export type GetAnalyticsRulesResponseBodyList = Array<AnalyticsRule>;
|
|
1162
|
-
export declare const GetAnalyticsRulesResponseBodyList: S.Schema<GetAnalyticsRulesResponseBodyList>;
|
|
1163
1037
|
export type GetAnalyticsRulesResponse = GetAnalyticsRulesResponseBodyList;
|
|
1164
|
-
export declare const GetAnalyticsRulesResponse: S.Schema<GetAnalyticsRulesResponse>;
|
|
1165
1038
|
export interface GetAnalyticsStatusRequest {
|
|
1166
1039
|
}
|
|
1167
|
-
export declare const GetAnalyticsStatusRequest: S.Schema<GetAnalyticsStatusRequest>;
|
|
1168
1040
|
export interface AnalyticsStatus {
|
|
1169
1041
|
popular_prefix_queries?: number;
|
|
1170
1042
|
nohits_prefix_queries?: number;
|
|
@@ -1174,10 +1046,8 @@ export interface AnalyticsStatus {
|
|
|
1174
1046
|
doc_log_events?: number;
|
|
1175
1047
|
doc_counter_events?: number;
|
|
1176
1048
|
}
|
|
1177
|
-
export declare const AnalyticsStatus: S.Schema<AnalyticsStatus>;
|
|
1178
1049
|
export interface GetAPIStatsRequest {
|
|
1179
1050
|
}
|
|
1180
|
-
export declare const GetAPIStatsRequest: S.Schema<GetAPIStatsRequest>;
|
|
1181
1051
|
export interface APIStatsResponse {
|
|
1182
1052
|
delete_latency_ms?: number;
|
|
1183
1053
|
delete_requests_per_second?: number;
|
|
@@ -1193,24 +1063,18 @@ export interface APIStatsResponse {
|
|
|
1193
1063
|
write_latency_ms?: number;
|
|
1194
1064
|
write_requests_per_second?: number;
|
|
1195
1065
|
}
|
|
1196
|
-
export declare const APIStatsResponse: S.Schema<APIStatsResponse>;
|
|
1197
1066
|
export interface GetCollectionRequest {
|
|
1198
1067
|
/** The name of the collection to retrieve */
|
|
1199
1068
|
collectionName: string;
|
|
1200
1069
|
}
|
|
1201
|
-
export declare const GetCollectionRequest: S.Schema<GetCollectionRequest>;
|
|
1202
1070
|
/** A list of fields for querying, filtering and faceting */
|
|
1203
1071
|
export type GetCollectionResponseFieldsList = Array<Field>;
|
|
1204
|
-
export declare const GetCollectionResponseFieldsList: S.Schema<GetCollectionResponseFieldsList>;
|
|
1205
1072
|
/** List of symbols or special characters to be used for splitting the text into individual words in addition to space and new-line characters. */
|
|
1206
1073
|
export type GetCollectionResponseTokenSeparatorsList = Array<string>;
|
|
1207
|
-
export declare const GetCollectionResponseTokenSeparatorsList: S.Schema<GetCollectionResponseTokenSeparatorsList>;
|
|
1208
1074
|
/** List of synonym set names to associate with this collection */
|
|
1209
1075
|
export type GetCollectionResponseSynonymSetsList = Array<string>;
|
|
1210
|
-
export declare const GetCollectionResponseSynonymSetsList: S.Schema<GetCollectionResponseSynonymSetsList>;
|
|
1211
1076
|
/** List of symbols or special characters to be indexed. */
|
|
1212
1077
|
export type GetCollectionResponseSymbolsToIndexList = Array<string>;
|
|
1213
|
-
export declare const GetCollectionResponseSymbolsToIndexList: S.Schema<GetCollectionResponseSymbolsToIndexList>;
|
|
1214
1078
|
export interface GetCollectionResponse {
|
|
1215
1079
|
/** Name of the collection */
|
|
1216
1080
|
name: string;
|
|
@@ -1234,7 +1098,6 @@ export interface GetCollectionResponse {
|
|
|
1234
1098
|
/** Timestamp of when the collection was created (Unix epoch in seconds) */
|
|
1235
1099
|
created_at: number;
|
|
1236
1100
|
}
|
|
1237
|
-
export declare const GetCollectionResponse: S.Schema<GetCollectionResponse>;
|
|
1238
1101
|
export interface GetCollectionsRequestGetCollectionsParameters {
|
|
1239
1102
|
/** Comma-separated list of fields from the collection to exclude from the response */
|
|
1240
1103
|
exclude_fields?: string;
|
|
@@ -1243,23 +1106,17 @@ export interface GetCollectionsRequestGetCollectionsParameters {
|
|
|
1243
1106
|
/** Identifies the starting point to return collections when paginating. */
|
|
1244
1107
|
offset?: number;
|
|
1245
1108
|
}
|
|
1246
|
-
export declare const GetCollectionsRequestGetCollectionsParameters: S.Schema<GetCollectionsRequestGetCollectionsParameters>;
|
|
1247
1109
|
export interface GetCollectionsRequest {
|
|
1248
1110
|
getCollectionsParameters?: GetCollectionsRequestGetCollectionsParameters;
|
|
1249
1111
|
}
|
|
1250
|
-
export declare const GetCollectionsRequest: S.Schema<GetCollectionsRequest>;
|
|
1251
1112
|
/** A list of fields for querying, filtering and faceting */
|
|
1252
1113
|
export type CollectionResponseFieldsList = Array<Field>;
|
|
1253
|
-
export declare const CollectionResponseFieldsList: S.Schema<CollectionResponseFieldsList>;
|
|
1254
1114
|
/** List of symbols or special characters to be used for splitting the text into individual words in addition to space and new-line characters. */
|
|
1255
1115
|
export type CollectionResponseTokenSeparatorsList = Array<string>;
|
|
1256
|
-
export declare const CollectionResponseTokenSeparatorsList: S.Schema<CollectionResponseTokenSeparatorsList>;
|
|
1257
1116
|
/** List of synonym set names to associate with this collection */
|
|
1258
1117
|
export type CollectionResponseSynonymSetsList = Array<string>;
|
|
1259
|
-
export declare const CollectionResponseSynonymSetsList: S.Schema<CollectionResponseSynonymSetsList>;
|
|
1260
1118
|
/** List of symbols or special characters to be indexed. */
|
|
1261
1119
|
export type CollectionResponseSymbolsToIndexList = Array<string>;
|
|
1262
|
-
export declare const CollectionResponseSymbolsToIndexList: S.Schema<CollectionResponseSymbolsToIndexList>;
|
|
1263
1120
|
export interface CollectionResponse {
|
|
1264
1121
|
/** Name of the collection */
|
|
1265
1122
|
name: string;
|
|
@@ -1283,16 +1140,12 @@ export interface CollectionResponse {
|
|
|
1283
1140
|
/** Timestamp of when the collection was created (Unix epoch in seconds) */
|
|
1284
1141
|
created_at: number;
|
|
1285
1142
|
}
|
|
1286
|
-
export declare const CollectionResponse: S.Schema<CollectionResponse>;
|
|
1287
1143
|
export type GetCollectionsResponseBodyList = Array<CollectionResponse>;
|
|
1288
|
-
export declare const GetCollectionsResponseBodyList: S.Schema<GetCollectionsResponseBodyList>;
|
|
1289
1144
|
export type GetCollectionsResponse = GetCollectionsResponseBodyList;
|
|
1290
|
-
export declare const GetCollectionsResponse: S.Schema<GetCollectionsResponse>;
|
|
1291
1145
|
export interface GetConversationModelRequest {
|
|
1292
1146
|
/** The id of the conversation model to retrieve */
|
|
1293
1147
|
modelId: string;
|
|
1294
1148
|
}
|
|
1295
|
-
export declare const GetConversationModelRequest: S.Schema<GetConversationModelRequest>;
|
|
1296
1149
|
export interface GetConversationModelResponse {
|
|
1297
1150
|
/** An explicit id for the model, otherwise the API will return a response with an auto-generated conversation model id. */
|
|
1298
1151
|
id: string;
|
|
@@ -1313,18 +1166,14 @@ export interface GetConversationModelResponse {
|
|
|
1313
1166
|
/** URL of vLLM service */
|
|
1314
1167
|
vllm_url?: string;
|
|
1315
1168
|
}
|
|
1316
|
-
export declare const GetConversationModelResponse: S.Schema<GetConversationModelResponse>;
|
|
1317
1169
|
export interface GetCurationSetRequest {
|
|
1318
1170
|
/** The name of the curation set to retrieve */
|
|
1319
1171
|
curationSetName: string;
|
|
1320
1172
|
}
|
|
1321
|
-
export declare const GetCurationSetRequest: S.Schema<GetCurationSetRequest>;
|
|
1322
1173
|
/** List of tag values to associate with this curation rule. */
|
|
1323
1174
|
export type CurationRuleTagsList = Array<string>;
|
|
1324
|
-
export declare const CurationRuleTagsList: S.Schema<CurationRuleTagsList>;
|
|
1325
1175
|
/** Indicates whether the match on the query term should be `exact` or `contains`. If we want to match all queries that contained the word `apple`, we will use the `contains` match instead. */
|
|
1326
1176
|
export type CurationRuleMatch = "exact" | "contains";
|
|
1327
|
-
export declare const CurationRuleMatch: any;
|
|
1328
1177
|
export interface CurationRule {
|
|
1329
1178
|
/** List of tag values to associate with this curation rule. */
|
|
1330
1179
|
tags?: CurationRuleTagsList;
|
|
@@ -1335,25 +1184,20 @@ export interface CurationRule {
|
|
|
1335
1184
|
/** Indicates that the curation should apply when the filter_by parameter in a search query exactly matches the string specified here (including backticks, spaces, brackets, etc). */
|
|
1336
1185
|
filter_by?: string;
|
|
1337
1186
|
}
|
|
1338
|
-
export declare const CurationRule: S.Schema<CurationRule>;
|
|
1339
1187
|
export interface CurationInclude {
|
|
1340
1188
|
/** document id that should be included */
|
|
1341
1189
|
id: string;
|
|
1342
1190
|
/** position number where document should be included in the search results */
|
|
1343
1191
|
position: number;
|
|
1344
1192
|
}
|
|
1345
|
-
export declare const CurationInclude: S.Schema<CurationInclude>;
|
|
1346
1193
|
/** List of document `id`s that should be included in the search results with their corresponding `position`s. */
|
|
1347
1194
|
export type CurationItemCreateSchemaIncludesList = Array<CurationInclude>;
|
|
1348
|
-
export declare const CurationItemCreateSchemaIncludesList: S.Schema<CurationItemCreateSchemaIncludesList>;
|
|
1349
1195
|
export interface CurationExclude {
|
|
1350
1196
|
/** document id that should be excluded from the search results. */
|
|
1351
1197
|
id: string;
|
|
1352
1198
|
}
|
|
1353
|
-
export declare const CurationExclude: S.Schema<CurationExclude>;
|
|
1354
1199
|
/** List of document `id`s that should be excluded from the search results. */
|
|
1355
1200
|
export type CurationItemCreateSchemaExcludesList = Array<CurationExclude>;
|
|
1356
|
-
export declare const CurationItemCreateSchemaExcludesList: S.Schema<CurationItemCreateSchemaExcludesList>;
|
|
1357
1201
|
export interface CurationItemCreateSchema {
|
|
1358
1202
|
rule: CurationRule;
|
|
1359
1203
|
/** List of document `id`s that should be included in the search results with their corresponding `position`s. */
|
|
@@ -1381,10 +1225,8 @@ export interface CurationItemCreateSchema {
|
|
|
1381
1225
|
/** ID of the curation item */
|
|
1382
1226
|
id?: string;
|
|
1383
1227
|
}
|
|
1384
|
-
export declare const CurationItemCreateSchema: S.Schema<CurationItemCreateSchema>;
|
|
1385
1228
|
/** Array of curation items */
|
|
1386
1229
|
export type GetCurationSetResponseItemsList = Array<CurationItemCreateSchema>;
|
|
1387
|
-
export declare const GetCurationSetResponseItemsList: S.Schema<GetCurationSetResponseItemsList>;
|
|
1388
1230
|
export interface GetCurationSetResponse {
|
|
1389
1231
|
/** Array of curation items */
|
|
1390
1232
|
items: GetCurationSetResponseItemsList;
|
|
@@ -1392,20 +1234,16 @@ export interface GetCurationSetResponse {
|
|
|
1392
1234
|
description?: string;
|
|
1393
1235
|
name: string;
|
|
1394
1236
|
}
|
|
1395
|
-
export declare const GetCurationSetResponse: S.Schema<GetCurationSetResponse>;
|
|
1396
1237
|
export interface GetCurationSetItemRequest {
|
|
1397
1238
|
/** The name of the curation set */
|
|
1398
1239
|
curationSetName: string;
|
|
1399
1240
|
/** The id of the curation item to retrieve */
|
|
1400
1241
|
itemId: string;
|
|
1401
1242
|
}
|
|
1402
|
-
export declare const GetCurationSetItemRequest: S.Schema<GetCurationSetItemRequest>;
|
|
1403
1243
|
/** List of document `id`s that should be included in the search results with their corresponding `position`s. */
|
|
1404
1244
|
export type GetCurationSetItemResponseIncludesList = Array<CurationInclude>;
|
|
1405
|
-
export declare const GetCurationSetItemResponseIncludesList: S.Schema<GetCurationSetItemResponseIncludesList>;
|
|
1406
1245
|
/** List of document `id`s that should be excluded from the search results. */
|
|
1407
1246
|
export type GetCurationSetItemResponseExcludesList = Array<CurationExclude>;
|
|
1408
|
-
export declare const GetCurationSetItemResponseExcludesList: S.Schema<GetCurationSetItemResponseExcludesList>;
|
|
1409
1247
|
export interface GetCurationSetItemResponse {
|
|
1410
1248
|
rule: CurationRule;
|
|
1411
1249
|
/** List of document `id`s that should be included in the search results with their corresponding `position`s. */
|
|
@@ -1433,18 +1271,14 @@ export interface GetCurationSetItemResponse {
|
|
|
1433
1271
|
/** ID of the curation item */
|
|
1434
1272
|
id: string;
|
|
1435
1273
|
}
|
|
1436
|
-
export declare const GetCurationSetItemResponse: S.Schema<GetCurationSetItemResponse>;
|
|
1437
1274
|
export interface GetCurationSetItemsRequest {
|
|
1438
1275
|
/** The name of the curation set to retrieve items for */
|
|
1439
1276
|
curationSetName: string;
|
|
1440
1277
|
}
|
|
1441
|
-
export declare const GetCurationSetItemsRequest: S.Schema<GetCurationSetItemsRequest>;
|
|
1442
1278
|
/** List of document `id`s that should be included in the search results with their corresponding `position`s. */
|
|
1443
1279
|
export type CurationItemSchemaIncludesList = Array<CurationInclude>;
|
|
1444
|
-
export declare const CurationItemSchemaIncludesList: S.Schema<CurationItemSchemaIncludesList>;
|
|
1445
1280
|
/** List of document `id`s that should be excluded from the search results. */
|
|
1446
1281
|
export type CurationItemSchemaExcludesList = Array<CurationExclude>;
|
|
1447
|
-
export declare const CurationItemSchemaExcludesList: S.Schema<CurationItemSchemaExcludesList>;
|
|
1448
1282
|
export interface CurationItemSchema {
|
|
1449
1283
|
rule: CurationRule;
|
|
1450
1284
|
/** List of document `id`s that should be included in the search results with their corresponding `position`s. */
|
|
@@ -1472,17 +1306,12 @@ export interface CurationItemSchema {
|
|
|
1472
1306
|
/** ID of the curation item */
|
|
1473
1307
|
id: string;
|
|
1474
1308
|
}
|
|
1475
|
-
export declare const CurationItemSchema: S.Schema<CurationItemSchema>;
|
|
1476
1309
|
export type GetCurationSetItemsResponseBodyList = Array<CurationItemSchema>;
|
|
1477
|
-
export declare const GetCurationSetItemsResponseBodyList: S.Schema<GetCurationSetItemsResponseBodyList>;
|
|
1478
1310
|
export type GetCurationSetItemsResponse = GetCurationSetItemsResponseBodyList;
|
|
1479
|
-
export declare const GetCurationSetItemsResponse: S.Schema<GetCurationSetItemsResponse>;
|
|
1480
1311
|
export interface GetCurationSetsRequest {
|
|
1481
1312
|
}
|
|
1482
|
-
export declare const GetCurationSetsRequest: S.Schema<GetCurationSetsRequest>;
|
|
1483
1313
|
/** Array of curation items */
|
|
1484
1314
|
export type CurationSetSchemaItemsList = Array<CurationItemCreateSchema>;
|
|
1485
|
-
export declare const CurationSetSchemaItemsList: S.Schema<CurationSetSchemaItemsList>;
|
|
1486
1315
|
export interface CurationSetSchema {
|
|
1487
1316
|
/** Array of curation items */
|
|
1488
1317
|
items: CurationSetSchemaItemsList;
|
|
@@ -1490,29 +1319,21 @@ export interface CurationSetSchema {
|
|
|
1490
1319
|
description?: string;
|
|
1491
1320
|
name: string;
|
|
1492
1321
|
}
|
|
1493
|
-
export declare const CurationSetSchema: S.Schema<CurationSetSchema>;
|
|
1494
1322
|
export type GetCurationSetsResponseBodyList = Array<CurationSetSchema>;
|
|
1495
|
-
export declare const GetCurationSetsResponseBodyList: S.Schema<GetCurationSetsResponseBodyList>;
|
|
1496
1323
|
export type GetCurationSetsResponse = GetCurationSetsResponseBodyList;
|
|
1497
|
-
export declare const GetCurationSetsResponse: S.Schema<GetCurationSetsResponse>;
|
|
1498
1324
|
export interface GetDocumentRequest {
|
|
1499
1325
|
/** The name of the collection to search for the document under */
|
|
1500
1326
|
collectionName: string;
|
|
1501
1327
|
/** The Document ID */
|
|
1502
1328
|
documentId: string;
|
|
1503
1329
|
}
|
|
1504
|
-
export declare const GetDocumentRequest: S.Schema<GetDocumentRequest>;
|
|
1505
1330
|
export type GetDocumentResponse = unknown;
|
|
1506
|
-
export declare const GetDocumentResponse: S.Schema<GetDocumentResponse>;
|
|
1507
1331
|
export interface GetKeyRequest {
|
|
1508
1332
|
/** The ID of the key to retrieve */
|
|
1509
1333
|
keyId: number;
|
|
1510
1334
|
}
|
|
1511
|
-
export declare const GetKeyRequest: S.Schema<GetKeyRequest>;
|
|
1512
1335
|
export type GetKeyResponseActionsList = Array<string>;
|
|
1513
|
-
export declare const GetKeyResponseActionsList: S.Schema<GetKeyResponseActionsList>;
|
|
1514
1336
|
export type GetKeyResponseCollectionsList = Array<string>;
|
|
1515
|
-
export declare const GetKeyResponseCollectionsList: S.Schema<GetKeyResponseCollectionsList>;
|
|
1516
1337
|
export interface GetKeyResponse {
|
|
1517
1338
|
value?: string;
|
|
1518
1339
|
description: string;
|
|
@@ -1522,14 +1343,10 @@ export interface GetKeyResponse {
|
|
|
1522
1343
|
id?: number;
|
|
1523
1344
|
value_prefix?: string;
|
|
1524
1345
|
}
|
|
1525
|
-
export declare const GetKeyResponse: S.Schema<GetKeyResponse>;
|
|
1526
1346
|
export interface GetKeysRequest {
|
|
1527
1347
|
}
|
|
1528
|
-
export declare const GetKeysRequest: S.Schema<GetKeysRequest>;
|
|
1529
1348
|
export type ApiKeyActionsList = Array<string>;
|
|
1530
|
-
export declare const ApiKeyActionsList: S.Schema<ApiKeyActionsList>;
|
|
1531
1349
|
export type ApiKeyCollectionsList = Array<string>;
|
|
1532
|
-
export declare const ApiKeyCollectionsList: S.Schema<ApiKeyCollectionsList>;
|
|
1533
1350
|
export interface ApiKey {
|
|
1534
1351
|
value?: string;
|
|
1535
1352
|
description: string;
|
|
@@ -1539,26 +1356,19 @@ export interface ApiKey {
|
|
|
1539
1356
|
id?: number;
|
|
1540
1357
|
value_prefix?: string;
|
|
1541
1358
|
}
|
|
1542
|
-
export declare const ApiKey: S.Schema<ApiKey>;
|
|
1543
1359
|
export type ApiKeysResponseKeysList = Array<ApiKey>;
|
|
1544
|
-
export declare const ApiKeysResponseKeysList: S.Schema<ApiKeysResponseKeysList>;
|
|
1545
1360
|
export interface ApiKeysResponse {
|
|
1546
1361
|
keys: ApiKeysResponseKeysList;
|
|
1547
1362
|
}
|
|
1548
|
-
export declare const ApiKeysResponse: S.Schema<ApiKeysResponse>;
|
|
1549
1363
|
export interface GetMetricsRequest {
|
|
1550
1364
|
}
|
|
1551
|
-
export declare const GetMetricsRequest: S.Schema<GetMetricsRequest>;
|
|
1552
1365
|
export type GetMetricsResponse = unknown;
|
|
1553
|
-
export declare const GetMetricsResponse: S.Schema<GetMetricsResponse>;
|
|
1554
1366
|
export interface GetNLSearchModelRequest {
|
|
1555
1367
|
/** The ID of the NL search model to retrieve */
|
|
1556
1368
|
modelId: string;
|
|
1557
1369
|
}
|
|
1558
|
-
export declare const GetNLSearchModelRequest: S.Schema<GetNLSearchModelRequest>;
|
|
1559
1370
|
/** Stop sequences for the NL model (Google-specific) */
|
|
1560
1371
|
export type GetNLSearchModelResponseStopSequencesList = Array<string>;
|
|
1561
|
-
export declare const GetNLSearchModelResponseStopSequencesList: S.Schema<GetNLSearchModelResponseStopSequencesList>;
|
|
1562
1372
|
export interface GetNLSearchModelResponse {
|
|
1563
1373
|
/** Name of the NL model to use */
|
|
1564
1374
|
model_name?: string;
|
|
@@ -1599,22 +1409,17 @@ export interface GetNLSearchModelResponse {
|
|
|
1599
1409
|
/** Optional ID for the NL search model */
|
|
1600
1410
|
id: string;
|
|
1601
1411
|
}
|
|
1602
|
-
export declare const GetNLSearchModelResponse: S.Schema<GetNLSearchModelResponse>;
|
|
1603
1412
|
export interface GetPresetRequest {
|
|
1604
1413
|
/** The ID of the preset to retrieve. */
|
|
1605
1414
|
presetId: string;
|
|
1606
1415
|
}
|
|
1607
|
-
export declare const GetPresetRequest: S.Schema<GetPresetRequest>;
|
|
1608
1416
|
export type GetPresetResponseValue = SearchParameters | MultiSearchSearchesParameter;
|
|
1609
|
-
export declare const GetPresetResponseValue: any;
|
|
1610
1417
|
export interface GetPresetResponse {
|
|
1611
1418
|
value: GetPresetResponseValue;
|
|
1612
1419
|
name: string;
|
|
1613
1420
|
}
|
|
1614
|
-
export declare const GetPresetResponse: S.Schema<GetPresetResponse>;
|
|
1615
1421
|
export interface GetSchemaChangesRequest {
|
|
1616
1422
|
}
|
|
1617
|
-
export declare const GetSchemaChangesRequest: S.Schema<GetSchemaChangesRequest>;
|
|
1618
1423
|
export interface SchemaChangeStatus {
|
|
1619
1424
|
/** Name of the collection being modified */
|
|
1620
1425
|
collection?: string;
|
|
@@ -1623,70 +1428,53 @@ export interface SchemaChangeStatus {
|
|
|
1623
1428
|
/** Number of documents that have been altered */
|
|
1624
1429
|
altered_docs?: number;
|
|
1625
1430
|
}
|
|
1626
|
-
export declare const SchemaChangeStatus: S.Schema<SchemaChangeStatus>;
|
|
1627
1431
|
export type GetSchemaChangesResponseBodyList = Array<SchemaChangeStatus>;
|
|
1628
|
-
export declare const GetSchemaChangesResponseBodyList: S.Schema<GetSchemaChangesResponseBodyList>;
|
|
1629
1432
|
export type GetSchemaChangesResponse = GetSchemaChangesResponseBodyList;
|
|
1630
|
-
export declare const GetSchemaChangesResponse: S.Schema<GetSchemaChangesResponse>;
|
|
1631
1433
|
export interface GetStemmingDictionaryRequest {
|
|
1632
1434
|
/** The ID of the dictionary to retrieve */
|
|
1633
1435
|
dictionaryId: string;
|
|
1634
1436
|
}
|
|
1635
|
-
export declare const GetStemmingDictionaryRequest: S.Schema<GetStemmingDictionaryRequest>;
|
|
1636
1437
|
export interface StemmingDictionaryWordsItem {
|
|
1637
1438
|
/** The word form to be stemmed */
|
|
1638
1439
|
word: string;
|
|
1639
1440
|
/** The root form of the word */
|
|
1640
1441
|
root: string;
|
|
1641
1442
|
}
|
|
1642
|
-
export declare const StemmingDictionaryWordsItem: S.Schema<StemmingDictionaryWordsItem>;
|
|
1643
1443
|
/** List of word mappings in the dictionary */
|
|
1644
1444
|
export type StemmingDictionaryWordsList = Array<StemmingDictionaryWordsItem>;
|
|
1645
|
-
export declare const StemmingDictionaryWordsList: S.Schema<StemmingDictionaryWordsList>;
|
|
1646
1445
|
export interface StemmingDictionary {
|
|
1647
1446
|
/** Unique identifier for the dictionary */
|
|
1648
1447
|
id: string;
|
|
1649
1448
|
/** List of word mappings in the dictionary */
|
|
1650
1449
|
words: StemmingDictionaryWordsList;
|
|
1651
1450
|
}
|
|
1652
|
-
export declare const StemmingDictionary: S.Schema<StemmingDictionary>;
|
|
1653
1451
|
export interface GetStopwordsSetRequest {
|
|
1654
1452
|
/** The ID of the stopwords set to retrieve. */
|
|
1655
1453
|
setId: string;
|
|
1656
1454
|
}
|
|
1657
|
-
export declare const GetStopwordsSetRequest: S.Schema<GetStopwordsSetRequest>;
|
|
1658
1455
|
export type StopwordsSetSchemaStopwordsList = Array<string>;
|
|
1659
|
-
export declare const StopwordsSetSchemaStopwordsList: S.Schema<StopwordsSetSchemaStopwordsList>;
|
|
1660
1456
|
export interface StopwordsSetSchema {
|
|
1661
1457
|
id: string;
|
|
1662
1458
|
stopwords: StopwordsSetSchemaStopwordsList;
|
|
1663
1459
|
locale?: string;
|
|
1664
1460
|
}
|
|
1665
|
-
export declare const StopwordsSetSchema: S.Schema<StopwordsSetSchema>;
|
|
1666
1461
|
export interface StopwordsSetRetrieveSchema {
|
|
1667
1462
|
stopwords: StopwordsSetSchema;
|
|
1668
1463
|
}
|
|
1669
|
-
export declare const StopwordsSetRetrieveSchema: S.Schema<StopwordsSetRetrieveSchema>;
|
|
1670
1464
|
export interface GetStopwordsSetsRequest {
|
|
1671
1465
|
}
|
|
1672
|
-
export declare const GetStopwordsSetsRequest: S.Schema<GetStopwordsSetsRequest>;
|
|
1673
1466
|
export type StopwordsSetsRetrieveAllSchemaStopwordsList = Array<StopwordsSetSchema>;
|
|
1674
|
-
export declare const StopwordsSetsRetrieveAllSchemaStopwordsList: S.Schema<StopwordsSetsRetrieveAllSchemaStopwordsList>;
|
|
1675
1467
|
export interface StopwordsSetsRetrieveAllSchema {
|
|
1676
1468
|
stopwords: StopwordsSetsRetrieveAllSchemaStopwordsList;
|
|
1677
1469
|
}
|
|
1678
|
-
export declare const StopwordsSetsRetrieveAllSchema: S.Schema<StopwordsSetsRetrieveAllSchema>;
|
|
1679
1470
|
export interface GetSynonymSetRequest {
|
|
1680
1471
|
/** The name of the synonym set to retrieve */
|
|
1681
1472
|
synonymSetName: string;
|
|
1682
1473
|
}
|
|
1683
|
-
export declare const GetSynonymSetRequest: S.Schema<GetSynonymSetRequest>;
|
|
1684
1474
|
/** Array of words that should be considered as synonyms */
|
|
1685
1475
|
export type SynonymItemSchemaSynonymsList = Array<string>;
|
|
1686
|
-
export declare const SynonymItemSchemaSynonymsList: S.Schema<SynonymItemSchemaSynonymsList>;
|
|
1687
1476
|
/** By default, special characters are dropped from synonyms. Use this attribute to specify which special characters should be indexed as is */
|
|
1688
1477
|
export type SynonymItemSchemaSymbolsToIndexList = Array<string>;
|
|
1689
|
-
export declare const SynonymItemSchemaSymbolsToIndexList: S.Schema<SynonymItemSchemaSymbolsToIndexList>;
|
|
1690
1478
|
export interface SynonymItemSchema {
|
|
1691
1479
|
/** Unique identifier for the synonym item */
|
|
1692
1480
|
id: string;
|
|
@@ -1699,30 +1487,24 @@ export interface SynonymItemSchema {
|
|
|
1699
1487
|
/** By default, special characters are dropped from synonyms. Use this attribute to specify which special characters should be indexed as is */
|
|
1700
1488
|
symbols_to_index?: SynonymItemSchemaSymbolsToIndexList;
|
|
1701
1489
|
}
|
|
1702
|
-
export declare const SynonymItemSchema: S.Schema<SynonymItemSchema>;
|
|
1703
1490
|
/** Array of synonym items */
|
|
1704
1491
|
export type GetSynonymSetResponseItemsList = Array<SynonymItemSchema>;
|
|
1705
|
-
export declare const GetSynonymSetResponseItemsList: S.Schema<GetSynonymSetResponseItemsList>;
|
|
1706
1492
|
export interface GetSynonymSetResponse {
|
|
1707
1493
|
/** Array of synonym items */
|
|
1708
1494
|
items: GetSynonymSetResponseItemsList;
|
|
1709
1495
|
/** Name of the synonym set */
|
|
1710
1496
|
name: string;
|
|
1711
1497
|
}
|
|
1712
|
-
export declare const GetSynonymSetResponse: S.Schema<GetSynonymSetResponse>;
|
|
1713
1498
|
export interface GetSynonymSetItemRequest {
|
|
1714
1499
|
/** The name of the synonym set */
|
|
1715
1500
|
synonymSetName: string;
|
|
1716
1501
|
/** The id of the synonym item to retrieve */
|
|
1717
1502
|
itemId: string;
|
|
1718
1503
|
}
|
|
1719
|
-
export declare const GetSynonymSetItemRequest: S.Schema<GetSynonymSetItemRequest>;
|
|
1720
1504
|
/** Array of words that should be considered as synonyms */
|
|
1721
1505
|
export type GetSynonymSetItemResponseSynonymsList = Array<string>;
|
|
1722
|
-
export declare const GetSynonymSetItemResponseSynonymsList: S.Schema<GetSynonymSetItemResponseSynonymsList>;
|
|
1723
1506
|
/** By default, special characters are dropped from synonyms. Use this attribute to specify which special characters should be indexed as is */
|
|
1724
1507
|
export type GetSynonymSetItemResponseSymbolsToIndexList = Array<string>;
|
|
1725
|
-
export declare const GetSynonymSetItemResponseSymbolsToIndexList: S.Schema<GetSynonymSetItemResponseSymbolsToIndexList>;
|
|
1726
1508
|
export interface GetSynonymSetItemResponse {
|
|
1727
1509
|
/** Unique identifier for the synonym item */
|
|
1728
1510
|
id: string;
|
|
@@ -1735,44 +1517,31 @@ export interface GetSynonymSetItemResponse {
|
|
|
1735
1517
|
/** By default, special characters are dropped from synonyms. Use this attribute to specify which special characters should be indexed as is */
|
|
1736
1518
|
symbols_to_index?: GetSynonymSetItemResponseSymbolsToIndexList;
|
|
1737
1519
|
}
|
|
1738
|
-
export declare const GetSynonymSetItemResponse: S.Schema<GetSynonymSetItemResponse>;
|
|
1739
1520
|
export interface GetSynonymSetItemsRequest {
|
|
1740
1521
|
/** The name of the synonym set to retrieve items for */
|
|
1741
1522
|
synonymSetName: string;
|
|
1742
1523
|
}
|
|
1743
|
-
export declare const GetSynonymSetItemsRequest: S.Schema<GetSynonymSetItemsRequest>;
|
|
1744
1524
|
export type GetSynonymSetItemsResponseBodyList = Array<SynonymItemSchema>;
|
|
1745
|
-
export declare const GetSynonymSetItemsResponseBodyList: S.Schema<GetSynonymSetItemsResponseBodyList>;
|
|
1746
1525
|
export type GetSynonymSetItemsResponse = GetSynonymSetItemsResponseBodyList;
|
|
1747
|
-
export declare const GetSynonymSetItemsResponse: S.Schema<GetSynonymSetItemsResponse>;
|
|
1748
1526
|
export interface GetSynonymSetsRequest {
|
|
1749
1527
|
}
|
|
1750
|
-
export declare const GetSynonymSetsRequest: S.Schema<GetSynonymSetsRequest>;
|
|
1751
1528
|
/** Array of synonym items */
|
|
1752
1529
|
export type SynonymSetSchemaItemsList = Array<SynonymItemSchema>;
|
|
1753
|
-
export declare const SynonymSetSchemaItemsList: S.Schema<SynonymSetSchemaItemsList>;
|
|
1754
1530
|
export interface SynonymSetSchema {
|
|
1755
1531
|
/** Array of synonym items */
|
|
1756
1532
|
items: SynonymSetSchemaItemsList;
|
|
1757
1533
|
/** Name of the synonym set */
|
|
1758
1534
|
name: string;
|
|
1759
1535
|
}
|
|
1760
|
-
export declare const SynonymSetSchema: S.Schema<SynonymSetSchema>;
|
|
1761
1536
|
export type GetSynonymSetsResponseBodyList = Array<SynonymSetSchema>;
|
|
1762
|
-
export declare const GetSynonymSetsResponseBodyList: S.Schema<GetSynonymSetsResponseBodyList>;
|
|
1763
1537
|
export type GetSynonymSetsResponse = GetSynonymSetsResponseBodyList;
|
|
1764
|
-
export declare const GetSynonymSetsResponse: S.Schema<GetSynonymSetsResponse>;
|
|
1765
1538
|
export interface HealthRequest {
|
|
1766
1539
|
}
|
|
1767
|
-
export declare const HealthRequest: S.Schema<HealthRequest>;
|
|
1768
1540
|
export interface HealthStatus {
|
|
1769
1541
|
ok: boolean;
|
|
1770
1542
|
}
|
|
1771
|
-
export declare const HealthStatus: S.Schema<HealthStatus>;
|
|
1772
1543
|
export type IndexAction = "create" | "update" | "upsert" | "emplace";
|
|
1773
|
-
export declare const IndexAction: any;
|
|
1774
1544
|
export type DirtyValues = "coerce_or_reject" | "coerce_or_drop" | "drop" | "reject";
|
|
1775
|
-
export declare const DirtyValues: any;
|
|
1776
1545
|
export interface ImportDocumentsRequestImportDocumentsParameters {
|
|
1777
1546
|
batch_size?: number;
|
|
1778
1547
|
/** Returning the id of the imported documents. If you want the import response to return the ingested document's id in the response, you can use the return_id parameter. */
|
|
@@ -1782,25 +1551,20 @@ export interface ImportDocumentsRequestImportDocumentsParameters {
|
|
|
1782
1551
|
action?: IndexAction | (string & {});
|
|
1783
1552
|
dirty_values?: DirtyValues | (string & {});
|
|
1784
1553
|
}
|
|
1785
|
-
export declare const ImportDocumentsRequestImportDocumentsParameters: S.Schema<ImportDocumentsRequestImportDocumentsParameters>;
|
|
1786
1554
|
export interface ImportDocumentsRequest {
|
|
1787
1555
|
/** The name of the collection */
|
|
1788
1556
|
collectionName: string;
|
|
1789
1557
|
importDocumentsParameters?: ImportDocumentsRequestImportDocumentsParameters;
|
|
1790
1558
|
}
|
|
1791
|
-
export declare const ImportDocumentsRequest: S.Schema<ImportDocumentsRequest>;
|
|
1792
1559
|
export interface ImportDocumentsResponse {
|
|
1793
1560
|
}
|
|
1794
|
-
export declare const ImportDocumentsResponse: S.Schema<ImportDocumentsResponse>;
|
|
1795
1561
|
export interface ImportStemmingDictionaryRequest {
|
|
1796
1562
|
/** The ID to assign to the dictionary */
|
|
1797
1563
|
id: string;
|
|
1798
1564
|
body: string;
|
|
1799
1565
|
}
|
|
1800
|
-
export declare const ImportStemmingDictionaryRequest: S.Schema<ImportStemmingDictionaryRequest>;
|
|
1801
1566
|
export interface ImportStemmingDictionaryResponse {
|
|
1802
1567
|
}
|
|
1803
|
-
export declare const ImportStemmingDictionaryResponse: S.Schema<ImportStemmingDictionaryResponse>;
|
|
1804
1568
|
export interface IndexDocumentRequest {
|
|
1805
1569
|
/** The name of the collection to add the document to */
|
|
1806
1570
|
collectionName: string;
|
|
@@ -1809,33 +1573,25 @@ export interface IndexDocumentRequest {
|
|
|
1809
1573
|
/** Dealing with Dirty Data */
|
|
1810
1574
|
dirty_values?: DirtyValues | (string & {});
|
|
1811
1575
|
}
|
|
1812
|
-
export declare const IndexDocumentRequest: S.Schema<IndexDocumentRequest>;
|
|
1813
1576
|
export type IndexDocumentResponse = unknown;
|
|
1814
|
-
export declare const IndexDocumentResponse: S.Schema<IndexDocumentResponse>;
|
|
1815
1577
|
export interface ListStemmingDictionariesRequest {
|
|
1816
1578
|
}
|
|
1817
|
-
export declare const ListStemmingDictionariesRequest: S.Schema<ListStemmingDictionariesRequest>;
|
|
1818
1579
|
export type ListStemmingDictionariesResponseDictionariesList = Array<string>;
|
|
1819
|
-
export declare const ListStemmingDictionariesResponseDictionariesList: S.Schema<ListStemmingDictionariesResponseDictionariesList>;
|
|
1820
1580
|
export interface ListStemmingDictionariesResponse {
|
|
1821
1581
|
dictionaries?: ListStemmingDictionariesResponseDictionariesList;
|
|
1822
1582
|
}
|
|
1823
|
-
export declare const ListStemmingDictionariesResponse: S.Schema<ListStemmingDictionariesResponse>;
|
|
1824
1583
|
export interface SearchCollectionRequest {
|
|
1825
1584
|
/** The name of the collection to search for the document under */
|
|
1826
1585
|
collectionName: string;
|
|
1827
1586
|
searchParameters: SearchParameters;
|
|
1828
1587
|
}
|
|
1829
|
-
export declare const SearchCollectionRequest: S.Schema<SearchCollectionRequest>;
|
|
1830
1588
|
export interface FacetCountsCountsItem {
|
|
1831
1589
|
count?: number;
|
|
1832
1590
|
highlighted?: string;
|
|
1833
1591
|
value?: string;
|
|
1834
1592
|
parent?: unknown;
|
|
1835
1593
|
}
|
|
1836
|
-
export declare const FacetCountsCountsItem: S.Schema<FacetCountsCountsItem>;
|
|
1837
1594
|
export type FacetCountsCountsList = Array<FacetCountsCountsItem>;
|
|
1838
|
-
export declare const FacetCountsCountsList: S.Schema<FacetCountsCountsList>;
|
|
1839
1595
|
export interface FacetCountsStats {
|
|
1840
1596
|
max?: number;
|
|
1841
1597
|
min?: number;
|
|
@@ -1843,29 +1599,21 @@ export interface FacetCountsStats {
|
|
|
1843
1599
|
total_values?: number;
|
|
1844
1600
|
avg?: number;
|
|
1845
1601
|
}
|
|
1846
|
-
export declare const FacetCountsStats: S.Schema<FacetCountsStats>;
|
|
1847
1602
|
export interface FacetCounts {
|
|
1848
1603
|
counts?: FacetCountsCountsList;
|
|
1849
1604
|
field_name?: string;
|
|
1850
1605
|
sampled?: boolean;
|
|
1851
1606
|
stats?: FacetCountsStats;
|
|
1852
1607
|
}
|
|
1853
|
-
export declare const FacetCounts: S.Schema<FacetCounts>;
|
|
1854
1608
|
export type SearchResultFacetCountsList = Array<FacetCounts>;
|
|
1855
|
-
export declare const SearchResultFacetCountsList: S.Schema<SearchResultFacetCountsList>;
|
|
1856
1609
|
export type SearchGroupedHitGroupKeyList = Array<unknown>;
|
|
1857
|
-
export declare const SearchGroupedHitGroupKeyList: S.Schema<SearchGroupedHitGroupKeyList>;
|
|
1858
1610
|
/** Present only for (array) string[] fields */
|
|
1859
1611
|
export type SearchHighlightSnippetsList = Array<string>;
|
|
1860
|
-
export declare const SearchHighlightSnippetsList: S.Schema<SearchHighlightSnippetsList>;
|
|
1861
1612
|
/** Full field value with highlighting, present only for (array) string[] fields */
|
|
1862
1613
|
export type SearchHighlightValuesList = Array<string>;
|
|
1863
|
-
export declare const SearchHighlightValuesList: S.Schema<SearchHighlightValuesList>;
|
|
1864
1614
|
/** The indices property will be present only for string[] fields and will contain the corresponding indices of the snippets in the search field */
|
|
1865
1615
|
export type SearchHighlightIndicesList = Array<number>;
|
|
1866
|
-
export declare const SearchHighlightIndicesList: S.Schema<SearchHighlightIndicesList>;
|
|
1867
1616
|
export type SearchHighlightMatchedTokensList = Array<unknown>;
|
|
1868
|
-
export declare const SearchHighlightMatchedTokensList: S.Schema<SearchHighlightMatchedTokensList>;
|
|
1869
1617
|
export interface SearchHighlight {
|
|
1870
1618
|
field?: string;
|
|
1871
1619
|
/** Present only for (non-array) string fields */
|
|
@@ -1880,20 +1628,16 @@ export interface SearchHighlight {
|
|
|
1880
1628
|
indices?: SearchHighlightIndicesList;
|
|
1881
1629
|
matched_tokens?: SearchHighlightMatchedTokensList;
|
|
1882
1630
|
}
|
|
1883
|
-
export declare const SearchHighlight: S.Schema<SearchHighlight>;
|
|
1884
1631
|
/** (Deprecated) Contains highlighted portions of the search fields */
|
|
1885
1632
|
export type SearchResultHitHighlightsList = Array<SearchHighlight>;
|
|
1886
|
-
export declare const SearchResultHitHighlightsList: S.Schema<SearchResultHitHighlightsList>;
|
|
1887
1633
|
/** Highlighted version of the matching document */
|
|
1888
1634
|
export type SearchResultHitHighlightMap = {
|
|
1889
1635
|
[key: string]: unknown | undefined;
|
|
1890
1636
|
};
|
|
1891
|
-
export declare const SearchResultHitHighlightMap: S.Schema<SearchResultHitHighlightMap>;
|
|
1892
1637
|
/** Can be any key-value pair */
|
|
1893
1638
|
export type SearchResultHitDocumentMap = {
|
|
1894
1639
|
[key: string]: unknown | undefined;
|
|
1895
1640
|
};
|
|
1896
|
-
export declare const SearchResultHitDocumentMap: S.Schema<SearchResultHitDocumentMap>;
|
|
1897
1641
|
export interface SearchResultHitTextMatchInfo {
|
|
1898
1642
|
best_field_score?: string;
|
|
1899
1643
|
best_field_weight?: number;
|
|
@@ -1903,18 +1647,15 @@ export interface SearchResultHitTextMatchInfo {
|
|
|
1903
1647
|
tokens_matched?: number;
|
|
1904
1648
|
typo_prefix_score?: number;
|
|
1905
1649
|
}
|
|
1906
|
-
export declare const SearchResultHitTextMatchInfo: S.Schema<SearchResultHitTextMatchInfo>;
|
|
1907
1650
|
/** Can be any key-value pair */
|
|
1908
1651
|
export type SearchResultHitGeoDistanceMetersMap = {
|
|
1909
1652
|
[key: string]: number | undefined;
|
|
1910
1653
|
};
|
|
1911
|
-
export declare const SearchResultHitGeoDistanceMetersMap: S.Schema<SearchResultHitGeoDistanceMetersMap>;
|
|
1912
1654
|
/** Information about hybrid search scoring */
|
|
1913
1655
|
export interface SearchResultHitHybridSearchInfo {
|
|
1914
1656
|
/** Combined score from rank fusion of text and vector search */
|
|
1915
1657
|
rank_fusion_score?: number;
|
|
1916
1658
|
}
|
|
1917
|
-
export declare const SearchResultHitHybridSearchInfo: S.Schema<SearchResultHitHybridSearchInfo>;
|
|
1918
1659
|
export interface SearchResultHit {
|
|
1919
1660
|
/** (Deprecated) Contains highlighted portions of the search fields */
|
|
1920
1661
|
highlights?: SearchResultHitHighlightsList;
|
|
@@ -1933,26 +1674,20 @@ export interface SearchResultHit {
|
|
|
1933
1674
|
/** Returned only for union query response. Indicates the index of the query which this document matched to. */
|
|
1934
1675
|
search_index?: number;
|
|
1935
1676
|
}
|
|
1936
|
-
export declare const SearchResultHit: S.Schema<SearchResultHit>;
|
|
1937
1677
|
/** The documents that matched the search query */
|
|
1938
1678
|
export type SearchGroupedHitHitsList = Array<SearchResultHit>;
|
|
1939
|
-
export declare const SearchGroupedHitHitsList: S.Schema<SearchGroupedHitHitsList>;
|
|
1940
1679
|
export interface SearchGroupedHit {
|
|
1941
1680
|
found?: number;
|
|
1942
1681
|
group_key: SearchGroupedHitGroupKeyList;
|
|
1943
1682
|
/** The documents that matched the search query */
|
|
1944
1683
|
hits: SearchGroupedHitHitsList;
|
|
1945
1684
|
}
|
|
1946
|
-
export declare const SearchGroupedHit: S.Schema<SearchGroupedHit>;
|
|
1947
1685
|
export type SearchResultGroupedHitsList = Array<SearchGroupedHit>;
|
|
1948
|
-
export declare const SearchResultGroupedHitsList: S.Schema<SearchResultGroupedHitsList>;
|
|
1949
1686
|
/** The documents that matched the search query */
|
|
1950
1687
|
export type SearchResultHitsList = Array<SearchResultHit>;
|
|
1951
|
-
export declare const SearchResultHitsList: S.Schema<SearchResultHitsList>;
|
|
1952
1688
|
export interface SearchRequestParamsVoiceQuery {
|
|
1953
1689
|
transcribed_query?: string;
|
|
1954
1690
|
}
|
|
1955
|
-
export declare const SearchRequestParamsVoiceQuery: S.Schema<SearchRequestParamsVoiceQuery>;
|
|
1956
1691
|
export interface SearchRequestParams {
|
|
1957
1692
|
collection_name: string;
|
|
1958
1693
|
first_q?: string;
|
|
@@ -1960,24 +1695,19 @@ export interface SearchRequestParams {
|
|
|
1960
1695
|
per_page: number;
|
|
1961
1696
|
voice_query?: SearchRequestParamsVoiceQuery;
|
|
1962
1697
|
}
|
|
1963
|
-
export declare const SearchRequestParams: S.Schema<SearchRequestParams>;
|
|
1964
1698
|
export type SearchResultConversationConversationHistoryList = Array<unknown>;
|
|
1965
|
-
export declare const SearchResultConversationConversationHistoryList: S.Schema<SearchResultConversationConversationHistoryList>;
|
|
1966
1699
|
export interface SearchResultConversation {
|
|
1967
1700
|
answer: string;
|
|
1968
1701
|
conversation_history: SearchResultConversationConversationHistoryList;
|
|
1969
1702
|
conversation_id: string;
|
|
1970
1703
|
query: string;
|
|
1971
1704
|
}
|
|
1972
|
-
export declare const SearchResultConversation: S.Schema<SearchResultConversation>;
|
|
1973
1705
|
/** Returned only for union query response. */
|
|
1974
1706
|
export type SearchResultUnionRequestParamsList = Array<SearchRequestParams>;
|
|
1975
|
-
export declare const SearchResultUnionRequestParamsList: S.Schema<SearchResultUnionRequestParamsList>;
|
|
1976
1707
|
/** Custom JSON object that can be returned in the search response */
|
|
1977
1708
|
export type SearchResultMetadataMap = {
|
|
1978
1709
|
[key: string]: unknown | undefined;
|
|
1979
1710
|
};
|
|
1980
|
-
export declare const SearchResultMetadataMap: S.Schema<SearchResultMetadataMap>;
|
|
1981
1711
|
export interface SearchResult {
|
|
1982
1712
|
facet_counts?: SearchResultFacetCountsList;
|
|
1983
1713
|
/** The number of documents found */
|
|
@@ -2001,7 +1731,6 @@ export interface SearchResult {
|
|
|
2001
1731
|
/** Custom JSON object that can be returned in the search response */
|
|
2002
1732
|
metadata?: SearchResultMetadataMap;
|
|
2003
1733
|
}
|
|
2004
|
-
export declare const SearchResult: S.Schema<SearchResult>;
|
|
2005
1734
|
/** Parameters for the multi search API. */
|
|
2006
1735
|
export interface MultiSearchParameters {
|
|
2007
1736
|
/** The query text to search for in the collection. Use * as the search string to return all documents. This is typically useful when used in conjunction with filter_by. */
|
|
@@ -2154,31 +1883,23 @@ export interface MultiSearchParameters {
|
|
|
2154
1883
|
/** Controls whether Typesense should validate if the fields exist in the schema. When set to false, Typesense will not throw an error if a field is missing. This is useful for programmatic grouping where not all fields may exist. */
|
|
2155
1884
|
validate_field_names?: boolean;
|
|
2156
1885
|
}
|
|
2157
|
-
export declare const MultiSearchParameters: S.Schema<MultiSearchParameters>;
|
|
2158
1886
|
export type SearchMultiRequestSearchesList = Array<MultiSearchCollectionParameters>;
|
|
2159
|
-
export declare const SearchMultiRequestSearchesList: S.Schema<SearchMultiRequestSearchesList>;
|
|
2160
1887
|
export interface SearchMultiRequest {
|
|
2161
1888
|
multiSearchParameters: MultiSearchParameters;
|
|
2162
1889
|
/** When true, merges the search results from each search query into a single ordered set of hits. */
|
|
2163
1890
|
union?: boolean;
|
|
2164
1891
|
searches: SearchMultiRequestSearchesList;
|
|
2165
1892
|
}
|
|
2166
|
-
export declare const SearchMultiRequest: S.Schema<SearchMultiRequest>;
|
|
2167
1893
|
export type MultiSearchResultItemFacetCountsList = Array<FacetCounts>;
|
|
2168
|
-
export declare const MultiSearchResultItemFacetCountsList: S.Schema<MultiSearchResultItemFacetCountsList>;
|
|
2169
1894
|
export type MultiSearchResultItemGroupedHitsList = Array<SearchGroupedHit>;
|
|
2170
|
-
export declare const MultiSearchResultItemGroupedHitsList: S.Schema<MultiSearchResultItemGroupedHitsList>;
|
|
2171
1895
|
/** The documents that matched the search query */
|
|
2172
1896
|
export type MultiSearchResultItemHitsList = Array<SearchResultHit>;
|
|
2173
|
-
export declare const MultiSearchResultItemHitsList: S.Schema<MultiSearchResultItemHitsList>;
|
|
2174
1897
|
/** Returned only for union query response. */
|
|
2175
1898
|
export type MultiSearchResultItemUnionRequestParamsList = Array<SearchRequestParams>;
|
|
2176
|
-
export declare const MultiSearchResultItemUnionRequestParamsList: S.Schema<MultiSearchResultItemUnionRequestParamsList>;
|
|
2177
1899
|
/** Custom JSON object that can be returned in the search response */
|
|
2178
1900
|
export type MultiSearchResultItemMetadataMap = {
|
|
2179
1901
|
[key: string]: unknown | undefined;
|
|
2180
1902
|
};
|
|
2181
|
-
export declare const MultiSearchResultItemMetadataMap: S.Schema<MultiSearchResultItemMetadataMap>;
|
|
2182
1903
|
export interface MultiSearchResultItem {
|
|
2183
1904
|
facet_counts?: MultiSearchResultItemFacetCountsList;
|
|
2184
1905
|
/** The number of documents found */
|
|
@@ -2206,29 +1927,22 @@ export interface MultiSearchResultItem {
|
|
|
2206
1927
|
/** Error description */
|
|
2207
1928
|
error?: string;
|
|
2208
1929
|
}
|
|
2209
|
-
export declare const MultiSearchResultItem: S.Schema<MultiSearchResultItem>;
|
|
2210
1930
|
export type MultiSearchResultResultsList = Array<MultiSearchResultItem>;
|
|
2211
|
-
export declare const MultiSearchResultResultsList: S.Schema<MultiSearchResultResultsList>;
|
|
2212
1931
|
export interface MultiSearchResult {
|
|
2213
1932
|
results: MultiSearchResultResultsList;
|
|
2214
1933
|
conversation?: SearchResultConversation;
|
|
2215
1934
|
}
|
|
2216
|
-
export declare const MultiSearchResult: S.Schema<MultiSearchResult>;
|
|
2217
1935
|
export interface TakeSnapshotRequest {
|
|
2218
1936
|
/** The directory on the server where the snapshot should be saved. */
|
|
2219
1937
|
snapshot_path: string;
|
|
2220
1938
|
}
|
|
2221
|
-
export declare const TakeSnapshotRequest: S.Schema<TakeSnapshotRequest>;
|
|
2222
1939
|
export interface ToggleSlowRequestLogRequest {
|
|
2223
1940
|
log_slow_requests_time_ms: number;
|
|
2224
1941
|
}
|
|
2225
|
-
export declare const ToggleSlowRequestLogRequest: S.Schema<ToggleSlowRequestLogRequest>;
|
|
2226
1942
|
/** A list of fields for querying, filtering and faceting */
|
|
2227
1943
|
export type UpdateCollectionRequestFieldsList = Array<Field>;
|
|
2228
|
-
export declare const UpdateCollectionRequestFieldsList: S.Schema<UpdateCollectionRequestFieldsList>;
|
|
2229
1944
|
/** List of synonym set names to associate with this collection */
|
|
2230
1945
|
export type UpdateCollectionRequestSynonymSetsList = Array<string>;
|
|
2231
|
-
export declare const UpdateCollectionRequestSynonymSetsList: S.Schema<UpdateCollectionRequestSynonymSetsList>;
|
|
2232
1946
|
export interface UpdateCollectionRequest {
|
|
2233
1947
|
/** The name of the collection to update */
|
|
2234
1948
|
collectionName: string;
|
|
@@ -2239,13 +1953,10 @@ export interface UpdateCollectionRequest {
|
|
|
2239
1953
|
/** Optional details about the collection, e.g., when it was created, who created it etc. */
|
|
2240
1954
|
metadata?: unknown;
|
|
2241
1955
|
}
|
|
2242
|
-
export declare const UpdateCollectionRequest: S.Schema<UpdateCollectionRequest>;
|
|
2243
1956
|
/** A list of fields for querying, filtering and faceting */
|
|
2244
1957
|
export type CollectionUpdateSchemaFieldsList = Array<Field>;
|
|
2245
|
-
export declare const CollectionUpdateSchemaFieldsList: S.Schema<CollectionUpdateSchemaFieldsList>;
|
|
2246
1958
|
/** List of synonym set names to associate with this collection */
|
|
2247
1959
|
export type CollectionUpdateSchemaSynonymSetsList = Array<string>;
|
|
2248
|
-
export declare const CollectionUpdateSchemaSynonymSetsList: S.Schema<CollectionUpdateSchemaSynonymSetsList>;
|
|
2249
1960
|
export interface CollectionUpdateSchema {
|
|
2250
1961
|
/** A list of fields for querying, filtering and faceting */
|
|
2251
1962
|
fields?: CollectionUpdateSchemaFieldsList;
|
|
@@ -2254,7 +1965,6 @@ export interface CollectionUpdateSchema {
|
|
|
2254
1965
|
/** Optional details about the collection, e.g., when it was created, who created it etc. */
|
|
2255
1966
|
metadata?: unknown;
|
|
2256
1967
|
}
|
|
2257
|
-
export declare const CollectionUpdateSchema: S.Schema<CollectionUpdateSchema>;
|
|
2258
1968
|
export interface UpdateConversationModelRequest {
|
|
2259
1969
|
/** The id of the conversation model to update */
|
|
2260
1970
|
modelId: string;
|
|
@@ -2277,7 +1987,6 @@ export interface UpdateConversationModelRequest {
|
|
|
2277
1987
|
/** URL of vLLM service */
|
|
2278
1988
|
vllm_url?: string;
|
|
2279
1989
|
}
|
|
2280
|
-
export declare const UpdateConversationModelRequest: S.Schema<UpdateConversationModelRequest>;
|
|
2281
1990
|
export interface UpdateConversationModelResponse {
|
|
2282
1991
|
/** An explicit id for the model, otherwise the API will return a response with an auto-generated conversation model id. */
|
|
2283
1992
|
id: string;
|
|
@@ -2298,7 +2007,6 @@ export interface UpdateConversationModelResponse {
|
|
|
2298
2007
|
/** URL of vLLM service */
|
|
2299
2008
|
vllm_url?: string;
|
|
2300
2009
|
}
|
|
2301
|
-
export declare const UpdateConversationModelResponse: S.Schema<UpdateConversationModelResponse>;
|
|
2302
2010
|
export interface UpdateDocumentRequest {
|
|
2303
2011
|
/** The name of the collection to search for the document under */
|
|
2304
2012
|
collectionName: string;
|
|
@@ -2307,27 +2015,21 @@ export interface UpdateDocumentRequest {
|
|
|
2307
2015
|
/** Dealing with Dirty Data */
|
|
2308
2016
|
dirty_values?: DirtyValues | (string & {});
|
|
2309
2017
|
}
|
|
2310
|
-
export declare const UpdateDocumentRequest: S.Schema<UpdateDocumentRequest>;
|
|
2311
2018
|
export type UpdateDocumentResponse = unknown;
|
|
2312
|
-
export declare const UpdateDocumentResponse: S.Schema<UpdateDocumentResponse>;
|
|
2313
2019
|
export interface UpdateDocumentsRequestUpdateDocumentsParameters {
|
|
2314
2020
|
filter_by?: string;
|
|
2315
2021
|
}
|
|
2316
|
-
export declare const UpdateDocumentsRequestUpdateDocumentsParameters: S.Schema<UpdateDocumentsRequestUpdateDocumentsParameters>;
|
|
2317
2022
|
export interface UpdateDocumentsRequest {
|
|
2318
2023
|
/** The name of the collection to update documents in */
|
|
2319
2024
|
collectionName: string;
|
|
2320
2025
|
updateDocumentsParameters?: UpdateDocumentsRequestUpdateDocumentsParameters;
|
|
2321
2026
|
}
|
|
2322
|
-
export declare const UpdateDocumentsRequest: S.Schema<UpdateDocumentsRequest>;
|
|
2323
2027
|
export interface UpdateDocumentsResponse {
|
|
2324
2028
|
/** The number of documents that have been updated */
|
|
2325
2029
|
num_updated: number;
|
|
2326
2030
|
}
|
|
2327
|
-
export declare const UpdateDocumentsResponse: S.Schema<UpdateDocumentsResponse>;
|
|
2328
2031
|
/** Stop sequences for the NL model (Google-specific) */
|
|
2329
2032
|
export type UpdateNLSearchModelRequestStopSequencesList = Array<string>;
|
|
2330
|
-
export declare const UpdateNLSearchModelRequestStopSequencesList: S.Schema<UpdateNLSearchModelRequestStopSequencesList>;
|
|
2331
2033
|
export interface UpdateNLSearchModelRequest {
|
|
2332
2034
|
/** The ID of the NL search model to update */
|
|
2333
2035
|
modelId: string;
|
|
@@ -2370,10 +2072,8 @@ export interface UpdateNLSearchModelRequest {
|
|
|
2370
2072
|
/** Optional ID for the NL search model */
|
|
2371
2073
|
id?: string;
|
|
2372
2074
|
}
|
|
2373
|
-
export declare const UpdateNLSearchModelRequest: S.Schema<UpdateNLSearchModelRequest>;
|
|
2374
2075
|
/** Stop sequences for the NL model (Google-specific) */
|
|
2375
2076
|
export type UpdateNLSearchModelResponseStopSequencesList = Array<string>;
|
|
2376
|
-
export declare const UpdateNLSearchModelResponseStopSequencesList: S.Schema<UpdateNLSearchModelResponseStopSequencesList>;
|
|
2377
2077
|
export interface UpdateNLSearchModelResponse {
|
|
2378
2078
|
/** Name of the NL model to use */
|
|
2379
2079
|
model_name?: string;
|
|
@@ -2414,16 +2114,13 @@ export interface UpdateNLSearchModelResponse {
|
|
|
2414
2114
|
/** Optional ID for the NL search model */
|
|
2415
2115
|
id: string;
|
|
2416
2116
|
}
|
|
2417
|
-
export declare const UpdateNLSearchModelResponse: S.Schema<UpdateNLSearchModelResponse>;
|
|
2418
2117
|
export interface UpsertAliasRequest {
|
|
2419
2118
|
/** The name of the alias to create/update */
|
|
2420
2119
|
aliasName: string;
|
|
2421
2120
|
/** Name of the collection you wish to map the alias to */
|
|
2422
2121
|
collection_name: string;
|
|
2423
2122
|
}
|
|
2424
|
-
export declare const UpsertAliasRequest: S.Schema<UpsertAliasRequest>;
|
|
2425
2123
|
export type UpsertAnalyticsRuleRequestParamsMetaFieldsList = Array<string>;
|
|
2426
|
-
export declare const UpsertAnalyticsRuleRequestParamsMetaFieldsList: S.Schema<UpsertAnalyticsRuleRequestParamsMetaFieldsList>;
|
|
2427
2124
|
export interface UpsertAnalyticsRuleRequestParams {
|
|
2428
2125
|
destination_collection?: string;
|
|
2429
2126
|
limit?: number;
|
|
@@ -2433,7 +2130,6 @@ export interface UpsertAnalyticsRuleRequestParams {
|
|
|
2433
2130
|
counter_field?: string;
|
|
2434
2131
|
weight?: number;
|
|
2435
2132
|
}
|
|
2436
|
-
export declare const UpsertAnalyticsRuleRequestParams: S.Schema<UpsertAnalyticsRuleRequestParams>;
|
|
2437
2133
|
export interface UpsertAnalyticsRuleRequest {
|
|
2438
2134
|
/** The name of the analytics rule to upsert */
|
|
2439
2135
|
ruleName: string;
|
|
@@ -2441,9 +2137,7 @@ export interface UpsertAnalyticsRuleRequest {
|
|
|
2441
2137
|
rule_tag?: string;
|
|
2442
2138
|
params?: UpsertAnalyticsRuleRequestParams;
|
|
2443
2139
|
}
|
|
2444
|
-
export declare const UpsertAnalyticsRuleRequest: S.Schema<UpsertAnalyticsRuleRequest>;
|
|
2445
2140
|
export type UpsertAnalyticsRuleResponseParamsMetaFieldsList = Array<string>;
|
|
2446
|
-
export declare const UpsertAnalyticsRuleResponseParamsMetaFieldsList: S.Schema<UpsertAnalyticsRuleResponseParamsMetaFieldsList>;
|
|
2447
2141
|
export interface UpsertAnalyticsRuleResponseParams {
|
|
2448
2142
|
destination_collection?: string;
|
|
2449
2143
|
limit?: number;
|
|
@@ -2453,7 +2147,6 @@ export interface UpsertAnalyticsRuleResponseParams {
|
|
|
2453
2147
|
counter_field?: string;
|
|
2454
2148
|
weight?: number;
|
|
2455
2149
|
}
|
|
2456
|
-
export declare const UpsertAnalyticsRuleResponseParams: S.Schema<UpsertAnalyticsRuleResponseParams>;
|
|
2457
2150
|
export interface UpsertAnalyticsRuleResponse {
|
|
2458
2151
|
name: string;
|
|
2459
2152
|
type: AnalyticsRuleType;
|
|
@@ -2462,10 +2155,8 @@ export interface UpsertAnalyticsRuleResponse {
|
|
|
2462
2155
|
rule_tag?: string;
|
|
2463
2156
|
params?: UpsertAnalyticsRuleResponseParams;
|
|
2464
2157
|
}
|
|
2465
|
-
export declare const UpsertAnalyticsRuleResponse: S.Schema<UpsertAnalyticsRuleResponse>;
|
|
2466
2158
|
/** Array of curation items */
|
|
2467
2159
|
export type UpsertCurationSetRequestItemsList = Array<CurationItemCreateSchema>;
|
|
2468
|
-
export declare const UpsertCurationSetRequestItemsList: S.Schema<UpsertCurationSetRequestItemsList>;
|
|
2469
2160
|
export interface UpsertCurationSetRequest {
|
|
2470
2161
|
/** The name of the curation set to create/update */
|
|
2471
2162
|
curationSetName: string;
|
|
@@ -2474,10 +2165,8 @@ export interface UpsertCurationSetRequest {
|
|
|
2474
2165
|
/** Optional description for the curation set */
|
|
2475
2166
|
description?: string;
|
|
2476
2167
|
}
|
|
2477
|
-
export declare const UpsertCurationSetRequest: S.Schema<UpsertCurationSetRequest>;
|
|
2478
2168
|
/** Array of curation items */
|
|
2479
2169
|
export type UpsertCurationSetResponseItemsList = Array<CurationItemCreateSchema>;
|
|
2480
|
-
export declare const UpsertCurationSetResponseItemsList: S.Schema<UpsertCurationSetResponseItemsList>;
|
|
2481
2170
|
export interface UpsertCurationSetResponse {
|
|
2482
2171
|
/** Array of curation items */
|
|
2483
2172
|
items: UpsertCurationSetResponseItemsList;
|
|
@@ -2485,13 +2174,10 @@ export interface UpsertCurationSetResponse {
|
|
|
2485
2174
|
description?: string;
|
|
2486
2175
|
name: string;
|
|
2487
2176
|
}
|
|
2488
|
-
export declare const UpsertCurationSetResponse: S.Schema<UpsertCurationSetResponse>;
|
|
2489
2177
|
/** List of document `id`s that should be included in the search results with their corresponding `position`s. */
|
|
2490
2178
|
export type UpsertCurationSetItemRequestIncludesList = Array<CurationInclude>;
|
|
2491
|
-
export declare const UpsertCurationSetItemRequestIncludesList: S.Schema<UpsertCurationSetItemRequestIncludesList>;
|
|
2492
2179
|
/** List of document `id`s that should be excluded from the search results. */
|
|
2493
2180
|
export type UpsertCurationSetItemRequestExcludesList = Array<CurationExclude>;
|
|
2494
|
-
export declare const UpsertCurationSetItemRequestExcludesList: S.Schema<UpsertCurationSetItemRequestExcludesList>;
|
|
2495
2181
|
export interface UpsertCurationSetItemRequest {
|
|
2496
2182
|
/** The name of the curation set */
|
|
2497
2183
|
curationSetName: string;
|
|
@@ -2523,13 +2209,10 @@ export interface UpsertCurationSetItemRequest {
|
|
|
2523
2209
|
/** ID of the curation item */
|
|
2524
2210
|
id?: string;
|
|
2525
2211
|
}
|
|
2526
|
-
export declare const UpsertCurationSetItemRequest: S.Schema<UpsertCurationSetItemRequest>;
|
|
2527
2212
|
/** List of document `id`s that should be included in the search results with their corresponding `position`s. */
|
|
2528
2213
|
export type UpsertCurationSetItemResponseIncludesList = Array<CurationInclude>;
|
|
2529
|
-
export declare const UpsertCurationSetItemResponseIncludesList: S.Schema<UpsertCurationSetItemResponseIncludesList>;
|
|
2530
2214
|
/** List of document `id`s that should be excluded from the search results. */
|
|
2531
2215
|
export type UpsertCurationSetItemResponseExcludesList = Array<CurationExclude>;
|
|
2532
|
-
export declare const UpsertCurationSetItemResponseExcludesList: S.Schema<UpsertCurationSetItemResponseExcludesList>;
|
|
2533
2216
|
export interface UpsertCurationSetItemResponse {
|
|
2534
2217
|
rule: CurationRule;
|
|
2535
2218
|
/** List of document `id`s that should be included in the search results with their corresponding `position`s. */
|
|
@@ -2557,57 +2240,44 @@ export interface UpsertCurationSetItemResponse {
|
|
|
2557
2240
|
/** ID of the curation item */
|
|
2558
2241
|
id: string;
|
|
2559
2242
|
}
|
|
2560
|
-
export declare const UpsertCurationSetItemResponse: S.Schema<UpsertCurationSetItemResponse>;
|
|
2561
2243
|
export type UpsertPresetRequestValue = SearchParameters | MultiSearchSearchesParameter;
|
|
2562
|
-
export declare const UpsertPresetRequestValue: any;
|
|
2563
2244
|
export interface UpsertPresetRequest {
|
|
2564
2245
|
/** The name of the preset set to upsert. */
|
|
2565
2246
|
presetId: string;
|
|
2566
2247
|
value: UpsertPresetRequestValue;
|
|
2567
2248
|
}
|
|
2568
|
-
export declare const UpsertPresetRequest: S.Schema<UpsertPresetRequest>;
|
|
2569
2249
|
export type UpsertPresetResponseValue = SearchParameters | MultiSearchSearchesParameter;
|
|
2570
|
-
export declare const UpsertPresetResponseValue: any;
|
|
2571
2250
|
export interface UpsertPresetResponse {
|
|
2572
2251
|
value: UpsertPresetResponseValue;
|
|
2573
2252
|
name: string;
|
|
2574
2253
|
}
|
|
2575
|
-
export declare const UpsertPresetResponse: S.Schema<UpsertPresetResponse>;
|
|
2576
2254
|
export type UpsertStopwordsSetRequestStopwordsList = Array<string>;
|
|
2577
|
-
export declare const UpsertStopwordsSetRequestStopwordsList: S.Schema<UpsertStopwordsSetRequestStopwordsList>;
|
|
2578
2255
|
export interface UpsertStopwordsSetRequest {
|
|
2579
2256
|
/** The ID of the stopwords set to upsert. */
|
|
2580
2257
|
setId: string;
|
|
2581
2258
|
stopwords: UpsertStopwordsSetRequestStopwordsList;
|
|
2582
2259
|
locale?: string;
|
|
2583
2260
|
}
|
|
2584
|
-
export declare const UpsertStopwordsSetRequest: S.Schema<UpsertStopwordsSetRequest>;
|
|
2585
2261
|
/** Array of synonym items */
|
|
2586
2262
|
export type UpsertSynonymSetRequestItemsList = Array<SynonymItemSchema>;
|
|
2587
|
-
export declare const UpsertSynonymSetRequestItemsList: S.Schema<UpsertSynonymSetRequestItemsList>;
|
|
2588
2263
|
export interface UpsertSynonymSetRequest {
|
|
2589
2264
|
/** The name of the synonym set to create/update */
|
|
2590
2265
|
synonymSetName: string;
|
|
2591
2266
|
/** Array of synonym items */
|
|
2592
2267
|
items: UpsertSynonymSetRequestItemsList;
|
|
2593
2268
|
}
|
|
2594
|
-
export declare const UpsertSynonymSetRequest: S.Schema<UpsertSynonymSetRequest>;
|
|
2595
2269
|
/** Array of synonym items */
|
|
2596
2270
|
export type UpsertSynonymSetResponseItemsList = Array<SynonymItemSchema>;
|
|
2597
|
-
export declare const UpsertSynonymSetResponseItemsList: S.Schema<UpsertSynonymSetResponseItemsList>;
|
|
2598
2271
|
export interface UpsertSynonymSetResponse {
|
|
2599
2272
|
/** Array of synonym items */
|
|
2600
2273
|
items: UpsertSynonymSetResponseItemsList;
|
|
2601
2274
|
/** Name of the synonym set */
|
|
2602
2275
|
name: string;
|
|
2603
2276
|
}
|
|
2604
|
-
export declare const UpsertSynonymSetResponse: S.Schema<UpsertSynonymSetResponse>;
|
|
2605
2277
|
/** Array of words that should be considered as synonyms */
|
|
2606
2278
|
export type UpsertSynonymSetItemRequestSynonymsList = Array<string>;
|
|
2607
|
-
export declare const UpsertSynonymSetItemRequestSynonymsList: S.Schema<UpsertSynonymSetItemRequestSynonymsList>;
|
|
2608
2279
|
/** By default, special characters are dropped from synonyms. Use this attribute to specify which special characters should be indexed as is */
|
|
2609
2280
|
export type UpsertSynonymSetItemRequestSymbolsToIndexList = Array<string>;
|
|
2610
|
-
export declare const UpsertSynonymSetItemRequestSymbolsToIndexList: S.Schema<UpsertSynonymSetItemRequestSymbolsToIndexList>;
|
|
2611
2281
|
export interface UpsertSynonymSetItemRequest {
|
|
2612
2282
|
/** The name of the synonym set */
|
|
2613
2283
|
synonymSetName: string;
|
|
@@ -2622,13 +2292,10 @@ export interface UpsertSynonymSetItemRequest {
|
|
|
2622
2292
|
/** By default, special characters are dropped from synonyms. Use this attribute to specify which special characters should be indexed as is */
|
|
2623
2293
|
symbols_to_index?: UpsertSynonymSetItemRequestSymbolsToIndexList;
|
|
2624
2294
|
}
|
|
2625
|
-
export declare const UpsertSynonymSetItemRequest: S.Schema<UpsertSynonymSetItemRequest>;
|
|
2626
2295
|
/** Array of words that should be considered as synonyms */
|
|
2627
2296
|
export type UpsertSynonymSetItemResponseSynonymsList = Array<string>;
|
|
2628
|
-
export declare const UpsertSynonymSetItemResponseSynonymsList: S.Schema<UpsertSynonymSetItemResponseSynonymsList>;
|
|
2629
2297
|
/** By default, special characters are dropped from synonyms. Use this attribute to specify which special characters should be indexed as is */
|
|
2630
2298
|
export type UpsertSynonymSetItemResponseSymbolsToIndexList = Array<string>;
|
|
2631
|
-
export declare const UpsertSynonymSetItemResponseSymbolsToIndexList: S.Schema<UpsertSynonymSetItemResponseSymbolsToIndexList>;
|
|
2632
2299
|
export interface UpsertSynonymSetItemResponse {
|
|
2633
2300
|
/** Unique identifier for the synonym item */
|
|
2634
2301
|
id: string;
|
|
@@ -2641,10 +2308,8 @@ export interface UpsertSynonymSetItemResponse {
|
|
|
2641
2308
|
/** By default, special characters are dropped from synonyms. Use this attribute to specify which special characters should be indexed as is */
|
|
2642
2309
|
symbols_to_index?: UpsertSynonymSetItemResponseSymbolsToIndexList;
|
|
2643
2310
|
}
|
|
2644
|
-
export declare const UpsertSynonymSetItemResponse: S.Schema<UpsertSynonymSetItemResponse>;
|
|
2645
2311
|
export interface VoteRequest {
|
|
2646
2312
|
}
|
|
2647
|
-
export declare const VoteRequest: S.Schema<VoteRequest>;
|
|
2648
2313
|
export type ClearCacheError = TypesenseOpError;
|
|
2649
2314
|
/** Clear the cached responses of search requests in the LRU cache. Clear the cached responses of search requests that are sent with `use_cache` parameter in the LRU cache. */
|
|
2650
2315
|
export declare const clearCache: API.OperationMethod<ClearCacheRequest, SuccessStatus, ClearCacheError, TypesenseOpContext>;
|