This PR finishes up what was started in #180. Specifically, it finishes the logic for dynamically generating the ReactFlow workspace nodes/edges, and the workflow template with a create_search_pipeline workflow step.
refactors and adds logic in workflow_to_template_utils to generate the create_search_pipeline step with any configured search request and search response processors. Also updates the create_index step to gracefully handle the cases of no ingest or search pipeline defined, which is allowed in the UI.
refactors and adds logic in the base utils to generate the dynamic list of nodes/edges in the search flow
Demo video showing the workspace flow (template configuration and testing different edge cases of search and ingest pipelines was verified manually - can't test as there is no final implementation of the ML processors on the search side, yet):
[x] 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.
Description
This PR finishes up what was started in #180. Specifically, it finishes the logic for dynamically generating the ReactFlow workspace nodes/edges, and the workflow template with a
create_search_pipeline
workflow step.workflow_to_template_utils
to generate thecreate_search_pipeline
step with any configured search request and search response processors. Also updates thecreate_index
step to gracefully handle the cases of no ingest or search pipeline defined, which is allowed in the UI.utils
to generate the dynamic list of nodes/edges in the search flowDemo video showing the workspace flow (template configuration and testing different edge cases of search and ingest pipelines was verified manually - can't test as there is no final implementation of the ML processors on the search side, yet):
screen-capture (45).webm
Issues Resolved
Makes progress on #23
Check List
--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.