Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(neuralsearch): adding the semanticSearch settings to client-search #1450

Merged
merged 2 commits into from
Mar 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/client-search/src/types/Settings.ts
Original file line number Diff line number Diff line change
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