@coveo/platform-client 40.10.0 → 40.11.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.
|
@@ -15,7 +15,7 @@ export interface CrawlingModuleStatus {
|
|
|
15
15
|
* Whether remote log requests are enabled or not.
|
|
16
16
|
* This enables the client to query logs directly from the platform.
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
logRequestsEnable: boolean;
|
|
19
19
|
/**
|
|
20
20
|
* Frequency at which the setup polls for updates.
|
|
21
21
|
*/
|
package/dist/types/resources/MachineLearning/ModelInformation/ModelInformationInterfaces.d.ts
CHANGED
|
@@ -194,9 +194,60 @@ export interface BuildingStatsSS {
|
|
|
194
194
|
headerCount: number;
|
|
195
195
|
meanSnippetLength: number;
|
|
196
196
|
}
|
|
197
|
+
/**
|
|
198
|
+
* Snippet details per document
|
|
199
|
+
*/
|
|
200
|
+
export interface SnippetsPerDocument {
|
|
201
|
+
min: number;
|
|
202
|
+
max: number;
|
|
203
|
+
mean: number;
|
|
204
|
+
median: number;
|
|
205
|
+
p95: number;
|
|
206
|
+
}
|
|
207
|
+
export interface StatsSmartSnippets {
|
|
208
|
+
/**
|
|
209
|
+
* Total number of valid documents
|
|
210
|
+
*/
|
|
211
|
+
documentCount: number;
|
|
212
|
+
/**
|
|
213
|
+
* Number of documents with duplicated ID
|
|
214
|
+
*/
|
|
215
|
+
documentWithDuplicatedIdCount: number;
|
|
216
|
+
/**
|
|
217
|
+
* Number of invalid HTML documents
|
|
218
|
+
*/
|
|
219
|
+
invalidHtmlDocumentCount: number;
|
|
220
|
+
/**
|
|
221
|
+
* Number of documents with snippets
|
|
222
|
+
*/
|
|
223
|
+
documentWithSnippetCount: number;
|
|
224
|
+
/**
|
|
225
|
+
* Number of documents without permanent ID
|
|
226
|
+
*/
|
|
227
|
+
documentWithoutIdCount: number;
|
|
228
|
+
/**
|
|
229
|
+
* Ratio of documents with at least 1 snippet / total valid documents
|
|
230
|
+
*/
|
|
231
|
+
documentWithSnippetRatio: number;
|
|
232
|
+
/**
|
|
233
|
+
* Number of available snippets
|
|
234
|
+
*/
|
|
235
|
+
snippetCount: number;
|
|
236
|
+
/**
|
|
237
|
+
* Snippets stats per document
|
|
238
|
+
*/
|
|
239
|
+
snippetsPerDocument: SnippetsPerDocument;
|
|
240
|
+
}
|
|
241
|
+
export interface PreparationStatsSS extends StatsSmartSnippets {
|
|
242
|
+
/**
|
|
243
|
+
* Additional statistic per source
|
|
244
|
+
*/
|
|
245
|
+
statsPerSource: Record<string, StatsSmartSnippets>;
|
|
246
|
+
}
|
|
197
247
|
export interface ModelInformationSS {
|
|
198
248
|
metaInfo: MetaInfoSS;
|
|
199
249
|
modelBuildingStats: BuildingStatsSS;
|
|
250
|
+
preparationStats: PreparationStatsSS;
|
|
200
251
|
}
|
|
201
252
|
export interface DatasetFieldDetails {
|
|
202
253
|
numSamples: number;
|