@coveo/platform-client 72.1.0 → 72.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,16 @@ export interface ModelDetails {
18
18
  [key: string]: ModelDetailsSubModels;
19
19
  };
20
20
  candidates?: number;
21
+ /**
22
+ * The name of the encoder used to build the model. Indicates whether the model supports multilingual content.
23
+ * @example MULTILINGUAL_E5_SMALL
24
+ */
25
+ encoderName?: string;
26
+ /**
27
+ * The name of the strategy used to split documents into chunks when building the model.
28
+ * @example STRUCTURE_AWARE
29
+ */
30
+ chunkerStrategyName?: string;
21
31
  modelDetailedBuildingStats?: ModelDetailsBuildingStats;
22
32
  modelDetailedTrainingDetails: ModelDetailsTrainingDetails;
23
33
  modelDetailedPreparationDetails: ModelDetailsPreparationDetails;
@@ -34,6 +34,12 @@ export interface ModelDetailsBuildingStats {
34
34
  max?: number;
35
35
  mean?: number;
36
36
  };
37
+ /**
38
+ * The number of documents per content stream used when building the model.
39
+ * The values sum up to `documentsWithChunksCount`.
40
+ * @example {"markdown": 10, "content": 5}
41
+ */
42
+ documentStreams?: Record<string, number>;
37
43
  commerceEventCounts?: ModelDetailsCommerceEvents;
38
44
  modelDetailedStatsPerSource?: ModelDetailsStatsPerSource[];
39
45
  addToCart?: number;
@@ -12,4 +12,18 @@ export interface ModelDetailsStatsPerSource {
12
12
  max?: number;
13
13
  mean?: number;
14
14
  };
15
+ /**
16
+ * The minimum, maximum, and mean number of snippets per document of the source.
17
+ */
18
+ snippetsPerDocument?: {
19
+ min?: number;
20
+ max?: number;
21
+ mean?: number;
22
+ };
23
+ /**
24
+ * The number of documents of the source per content stream used when building the model.
25
+ * The values sum up to `documentsWithChunksCount` for the source.
26
+ * @example {"markdown": 10, "content": 0}
27
+ */
28
+ documentStreams?: Record<string, number>;
15
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/platform-client",
3
- "version": "72.1.0",
3
+ "version": "72.2.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {