Skip to content

Commit

Permalink
feat(ml)!: update ExtraConfig interface (#798)
Browse files Browse the repository at this point in the history
* feat(ml): update ExtraConfig interface

add filterConditions and sources to IndexExport interface of a model's extraConfig

* feat(ml): change defintion of extraConfig interface

* feat(ml): change defintion of extraConfig interface

change defintion of extraConfig interface to be consistent with swagger, remove IndexExport
interface

BREAKING CHANGE: remove IndexExport interface
  • Loading branch information
JTangCoveo authored Feb 27, 2024
1 parent e07ca0c commit ce89008
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/resources/MachineLearning/MachineLearningInterfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,34 +23,12 @@ export interface CommerceSupport {
[key: string]: any;
}

export interface IndexExport {
query: string;
}

export interface DocumentContentSource {
objectType: string;
sourceLocations: string[];
}

export interface ExtraConfig {
recommendedContentTypeFilter?: string[];
eventConfigsTemplates?: string[];
PageViewFiltered?: PageViewFiltered;
automaticContextDiscovery?: boolean;
blacklist?: string[];
commerceSupport?: CommerceSupport;
filterFields?: string[];
recommendProductGroup?: boolean;
testConfiguration?: boolean;
userContextFields?: string[];
whitelist?: string[];
blackList?: string[];
queryReplacePatterns?: QueryReplacePatterns[];
recommendationStrategy?: string;
urlReplacePatterns?: UrlReplacePatterns[];
parsingMode?: string;
documentContentSources?: DocumentContentSource[];
indexExport?: IndexExport;
[key: string]: any;
}

Expand Down

0 comments on commit ce89008

Please sign in to comment.