Skip to content

Commit

Permalink
feat(modeldetails): add modelDetails for CPR
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 committed Dec 4, 2024
1 parent b6e73c9 commit 5539ffb
Show file tree
Hide file tree
Showing 2 changed files with 13 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,8 @@ export interface ModelDetailsStatsPerSource {
invalidHtmlDocumentCount: number;
documentWithoutIdCount: number;
documentWithDuplicatedIdCount: number;
documentsWithChunksCount: number;
documentsWithChunksRatio: number;
chunkCount: number;
chunksPerDocument: number;
}

0 comments on commit 5539ffb

Please sign in to comment.