opensearch-project / dashboards-flow-framework

A UI designer for constructing AI applications with OpenSearch
Apache License 2.0
6 stars 5 forks source link

Set up basic logic for parsing template -> UI flow and vice versa #131

Closed ohltyler closed 3 months ago

ohltyler commented 3 months ago

Description

This PR sets up the basic logic for taking in a preset template -> generating a UI flow, and taking a UI flow -> generating final backend template:

Note this is just the initial setup of the overall structure for doing full generic conversion. For the initial release of a set of static supported workflows, we will have partially hardcoded logic. Subsequent PRs will add more of these cases, like different processor nodes for handling different ML transforms on ingest. We can utilize these fns to minimize as much code duplication as possible.

Demo video:

screen-capture (27).webm

Issues Resolved

Makes progress on #73

Check List

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.