Skip to content

Commit

Permalink
feat(modeldetails): add modelDetails for CPR (#892)
Browse files Browse the repository at this point in the history
New properties with more specific names are now available for consumption by CPR models
  • Loading branch information
lprovost-coveo authored Dec 9, 2024
1 parent b6e73c9 commit 9942f57
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ export interface ModelDetailsBuildingStats {
invalidHtmlDocumentCount?: number;
documentWithoutIdCount?: number;
documentWithDuplicatedIdCount?: number;
documentsWithChunksCount?: number;
documentsWithChunksRatio?: number;
chunkCount?: number;
meanChunkLength?: number;
chunksPerDocument?: {
min?: number;
max?: number;
mean?: number;
};
commerceEventCounts?: ModelDetailsCommerceEvents;
modelDetailedStatsPerSource?: ModelDetailsStatsPerSource[];
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,12 @@ export interface ModelDetailsStatsPerSource {
invalidHtmlDocumentCount: number;
documentWithoutIdCount: number;
documentWithDuplicatedIdCount: number;
documentsWithChunksCount?: number;
documentsWithChunksRatio?: number;
chunkCount?: number;
chunksPerDocument?: {
min?: number;
max?: number;
mean?: number;
};
}

0 comments on commit 9942f57

Please sign in to comment.