Skip to content

Commit a478ffd

Browse files
authoredMar 22, 2023
feat(neuralsearch): adding the semanticSearch settings to client-search (#1450)
* feat: adding the semanticSearch settings to client-search * feat: update comment
1 parent 6b0685c commit a478ffd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎packages/client-search/src/types/Settings.ts

+8
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,14 @@ export type Settings = {
310310
*/
311311
readonly mode?: 'neuralSearch' | 'keywordSearch';
312312

313+
/**
314+
* The settings relevant for configuration of the semantic search engine.
315+
* These settings are only used when the mode is set to 'neuralSearch'.
316+
*/
317+
readonly semanticSearch?: {
318+
readonly eventSources?: readonly string[];
319+
};
320+
313321
/**
314322
* Content defining how the search interface should be rendered.
315323
* This is set via the settings for a default value and can be overridden via rules

0 commit comments

Comments
 (0)
Please sign in to comment.