opensearch-project / dashboards-flow-framework

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

Onboard hybrid search use case; add readonly search flows for all use cases #143

Closed ohltyler closed 3 months ago

ohltyler commented 3 months ago

Context

This PR adds many changes to the I/O and appearance on the drag-and-drop workspace. Note the final inputs/outputs/component types etc. are still not finalized. The purpose for adding placeholder components and updating inputs/outputs now is to iteratively improve on and make the current state of the plugin more functional and user-friendly, and to help start gathering initial feedback. Adding the existing use cases helps provide some immediate utility and testing of the corresponding backend Flow Framework plugin.

Description

This PR has 2 main changes: 1/ Onboarding a basic hybrid search use case, and 2/ providing visible, readonly flows on the DnD workspace for better overall e2e understanding from user perspective. More details:

And some minor tweaks to the reactflow workspace:

Demo video:

screen-capture (28).webm

Screenshots of search flows added for other use cases: Semantic search:

semantic

Neural sparse search:

neural-sparse

Issues Resolved

Makes progress on #23, #68

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.