Skip to content

Commit

Permalink
feat(neuralsearch): adding the semanticSearch settings to client-sear…
Browse files Browse the repository at this point in the history
…ch (#1450)

* feat: adding the semanticSearch settings to client-search

* feat: update comment
  • Loading branch information
cdhawke committed Mar 22, 2023
1 parent 6b0685c commit a478ffd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/client-search/src/types/Settings.ts
Expand Up @@ -310,6 +310,14 @@ export type Settings = {
*/
readonly mode?: 'neuralSearch' | 'keywordSearch';

/**
* The settings relevant for configuration of the semantic search engine.
* These settings are only used when the mode is set to 'neuralSearch'.
*/
readonly semanticSearch?: {
readonly eventSources?: readonly string[];
};

/**
* Content defining how the search interface should be rendered.
* This is set via the settings for a default value and can be overridden via rules
Expand Down

0 comments on commit a478ffd

Please sign in to comment.