Closed ohltyler closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 22.18%. Comparing base (
3eb94a5
) to head (4c109fe
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What's the difference between Existing / New
tabs? Can this be stateless?
What's the difference between
Existing / New
tabs? Can this be stateless?
Just what I have as a placeholder for now, with the idea that some components may allow using existing resources/data vs. creating new. Example being creating a new knn index or using an existing one, or creating a new model or using an existing one. This can easily be removed, in the current examples I have existing entirely disabled.
Description
This PR updates several interfaces and improves upon some of the base building blocks to support end-to-end creation of a workflow template for basic semantic search, with heavy UI guardrails. Specifically:
toWorkspaceFlow()
andtoTemplateFlows()
for a basic semantic search use case.toWorkspaceFlow()
is used to load a static set of draggable nodes/edges on the UI.toTemplateFlows()
is used to convert expected & validated field data (model ID, etc.) and populate a preset template configuration used for creating the actual workflow via create workflow API. Both of these will become more generic and flexible over time; this is to prove out an initial use caseIComponentField
schema to support more information for a particular field, including help text, links to external documentation, etc. UI components parse and render them accordinglyReactFlowProvider
to move one layer up soResizableWorkspace
can use useReactFlow() hook. This was previously downscoped too far in the previous PR.ui_metadata
field in the backend template to persist UI flow datauser_inputs
andprevious_node_inputs
provision
field increateWorkflow()
(currently not integrated into buttons yet)vh
tuning)Screenshot of updated component inputs with help text and external links. Also includes the
Existing
/New
tabs but scoped down to only allowNew
for now - this may change as scope for initial release is finalized.Demo video showing end-to-end creation of a (mostly hardcoded) template configuration, provisioning the template, and executing semantic search with the newly-created ingest pipeline and knn index.
demo-e2e.webm
Issues Resolved
Makes progress on #73
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.