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

Onboard ML inference processors for search request / search response (form) #180

Merged
merged 5 commits into from
Jun 15, 2024

Conversation

ohltyler
Copy link
Member

@ohltyler ohltyler commented Jun 14, 2024

Description

This PR onboards the ML inference processor in the context of search request processors and search response processors in the WorkflowInputs form. Specifically:

  • refactors interfaces and the ProcessorsList component to be generic and handle ingest / search request / search response processor contexts
  • adds processor configs under configs/ for the new processors
  • updates EnrichSearchRequest and EnrichSearchResponse components to take in ProcessorsList
  • updates and adds the utility fns to handle conversion of the search config processors to/from a config to form, and vice versa
  • updates the initial Semantic Search use case to have a default empty list of processors
  • title updates to the form - adds a generic ProcessorsTitle to be reused across the processor forms, and be consistent with UX mockups and to dynamically show the processors count

Onboarding to integrate within the reactflow workspace and the underlying workflow template will be done in a separate PR.

Demo video, showing the new processors, and consistent functionality regarding inputs/persisted state on save / etc.

screen-capture.44.webm

Issues Resolved

Makes progress on #23

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ohltyler ohltyler changed the title Onboard ML inference processors for search request / search response Onboard ML inference processors for search request / search response (form) Jun 14, 2024
@ohltyler ohltyler merged commit 38065b3 into opensearch-project:main Jun 15, 2024
6 checks passed
@ohltyler ohltyler deleted the more-reformatting branch June 15, 2024 00:05
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 15, 2024
…(form) (#180)

Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit 38065b3)
ohltyler added a commit that referenced this pull request Jun 15, 2024
…(form) (#180) (#181)

Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit 38065b3)

Co-authored-by: Tyler Ohlsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants