Skip to content

[Integrate-2475] Enable semantic search flow run for hana dataset#2670

Open
hengxian-jiang wants to merge 3 commits into
developfrom
hengxian-jiang/hana-setup-semantic-search
Open

[Integrate-2475] Enable semantic search flow run for hana dataset#2670
hengxian-jiang wants to merge 3 commits into
developfrom
hengxian-jiang/hana-setup-semantic-search

Conversation

@hengxian-jiang

Copy link
Copy Markdown
Collaborator

Merge Checklist

Please cross check this list if additions / modifications needs to be done on top of your core changes and tick them off. Reviewer can as well glance through and help the developer if something is missed out.

  • Automated Tests (Jasmine integration tests, Unit tests, and/or Performance tests)
  • Updated Manual tests / Demo Config
  • Documentation (Application guide, Admin guide, Markdown, Readme and/or Wiki)
  • Verified that local development environment is working with latest changes (integrated with latest develop branch)
  • following best practices in code review doc

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Enables triggering the semantic search (search embedding) flow run for additional dataset types (incl. HANA OMOP) from the Admin Portal, while adding guardrails in both UI and jobplugins to prevent starting a run when required dataset-derived parameters are missing.

Changes:

  • UI: Prevent semantic search setup from running when the dataset id is missing; disable the run button accordingly and add a localized error message.
  • UI: Allow the “setup-semantic-search” action for additional dataset types via ActionSelectorMap.
  • Jobplugins: Validate databaseCode and schemaName derived from the dataset before starting the Prefect flow run.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
plugins/ui/apps/portal/src/plugins/SystemAdmin/StudyOverview/SetupSemanticSearchDialog/SetupSemanticSearchDialog.tsx Adds dataset-id guard + disables submit while missing/while updating.
plugins/ui/apps/portal/src/contexts/app-context/states/translation-state.ts Adds default (en) translation for the new “run error” message.
plugins/ui/apps/portal/src/constant.ts Enables “setup-semantic-search” action for additional dataset types.
plugins/ui/apps/portal/public/translations/zh.json Adds zh translation for the new “run error” message.
plugins/ui/apps/portal/public/translations/de.json Adds de translation for the new “run error” message.
plugins/functions/jobplugins/src/utils/validateSearchEmbeddingParams.ts Introduces shared validation for required dataset-derived params.
plugins/functions/jobplugins/src/controllers/SearchEmbeddingController.ts Uses the new validation to reject invalid requests before launching the flow.

@hengxian-jiang hengxian-jiang linked an issue Jun 8, 2026 that may be closed by this pull request

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Comment thread plugins/ui/apps/portal/public/translations/de.json
Comment thread plugins/ui/apps/portal/public/translations/zh.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option of 'Setup semantic search' for hana dataset

4 participants