diff --git a/src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.ts b/src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.ts index 391c750e..c965c35a 100644 --- a/src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.ts +++ b/src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.ts @@ -5,15 +5,15 @@ import {ModelDetailsSubModels} from './ModelDetailsSubModels.js'; export interface ModelDetails { possibleRecommendations?: number; totalQueries?: number; - recommendationsPerLanguage?: Map; + recommendationsPerLanguage?: Record; userContextFields?: string[]; contentIDKeys?: string[]; - candidatesPerFilters?: Map; - contextCandidateExamples?: Map; - languages?: Map; - candidateExamples?: Map; - candidatesPerLanguages?: Map; - minClickCountByLang?: Map; + candidatesPerFilters?: Record; + contextCandidateExamples?: Record; + languages?: Record; + candidateExamples?: Record; + candidatesPerLanguages?: Record; + minClickCountByLang?: Record; subModels?: {[key: string]: ModelDetailsSubModels}; candidates?: number; modelDetailedBuildingStats?: ModelDetailsBuildingStats; diff --git a/src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.ts b/src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.ts index 4bb05196..d61b10b8 100644 --- a/src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.ts +++ b/src/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.ts @@ -3,6 +3,6 @@ export interface ModelDetailsLanguages { words?: number; stopwords?: number; topfacets?: string[]; - contextKeysToDocuments?: Map; - docPerFilters?: Map; + contextKeysToDocuments?: Record; + docPerFilters?: Record; }