@distilled.cloud/typesense 0.19.2 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/credentials.d.ts +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +2 -2
- package/lib/credentials.js.map +1 -1
- package/lib/operations/createAnalyticsEvent.d.ts +4 -4
- package/lib/operations/createCollection.d.ts +58 -58
- package/lib/operations/createConversationModel.d.ts +4 -4
- package/lib/operations/createKey.d.ts +4 -4
- package/lib/operations/createNLSearchModel.d.ts +13 -13
- package/lib/operations/deleteAlias.d.ts +1 -1
- package/lib/operations/deleteAnalyticsRule.d.ts +6 -6
- package/lib/operations/deleteCollection.d.ts +30 -30
- package/lib/operations/deleteSynonymSetItem.d.ts +1 -1
- package/lib/operations/getAlias.d.ts +1 -1
- package/lib/operations/getAliases.d.ts +1 -1
- package/lib/operations/getAnalyticsEvents.d.ts +6 -6
- package/lib/operations/getAnalyticsStatus.d.ts +5 -5
- package/lib/operations/getCollection.d.ts +30 -30
- package/lib/operations/getCollections.d.ts +30 -30
- package/lib/operations/getKey.d.ts +2 -2
- package/lib/operations/getKeys.d.ts +2 -2
- package/lib/operations/getSchemaChanges.d.ts +1 -1
- package/lib/operations/getStemmingDictionary.d.ts +1 -1
- package/lib/operations/indexDocument.d.ts +1 -1
- package/lib/operations/multiSearch.d.ts +105 -105
- package/lib/operations/retrieveAllPresets.d.ts +1 -1
- package/lib/operations/retrieveAnalyticsRule.d.ts +6 -6
- package/lib/operations/retrieveAnalyticsRules.d.ts +6 -6
- package/lib/operations/retrieveCurationSet.d.ts +17 -17
- package/lib/operations/retrieveCurationSetItem.d.ts +16 -16
- package/lib/operations/retrieveCurationSetItems.d.ts +16 -16
- package/lib/operations/retrieveCurationSets.d.ts +17 -17
- package/lib/operations/retrievePreset.d.ts +1 -1
- package/lib/operations/retrieveStopwordsSet.d.ts +1 -1
- package/lib/operations/retrieveStopwordsSets.d.ts +1 -1
- package/lib/operations/retrieveSynonymSet.d.ts +2 -2
- package/lib/operations/retrieveSynonymSetItem.d.ts +3 -3
- package/lib/operations/retrieveSynonymSetItems.d.ts +2 -2
- package/lib/operations/retrieveSynonymSets.d.ts +2 -2
- package/lib/operations/searchCollection.d.ts +45 -45
- package/lib/operations/updateCollection.d.ts +44 -44
- package/lib/operations/updateConversationModel.d.ts +5 -5
- package/lib/operations/updateDocument.d.ts +1 -1
- package/lib/operations/upsertAlias.d.ts +1 -1
- package/lib/operations/upsertAnalyticsRule.d.ts +11 -11
- package/lib/operations/upsertCurationSet.d.ts +34 -34
- package/lib/operations/upsertCurationSetItem.d.ts +31 -31
- package/lib/operations/upsertPreset.d.ts +1 -1
- package/lib/operations/upsertStopwordsSet.d.ts +2 -2
- package/lib/operations/upsertSynonymSet.d.ts +5 -5
- package/lib/operations/upsertSynonymSetItem.d.ts +5 -5
- package/package.json +3 -3
- package/src/credentials.ts +2 -2
|
@@ -40,28 +40,28 @@ export type RetrieveCurationSetItemsOutput = typeof RetrieveCurationSetItemsOutp
|
|
|
40
40
|
export declare const retrieveCurationSetItems: import("@distilled.cloud/core/client").OperationMethod<{
|
|
41
41
|
readonly curationSetName: string;
|
|
42
42
|
}, readonly {
|
|
43
|
-
readonly
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
readonly
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
readonly filter_curated_hits?: boolean | undefined;
|
|
50
|
-
readonly id: string;
|
|
43
|
+
readonly rule: {
|
|
44
|
+
readonly tags?: readonly string[] | undefined;
|
|
45
|
+
readonly query?: string | undefined;
|
|
46
|
+
readonly match?: "contains" | "exact" | undefined;
|
|
47
|
+
readonly filter_by?: string | undefined;
|
|
48
|
+
};
|
|
51
49
|
readonly includes?: readonly {
|
|
52
50
|
readonly id: string;
|
|
53
51
|
readonly position: number;
|
|
54
52
|
}[] | undefined;
|
|
55
|
-
readonly
|
|
53
|
+
readonly excludes?: readonly {
|
|
54
|
+
readonly id: string;
|
|
55
|
+
}[] | undefined;
|
|
56
|
+
readonly filter_by?: string | undefined;
|
|
56
57
|
readonly remove_matched_tokens?: boolean | undefined;
|
|
57
|
-
readonly
|
|
58
|
-
readonly rule: {
|
|
59
|
-
readonly filter_by?: string | undefined;
|
|
60
|
-
readonly match?: "contains" | "exact" | undefined;
|
|
61
|
-
readonly query?: string | undefined;
|
|
62
|
-
readonly tags?: readonly string[] | undefined;
|
|
63
|
-
};
|
|
58
|
+
readonly metadata?: unknown;
|
|
64
59
|
readonly sort_by?: string | undefined;
|
|
60
|
+
readonly replace_query?: string | undefined;
|
|
61
|
+
readonly filter_curated_hits?: boolean | undefined;
|
|
62
|
+
readonly effective_from_ts?: number | undefined;
|
|
63
|
+
readonly effective_to_ts?: number | undefined;
|
|
65
64
|
readonly stop_processing?: boolean | undefined;
|
|
65
|
+
readonly id: string;
|
|
66
66
|
}[], NotFound, import("~/credentials.ts").Credentials>;
|
|
67
67
|
//# sourceMappingURL=retrieveCurationSetItems.d.ts.map
|
|
@@ -37,32 +37,32 @@ export type RetrieveCurationSetsOutput = typeof RetrieveCurationSetsOutput.Type;
|
|
|
37
37
|
* Retrieve all curation sets
|
|
38
38
|
*/
|
|
39
39
|
export declare const retrieveCurationSets: import("@distilled.cloud/core/client").OperationMethod<{}, readonly {
|
|
40
|
-
readonly description?: string | undefined;
|
|
41
40
|
readonly items: readonly {
|
|
42
|
-
readonly
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
readonly
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
readonly filter_curated_hits?: boolean | undefined;
|
|
49
|
-
readonly id?: string | undefined;
|
|
41
|
+
readonly rule: {
|
|
42
|
+
readonly tags?: readonly string[] | undefined;
|
|
43
|
+
readonly query?: string | undefined;
|
|
44
|
+
readonly match?: "contains" | "exact" | undefined;
|
|
45
|
+
readonly filter_by?: string | undefined;
|
|
46
|
+
};
|
|
50
47
|
readonly includes?: readonly {
|
|
51
48
|
readonly id: string;
|
|
52
49
|
readonly position: number;
|
|
53
50
|
}[] | undefined;
|
|
54
|
-
readonly
|
|
51
|
+
readonly excludes?: readonly {
|
|
52
|
+
readonly id: string;
|
|
53
|
+
}[] | undefined;
|
|
54
|
+
readonly filter_by?: string | undefined;
|
|
55
55
|
readonly remove_matched_tokens?: boolean | undefined;
|
|
56
|
-
readonly
|
|
57
|
-
readonly rule: {
|
|
58
|
-
readonly filter_by?: string | undefined;
|
|
59
|
-
readonly match?: "contains" | "exact" | undefined;
|
|
60
|
-
readonly query?: string | undefined;
|
|
61
|
-
readonly tags?: readonly string[] | undefined;
|
|
62
|
-
};
|
|
56
|
+
readonly metadata?: unknown;
|
|
63
57
|
readonly sort_by?: string | undefined;
|
|
58
|
+
readonly replace_query?: string | undefined;
|
|
59
|
+
readonly filter_curated_hits?: boolean | undefined;
|
|
60
|
+
readonly effective_from_ts?: number | undefined;
|
|
61
|
+
readonly effective_to_ts?: number | undefined;
|
|
64
62
|
readonly stop_processing?: boolean | undefined;
|
|
63
|
+
readonly id?: string | undefined;
|
|
65
64
|
}[];
|
|
65
|
+
readonly description?: string | undefined;
|
|
66
66
|
readonly name: string;
|
|
67
67
|
}[], never, import("~/credentials.ts").Credentials>;
|
|
68
68
|
//# sourceMappingURL=retrieveCurationSets.d.ts.map
|
|
@@ -19,7 +19,7 @@ export type RetrievePresetOutput = typeof RetrievePresetOutput.Type;
|
|
|
19
19
|
export declare const retrievePreset: import("@distilled.cloud/core/client").OperationMethod<{
|
|
20
20
|
readonly presetId: string;
|
|
21
21
|
}, {
|
|
22
|
-
readonly name: string;
|
|
23
22
|
readonly value: unknown;
|
|
23
|
+
readonly name: string;
|
|
24
24
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
25
25
|
//# sourceMappingURL=retrievePreset.d.ts.map
|
|
@@ -24,8 +24,8 @@ export declare const retrieveStopwordsSet: import("@distilled.cloud/core/client"
|
|
|
24
24
|
}, {
|
|
25
25
|
readonly stopwords: {
|
|
26
26
|
readonly id: string;
|
|
27
|
-
readonly locale?: string | undefined;
|
|
28
27
|
readonly stopwords: readonly string[];
|
|
28
|
+
readonly locale?: string | undefined;
|
|
29
29
|
};
|
|
30
30
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
31
31
|
//# sourceMappingURL=retrieveStopwordsSet.d.ts.map
|
|
@@ -17,8 +17,8 @@ export type RetrieveStopwordsSetsOutput = typeof RetrieveStopwordsSetsOutput.Typ
|
|
|
17
17
|
export declare const retrieveStopwordsSets: import("@distilled.cloud/core/client").OperationMethod<{}, {
|
|
18
18
|
readonly stopwords: readonly {
|
|
19
19
|
readonly id: string;
|
|
20
|
-
readonly locale?: string | undefined;
|
|
21
20
|
readonly stopwords: readonly string[];
|
|
21
|
+
readonly locale?: string | undefined;
|
|
22
22
|
}[];
|
|
23
23
|
}, never, import("~/credentials.ts").Credentials>;
|
|
24
24
|
//# sourceMappingURL=retrieveStopwordsSets.d.ts.map
|
|
@@ -27,10 +27,10 @@ export declare const retrieveSynonymSet: import("@distilled.cloud/core/client").
|
|
|
27
27
|
}, {
|
|
28
28
|
readonly items: readonly {
|
|
29
29
|
readonly id: string;
|
|
30
|
-
readonly
|
|
30
|
+
readonly synonyms: readonly string[];
|
|
31
31
|
readonly root?: string | undefined;
|
|
32
|
+
readonly locale?: string | undefined;
|
|
32
33
|
readonly symbols_to_index?: readonly string[] | undefined;
|
|
33
|
-
readonly synonyms: readonly string[];
|
|
34
34
|
}[];
|
|
35
35
|
readonly name: string;
|
|
36
36
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
@@ -22,13 +22,13 @@ export type RetrieveSynonymSetItemOutput = typeof RetrieveSynonymSetItemOutput.T
|
|
|
22
22
|
* @param itemId - The id of the synonym item to retrieve
|
|
23
23
|
*/
|
|
24
24
|
export declare const retrieveSynonymSetItem: import("@distilled.cloud/core/client").OperationMethod<{
|
|
25
|
-
readonly itemId: string;
|
|
26
25
|
readonly synonymSetName: string;
|
|
26
|
+
readonly itemId: string;
|
|
27
27
|
}, {
|
|
28
28
|
readonly id: string;
|
|
29
|
-
readonly
|
|
29
|
+
readonly synonyms: readonly string[];
|
|
30
30
|
readonly root?: string | undefined;
|
|
31
|
+
readonly locale?: string | undefined;
|
|
31
32
|
readonly symbols_to_index?: readonly string[] | undefined;
|
|
32
|
-
readonly synonyms: readonly string[];
|
|
33
33
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
34
34
|
//# sourceMappingURL=retrieveSynonymSetItem.d.ts.map
|
|
@@ -23,9 +23,9 @@ export declare const retrieveSynonymSetItems: import("@distilled.cloud/core/clie
|
|
|
23
23
|
readonly synonymSetName: string;
|
|
24
24
|
}, readonly {
|
|
25
25
|
readonly id: string;
|
|
26
|
-
readonly
|
|
26
|
+
readonly synonyms: readonly string[];
|
|
27
27
|
readonly root?: string | undefined;
|
|
28
|
+
readonly locale?: string | undefined;
|
|
28
29
|
readonly symbols_to_index?: readonly string[] | undefined;
|
|
29
|
-
readonly synonyms: readonly string[];
|
|
30
30
|
}[], NotFound, import("~/credentials.ts").Credentials>;
|
|
31
31
|
//# sourceMappingURL=retrieveSynonymSetItems.d.ts.map
|
|
@@ -20,10 +20,10 @@ export type RetrieveSynonymSetsOutput = typeof RetrieveSynonymSetsOutput.Type;
|
|
|
20
20
|
export declare const retrieveSynonymSets: import("@distilled.cloud/core/client").OperationMethod<{}, readonly {
|
|
21
21
|
readonly items: readonly {
|
|
22
22
|
readonly id: string;
|
|
23
|
-
readonly
|
|
23
|
+
readonly synonyms: readonly string[];
|
|
24
24
|
readonly root?: string | undefined;
|
|
25
|
+
readonly locale?: string | undefined;
|
|
25
26
|
readonly symbols_to_index?: readonly string[] | undefined;
|
|
26
|
-
readonly synonyms: readonly string[];
|
|
27
27
|
}[];
|
|
28
28
|
readonly name: string;
|
|
29
29
|
}[], never, import("~/credentials.ts").Credentials>;
|
|
@@ -129,57 +129,48 @@ export declare const searchCollection: import("@distilled.cloud/core/client").Op
|
|
|
129
129
|
readonly collectionName: string;
|
|
130
130
|
readonly searchParameters: string;
|
|
131
131
|
}, {
|
|
132
|
-
readonly conversation?: {
|
|
133
|
-
readonly answer: string;
|
|
134
|
-
readonly conversation_history: readonly unknown[];
|
|
135
|
-
readonly conversation_id: string;
|
|
136
|
-
readonly query: string;
|
|
137
|
-
} | undefined;
|
|
138
132
|
readonly facet_counts?: readonly {
|
|
139
133
|
readonly counts?: readonly {
|
|
140
134
|
readonly count?: number | undefined;
|
|
141
135
|
readonly highlighted?: string | undefined;
|
|
142
|
-
readonly parent?: unknown;
|
|
143
136
|
readonly value?: string | undefined;
|
|
137
|
+
readonly parent?: unknown;
|
|
144
138
|
}[] | undefined;
|
|
145
139
|
readonly field_name?: string | undefined;
|
|
146
140
|
readonly sampled?: boolean | undefined;
|
|
147
141
|
readonly stats?: {
|
|
148
|
-
readonly avg?: number | undefined;
|
|
149
142
|
readonly max?: number | undefined;
|
|
150
143
|
readonly min?: number | undefined;
|
|
151
144
|
readonly sum?: number | undefined;
|
|
152
145
|
readonly total_values?: number | undefined;
|
|
146
|
+
readonly avg?: number | undefined;
|
|
153
147
|
} | undefined;
|
|
154
148
|
}[] | undefined;
|
|
155
149
|
readonly found?: number | undefined;
|
|
156
150
|
readonly found_docs?: number | undefined;
|
|
151
|
+
readonly search_time_ms?: number | undefined;
|
|
152
|
+
readonly out_of?: number | undefined;
|
|
153
|
+
readonly search_cutoff?: boolean | undefined;
|
|
154
|
+
readonly page?: number | undefined;
|
|
157
155
|
readonly grouped_hits?: readonly {
|
|
158
156
|
readonly found?: number | undefined;
|
|
159
157
|
readonly group_key: readonly unknown[];
|
|
160
158
|
readonly hits: readonly {
|
|
161
|
-
readonly document?: {
|
|
162
|
-
readonly [x: string]: unknown;
|
|
163
|
-
} | undefined;
|
|
164
|
-
readonly geo_distance_meters?: {
|
|
165
|
-
readonly [x: string]: number;
|
|
166
|
-
} | undefined;
|
|
167
|
-
readonly highlight?: {
|
|
168
|
-
readonly [x: string]: unknown;
|
|
169
|
-
} | undefined;
|
|
170
159
|
readonly highlights?: readonly {
|
|
171
160
|
readonly field?: string | undefined;
|
|
172
|
-
readonly indices?: readonly number[] | undefined;
|
|
173
|
-
readonly matched_tokens?: readonly unknown[] | undefined;
|
|
174
161
|
readonly snippet?: string | undefined;
|
|
175
162
|
readonly snippets?: readonly string[] | undefined;
|
|
176
163
|
readonly value?: string | undefined;
|
|
177
164
|
readonly values?: readonly string[] | undefined;
|
|
165
|
+
readonly indices?: readonly number[] | undefined;
|
|
166
|
+
readonly matched_tokens?: readonly unknown[] | undefined;
|
|
178
167
|
}[] | undefined;
|
|
179
|
-
readonly
|
|
180
|
-
readonly
|
|
168
|
+
readonly highlight?: {
|
|
169
|
+
readonly [x: string]: unknown;
|
|
170
|
+
} | undefined;
|
|
171
|
+
readonly document?: {
|
|
172
|
+
readonly [x: string]: unknown;
|
|
181
173
|
} | undefined;
|
|
182
|
-
readonly search_index?: number | undefined;
|
|
183
174
|
readonly text_match?: number | undefined;
|
|
184
175
|
readonly text_match_info?: {
|
|
185
176
|
readonly best_field_score?: string | undefined;
|
|
@@ -190,32 +181,32 @@ export declare const searchCollection: import("@distilled.cloud/core/client").Op
|
|
|
190
181
|
readonly tokens_matched?: number | undefined;
|
|
191
182
|
readonly typo_prefix_score?: number | undefined;
|
|
192
183
|
} | undefined;
|
|
184
|
+
readonly geo_distance_meters?: {
|
|
185
|
+
readonly [x: string]: number;
|
|
186
|
+
} | undefined;
|
|
193
187
|
readonly vector_distance?: number | undefined;
|
|
188
|
+
readonly hybrid_search_info?: {
|
|
189
|
+
readonly rank_fusion_score?: number | undefined;
|
|
190
|
+
} | undefined;
|
|
191
|
+
readonly search_index?: number | undefined;
|
|
194
192
|
}[];
|
|
195
193
|
}[] | undefined;
|
|
196
194
|
readonly hits?: readonly {
|
|
197
|
-
readonly document?: {
|
|
198
|
-
readonly [x: string]: unknown;
|
|
199
|
-
} | undefined;
|
|
200
|
-
readonly geo_distance_meters?: {
|
|
201
|
-
readonly [x: string]: number;
|
|
202
|
-
} | undefined;
|
|
203
|
-
readonly highlight?: {
|
|
204
|
-
readonly [x: string]: unknown;
|
|
205
|
-
} | undefined;
|
|
206
195
|
readonly highlights?: readonly {
|
|
207
196
|
readonly field?: string | undefined;
|
|
208
|
-
readonly indices?: readonly number[] | undefined;
|
|
209
|
-
readonly matched_tokens?: readonly unknown[] | undefined;
|
|
210
197
|
readonly snippet?: string | undefined;
|
|
211
198
|
readonly snippets?: readonly string[] | undefined;
|
|
212
199
|
readonly value?: string | undefined;
|
|
213
200
|
readonly values?: readonly string[] | undefined;
|
|
201
|
+
readonly indices?: readonly number[] | undefined;
|
|
202
|
+
readonly matched_tokens?: readonly unknown[] | undefined;
|
|
214
203
|
}[] | undefined;
|
|
215
|
-
readonly
|
|
216
|
-
readonly
|
|
204
|
+
readonly highlight?: {
|
|
205
|
+
readonly [x: string]: unknown;
|
|
206
|
+
} | undefined;
|
|
207
|
+
readonly document?: {
|
|
208
|
+
readonly [x: string]: unknown;
|
|
217
209
|
} | undefined;
|
|
218
|
-
readonly search_index?: number | undefined;
|
|
219
210
|
readonly text_match?: number | undefined;
|
|
220
211
|
readonly text_match_info?: {
|
|
221
212
|
readonly best_field_score?: string | undefined;
|
|
@@ -226,32 +217,41 @@ export declare const searchCollection: import("@distilled.cloud/core/client").Op
|
|
|
226
217
|
readonly tokens_matched?: number | undefined;
|
|
227
218
|
readonly typo_prefix_score?: number | undefined;
|
|
228
219
|
} | undefined;
|
|
220
|
+
readonly geo_distance_meters?: {
|
|
221
|
+
readonly [x: string]: number;
|
|
222
|
+
} | undefined;
|
|
229
223
|
readonly vector_distance?: number | undefined;
|
|
224
|
+
readonly hybrid_search_info?: {
|
|
225
|
+
readonly rank_fusion_score?: number | undefined;
|
|
226
|
+
} | undefined;
|
|
227
|
+
readonly search_index?: number | undefined;
|
|
230
228
|
}[] | undefined;
|
|
231
|
-
readonly metadata?: {
|
|
232
|
-
readonly [x: string]: unknown;
|
|
233
|
-
} | undefined;
|
|
234
|
-
readonly out_of?: number | undefined;
|
|
235
|
-
readonly page?: number | undefined;
|
|
236
229
|
readonly request_params?: {
|
|
237
230
|
readonly collection_name: string;
|
|
238
231
|
readonly first_q?: string | undefined;
|
|
239
|
-
readonly per_page: number;
|
|
240
232
|
readonly q: string;
|
|
233
|
+
readonly per_page: number;
|
|
241
234
|
readonly voice_query?: {
|
|
242
235
|
readonly transcribed_query?: string | undefined;
|
|
243
236
|
} | undefined;
|
|
244
237
|
} | undefined;
|
|
245
|
-
readonly
|
|
246
|
-
|
|
238
|
+
readonly conversation?: {
|
|
239
|
+
readonly answer: string;
|
|
240
|
+
readonly conversation_history: readonly unknown[];
|
|
241
|
+
readonly conversation_id: string;
|
|
242
|
+
readonly query: string;
|
|
243
|
+
} | undefined;
|
|
247
244
|
readonly union_request_params?: readonly {
|
|
248
245
|
readonly collection_name: string;
|
|
249
246
|
readonly first_q?: string | undefined;
|
|
250
|
-
readonly per_page: number;
|
|
251
247
|
readonly q: string;
|
|
248
|
+
readonly per_page: number;
|
|
252
249
|
readonly voice_query?: {
|
|
253
250
|
readonly transcribed_query?: string | undefined;
|
|
254
251
|
} | undefined;
|
|
255
252
|
}[] | undefined;
|
|
253
|
+
readonly metadata?: {
|
|
254
|
+
readonly [x: string]: unknown;
|
|
255
|
+
} | undefined;
|
|
256
256
|
}, BadRequest | NotFound, import("~/credentials.ts").Credentials>;
|
|
257
257
|
//# sourceMappingURL=searchCollection.d.ts.map
|
|
@@ -93,81 +93,81 @@ export type UpdateCollectionOutput = typeof UpdateCollectionOutput.Type;
|
|
|
93
93
|
export declare const updateCollection: import("@distilled.cloud/core/client").OperationMethod<{
|
|
94
94
|
readonly collectionName: string;
|
|
95
95
|
readonly fields: readonly {
|
|
96
|
+
readonly name: string;
|
|
97
|
+
readonly type: string;
|
|
98
|
+
readonly optional?: boolean | undefined;
|
|
99
|
+
readonly facet?: boolean | undefined;
|
|
100
|
+
readonly index?: boolean | undefined;
|
|
101
|
+
readonly locale?: string | undefined;
|
|
102
|
+
readonly sort?: boolean | undefined;
|
|
103
|
+
readonly infix?: boolean | undefined;
|
|
104
|
+
readonly reference?: string | undefined;
|
|
96
105
|
readonly async_reference?: boolean | undefined;
|
|
106
|
+
readonly num_dim?: number | undefined;
|
|
97
107
|
readonly drop?: boolean | undefined;
|
|
108
|
+
readonly store?: boolean | undefined;
|
|
109
|
+
readonly vec_dist?: string | undefined;
|
|
110
|
+
readonly range_index?: boolean | undefined;
|
|
111
|
+
readonly stem?: boolean | undefined;
|
|
112
|
+
readonly stem_dictionary?: string | undefined;
|
|
113
|
+
readonly token_separators?: readonly string[] | undefined;
|
|
114
|
+
readonly symbols_to_index?: readonly string[] | undefined;
|
|
98
115
|
readonly embed?: {
|
|
99
116
|
readonly from: readonly string[];
|
|
100
117
|
readonly model_config: {
|
|
101
|
-
readonly
|
|
118
|
+
readonly model_name: string;
|
|
102
119
|
readonly api_key?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
120
|
+
readonly url?: string | undefined;
|
|
121
|
+
readonly access_token?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
122
|
+
readonly refresh_token?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
103
123
|
readonly client_id?: string | undefined;
|
|
104
124
|
readonly client_secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
105
|
-
readonly indexing_prefix?: string | undefined;
|
|
106
|
-
readonly model_name: string;
|
|
107
125
|
readonly project_id?: string | undefined;
|
|
126
|
+
readonly indexing_prefix?: string | undefined;
|
|
108
127
|
readonly query_prefix?: string | undefined;
|
|
109
|
-
readonly refresh_token?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
110
|
-
readonly url?: string | undefined;
|
|
111
128
|
};
|
|
112
129
|
} | undefined;
|
|
130
|
+
}[];
|
|
131
|
+
readonly synonym_sets?: readonly string[] | undefined;
|
|
132
|
+
readonly metadata?: unknown;
|
|
133
|
+
}, {
|
|
134
|
+
readonly fields: readonly {
|
|
135
|
+
readonly name: string;
|
|
136
|
+
readonly type: string;
|
|
137
|
+
readonly optional?: boolean | undefined;
|
|
113
138
|
readonly facet?: boolean | undefined;
|
|
114
139
|
readonly index?: boolean | undefined;
|
|
115
|
-
readonly infix?: boolean | undefined;
|
|
116
140
|
readonly locale?: string | undefined;
|
|
117
|
-
readonly
|
|
141
|
+
readonly sort?: boolean | undefined;
|
|
142
|
+
readonly infix?: boolean | undefined;
|
|
143
|
+
readonly reference?: string | undefined;
|
|
144
|
+
readonly async_reference?: boolean | undefined;
|
|
118
145
|
readonly num_dim?: number | undefined;
|
|
119
|
-
readonly
|
|
146
|
+
readonly drop?: boolean | undefined;
|
|
147
|
+
readonly store?: boolean | undefined;
|
|
148
|
+
readonly vec_dist?: string | undefined;
|
|
120
149
|
readonly range_index?: boolean | undefined;
|
|
121
|
-
readonly reference?: string | undefined;
|
|
122
|
-
readonly sort?: boolean | undefined;
|
|
123
150
|
readonly stem?: boolean | undefined;
|
|
124
151
|
readonly stem_dictionary?: string | undefined;
|
|
125
|
-
readonly store?: boolean | undefined;
|
|
126
|
-
readonly symbols_to_index?: readonly string[] | undefined;
|
|
127
152
|
readonly token_separators?: readonly string[] | undefined;
|
|
128
|
-
readonly
|
|
129
|
-
readonly vec_dist?: string | undefined;
|
|
130
|
-
}[];
|
|
131
|
-
readonly metadata?: unknown;
|
|
132
|
-
readonly synonym_sets?: readonly string[] | undefined;
|
|
133
|
-
}, {
|
|
134
|
-
readonly fields: readonly {
|
|
135
|
-
readonly async_reference?: boolean | undefined;
|
|
136
|
-
readonly drop?: boolean | undefined;
|
|
153
|
+
readonly symbols_to_index?: readonly string[] | undefined;
|
|
137
154
|
readonly embed?: {
|
|
138
155
|
readonly from: readonly string[];
|
|
139
156
|
readonly model_config: {
|
|
140
|
-
readonly
|
|
157
|
+
readonly model_name: string;
|
|
141
158
|
readonly api_key?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
159
|
+
readonly url?: string | undefined;
|
|
160
|
+
readonly access_token?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
161
|
+
readonly refresh_token?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
142
162
|
readonly client_id?: string | undefined;
|
|
143
163
|
readonly client_secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
144
|
-
readonly indexing_prefix?: string | undefined;
|
|
145
|
-
readonly model_name: string;
|
|
146
164
|
readonly project_id?: string | undefined;
|
|
165
|
+
readonly indexing_prefix?: string | undefined;
|
|
147
166
|
readonly query_prefix?: string | undefined;
|
|
148
|
-
readonly refresh_token?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
149
|
-
readonly url?: string | undefined;
|
|
150
167
|
};
|
|
151
168
|
} | undefined;
|
|
152
|
-
readonly facet?: boolean | undefined;
|
|
153
|
-
readonly index?: boolean | undefined;
|
|
154
|
-
readonly infix?: boolean | undefined;
|
|
155
|
-
readonly locale?: string | undefined;
|
|
156
|
-
readonly name: string;
|
|
157
|
-
readonly num_dim?: number | undefined;
|
|
158
|
-
readonly optional?: boolean | undefined;
|
|
159
|
-
readonly range_index?: boolean | undefined;
|
|
160
|
-
readonly reference?: string | undefined;
|
|
161
|
-
readonly sort?: boolean | undefined;
|
|
162
|
-
readonly stem?: boolean | undefined;
|
|
163
|
-
readonly stem_dictionary?: string | undefined;
|
|
164
|
-
readonly store?: boolean | undefined;
|
|
165
|
-
readonly symbols_to_index?: readonly string[] | undefined;
|
|
166
|
-
readonly token_separators?: readonly string[] | undefined;
|
|
167
|
-
readonly type: string;
|
|
168
|
-
readonly vec_dist?: string | undefined;
|
|
169
169
|
}[];
|
|
170
|
-
readonly metadata?: unknown;
|
|
171
170
|
readonly synonym_sets?: readonly string[] | undefined;
|
|
171
|
+
readonly metadata?: unknown;
|
|
172
172
|
}, BadRequest | NotFound, import("~/credentials.ts").Credentials>;
|
|
173
173
|
//# sourceMappingURL=updateCollection.d.ts.map
|
|
@@ -23,15 +23,15 @@ export type UpdateConversationModelOutput = typeof UpdateConversationModelOutput
|
|
|
23
23
|
* @param modelId - The id of the conversation model to update
|
|
24
24
|
*/
|
|
25
25
|
export declare const updateConversationModel: import("@distilled.cloud/core/client").OperationMethod<{
|
|
26
|
-
readonly account_id?: string | undefined;
|
|
27
|
-
readonly api_key?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
28
|
-
readonly history_collection?: string | undefined;
|
|
29
|
-
readonly id?: string | undefined;
|
|
30
|
-
readonly max_bytes?: number | undefined;
|
|
31
26
|
readonly modelId: string;
|
|
27
|
+
readonly id?: string | undefined;
|
|
32
28
|
readonly model_name?: string | undefined;
|
|
29
|
+
readonly api_key?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
30
|
+
readonly history_collection?: string | undefined;
|
|
31
|
+
readonly account_id?: string | undefined;
|
|
33
32
|
readonly system_prompt?: string | undefined;
|
|
34
33
|
readonly ttl?: number | undefined;
|
|
34
|
+
readonly max_bytes?: number | undefined;
|
|
35
35
|
readonly vllm_url?: string | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
readonly id: string;
|
|
@@ -19,7 +19,7 @@ export type UpdateDocumentOutput = typeof UpdateDocumentOutput.Type;
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const updateDocument: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
21
|
readonly collectionName: string;
|
|
22
|
-
readonly dirty_values?: string | undefined;
|
|
23
22
|
readonly documentId: string;
|
|
23
|
+
readonly dirty_values?: string | undefined;
|
|
24
24
|
}, unknown, NotFound, import("~/credentials.ts").Credentials>;
|
|
25
25
|
//# sourceMappingURL=updateDocument.d.ts.map
|
|
@@ -21,7 +21,7 @@ export declare const upsertAlias: import("@distilled.cloud/core/client").Operati
|
|
|
21
21
|
readonly aliasName: string;
|
|
22
22
|
readonly collection_name: string;
|
|
23
23
|
}, {
|
|
24
|
-
readonly collection_name: string;
|
|
25
24
|
readonly name: string;
|
|
25
|
+
readonly collection_name: string;
|
|
26
26
|
}, BadRequest | NotFound, import("~/credentials.ts").Credentials>;
|
|
27
27
|
//# sourceMappingURL=upsertAlias.d.ts.map
|
|
@@ -40,32 +40,32 @@ export type UpsertAnalyticsRuleOutput = typeof UpsertAnalyticsRuleOutput.Type;
|
|
|
40
40
|
* @param ruleName - The name of the analytics rule to upsert
|
|
41
41
|
*/
|
|
42
42
|
export declare const upsertAnalyticsRule: import("@distilled.cloud/core/client").OperationMethod<{
|
|
43
|
+
readonly ruleName: string;
|
|
43
44
|
readonly name?: string | undefined;
|
|
45
|
+
readonly rule_tag?: string | undefined;
|
|
44
46
|
readonly params?: {
|
|
45
|
-
readonly capture_search_requests?: boolean | undefined;
|
|
46
|
-
readonly counter_field?: string | undefined;
|
|
47
47
|
readonly destination_collection?: string | undefined;
|
|
48
|
-
readonly expand_query?: boolean | undefined;
|
|
49
48
|
readonly limit?: number | undefined;
|
|
49
|
+
readonly capture_search_requests?: boolean | undefined;
|
|
50
50
|
readonly meta_fields?: readonly string[] | undefined;
|
|
51
|
+
readonly expand_query?: boolean | undefined;
|
|
52
|
+
readonly counter_field?: string | undefined;
|
|
51
53
|
readonly weight?: number | undefined;
|
|
52
54
|
} | undefined;
|
|
53
|
-
readonly ruleName: string;
|
|
54
|
-
readonly rule_tag?: string | undefined;
|
|
55
55
|
}, {
|
|
56
|
+
readonly name: string;
|
|
57
|
+
readonly type: "counter" | "log" | "nohits_queries" | "popular_queries";
|
|
56
58
|
readonly collection: string;
|
|
57
59
|
readonly event_type: string;
|
|
58
|
-
readonly
|
|
60
|
+
readonly rule_tag?: string | undefined;
|
|
59
61
|
readonly params?: {
|
|
60
|
-
readonly capture_search_requests?: boolean | undefined;
|
|
61
|
-
readonly counter_field?: string | undefined;
|
|
62
62
|
readonly destination_collection?: string | undefined;
|
|
63
|
-
readonly expand_query?: boolean | undefined;
|
|
64
63
|
readonly limit?: number | undefined;
|
|
64
|
+
readonly capture_search_requests?: boolean | undefined;
|
|
65
65
|
readonly meta_fields?: readonly string[] | undefined;
|
|
66
|
+
readonly expand_query?: boolean | undefined;
|
|
67
|
+
readonly counter_field?: string | undefined;
|
|
66
68
|
readonly weight?: number | undefined;
|
|
67
69
|
} | undefined;
|
|
68
|
-
readonly rule_tag?: string | undefined;
|
|
69
|
-
readonly type: "counter" | "log" | "nohits_queries" | "popular_queries";
|
|
70
70
|
}, BadRequest, import("~/credentials.ts").Credentials>;
|
|
71
71
|
//# sourceMappingURL=upsertAnalyticsRule.d.ts.map
|