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

[Enhancement] Simplify the current user experience and APIs in Ml-Commons #1343

Closed
Zhangxunmt opened this issue Sep 15, 2023 · 6 comments
Closed
Assignees
Labels
enhancement New feature or request feature v2.14.0

Comments

@Zhangxunmt
Copy link
Collaborator

Zhangxunmt commented Sep 15, 2023

From customer feedbacks, building ML apps on top of Ml-Commons requires too many upfront setup or pre-requisite APIs calls that looks unnecessary or unwanted to them. Some improvement are done in #1147 and #1146 recently. However, there are still more to enhance to lower the bar for both internal and external customers to onboard Ml-Commons.

We need to propose a roadmap to simplify as much as possible to help customers, starting with the below pain points:

  1. Allow remote inference without registering models. Users just want to create connector and assume it in their applications to run remote "Predict". - this is achieved by flow framework
  2. Remove the obstacle that are brought in by model_groups. - this is resolved by default model_group
  3. Get ride of manually deploy/undeploy models that are required in the workflow. [Enhancement] Auto-deploy ML Model when predict #1148 - this is resolved in 2.14 release.

Feel free to add more thoughts and suggestions!

@Zhangxunmt Zhangxunmt added bug Something isn't working untriaged enhancement New feature or request and removed bug Something isn't working untriaged labels Sep 15, 2023
@Zhangxunmt Zhangxunmt self-assigned this Sep 15, 2023
@ylwu-amzn
Copy link
Collaborator

One more point: add blueprint id, so user can just input "cohere_embedding" , rather than copy the whole blue print

@owaiskazi19
Copy link
Member

This is the exact case we are working on. To simplify the setup for registering the model. Please take a look of opensearch-project/flow-framework#21 and opensearch-project/flow-framework#70. We are trying to automate creating a connector, model group then registering and deploying the remote model.

@jonfritz
Copy link

jonfritz commented Oct 9, 2023

@owaiskazi19 as part of the AI Flow project, are you also planning to simplify the APIs as well? Or, are you just creating a UI that interacts with the existing APIs? Thanks!

@owaiskazi19
Copy link
Member

@owaiskazi19 as part of the AI Flow project, are you also planning to simplify the APIs as well? Or, are you just creating a UI that interacts with the existing APIs? Thanks!

@jonfritz we are creating wrapper APIs which would simplify the provision of complex setups of OpenSearch. Details for the API can be found here.
AI Flow project will have a separate backend and not just frontend. User can use the APIs to create a template based on the use case and execute it.

@minalsha
Copy link

@Zhangxunmt please see #1343 (comment) by @owaiskazi19 to address the problems you highlighted in this issue.

@mingshl mingshl moved this from Backlog to In Progress in ml-commons projects Mar 12, 2024
@mingshl mingshl added the v2.13.0 Issues targeting release v2.13.0 label Mar 12, 2024
@jngz-es jngz-es added v2.14.0 and removed v2.13.0 Issues targeting release v2.13.0 labels Apr 2, 2024
@bbarani bbarani moved this to Features in Test roadmap format Apr 9, 2024
@Zhangxunmt Zhangxunmt moved this from In Progress to Done in ml-commons projects May 9, 2024
@Zhangxunmt
Copy link
Collaborator Author

Close as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature v2.14.0
Projects
Status: Planned work items
Development

No branches or pull requests

7 participants